]> Cypherpunks.ru repositories - pygost.git/blobdiff - README
Remove excess mode kwargs from gost3410* functions
[pygost.git] / README
diff --git a/README b/README
index b82dfaf6db795224a628d824dca4da10e94a66e1..eeb0ece3446c76c206f64d414ea62d5dce346ffd 100644 (file)
--- a/README
+++ b/README
@@ -49,9 +49,9 @@ Example 34.10-2012 keypair generation, signing and verifying:
     >>> data_for_signing = b"some data"
     >>> dgst = gost34112012256.new(data_for_signing).digest()
     >>> from pygost.gost3410 import sign
-    >>> signature = sign(curve, prv, dgst, mode=2012)
+    >>> signature = sign(curve, prv, dgst)
     >>> from pygost.gost3410 import verify
-    >>> verify(curve, pub, dgst, signature, mode=2012)
+    >>> verify(curve, pub, dgst, signature)
     True
 
 Other examples can be found in docstrings and unittests.