From a508496829705fd1bb0d41bf5533e6e719c6c528 Mon Sep 17 00:00:00 2001 From: alexvanin Date: Mon, 2 Mar 2020 13:38:38 +0300 Subject: [PATCH] doc: Fix RFC6979 signature size in readme file --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de6b3de..35f8d63 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,12 @@ err := crypto.Verify(&sk.PublicKey, signature, message) ### RFC6979 Sign / Verify bytes using PK / SK ``` -// Sign returns signature (slice of 65 bytes) of SK for passed message (slice of bytes), +// Sign returns signature (slice of 64 bytes) of SK for passed message (slice of bytes), // or error, if something went wrong: signature, err := crypto.SignRFC6979(sk, message) // Verify returns error message if PK is empty or -// passed wrong signature (slice of 65 bytes) for message (slice of bytes), +// passed wrong signature (slice of 64 bytes) for message (slice of bytes), err := crypto.VerifyRFC6979(&sk.PublicKey, signature, message) ```