From 7a186a886f336fe8edc45e8bba33f3c24012bef2 Mon Sep 17 00:00:00 2001 From: tuxuser <462620+tuxuser@users.noreply.github.com> Date: Thu, 19 Nov 2020 23:41:37 +0100 Subject: [PATCH] Fix docstring in keys.py: RFC6697 should be RFC6979 --- src/ecdsa/keys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.