X-Git-Url: http://www.git.cypherpunks.ru/?p=pygost.git;a=blobdiff_plain;f=README;h=cc24e2fc38edcde18013477608361929b75669a3;hp=c10bcbdb1770a4b1b6caa6bb736d70d4dcf71f5a;hb=ff0ff768110b9bd69d030a1423bad515ea4c32bb;hpb=0fcc8bc147ada51d2a9a912f18ac362d54b7d49a diff --git a/README b/README index c10bcbd..cc24e2f 100644 --- a/README +++ b/README @@ -27,9 +27,8 @@ Known problems: low performance and non time-constant calculations. Example 34.10-2012 keypair generation, signing and verifying: - >>> from pygost.gost3410 import CURVE_PARAMS - >>> from pygost.gost3410 import GOST3410Curve - >>> curve = GOST3410Curve(*CURVE_PARAMS["id-tc26-gost-3410-12-512-paramSetA"]) + >>> from pygost.gost3410 import CURVES + >>> curve = CURVES["id-tc26-gost-3410-12-512-paramSetA"] >>> from os import urandom >>> prv_raw = urandom(32) >>> from pygost.gost3410 import prv_unmarshal