diff --git a/src/ecdsa/keys.py b/src/ecdsa/keys.py index a6fc13ff..c4b3f06c 100644 --- a/src/ecdsa/keys.py +++ b/src/ecdsa/keys.py @@ -1184,7 +1184,7 @@ def sign_deterministic( extra_entropy=b"", ): """ - Create signature over data using the deterministic RFC6679 algorithm. + Create signature over data using the deterministic RFC6979 algorithm. The data will be hashed using the `hashfunc` function before signing. @@ -1235,7 +1235,7 @@ def sign_digest_deterministic( allow_truncate=False, ): """ - Create signature for digest using the deterministic RFC6679 algorithm. + Create signature for digest using the deterministic RFC6979 algorithm. `digest` should be the output of cryptographically secure hash function like SHA256 or SHA-3-256.