* MGM AEAD mode for 64 and 128 bit ciphers (Р 1323565.1.026–2019)
* CTR-ACPKM, OMAC-ACPKM-Master modes of operation (Р 1323565.1.017-2018)
* KExp15/KImp15 key export/import functions (Р 1323565.1.017-2018)
* MGM AEAD mode for 64 and 128 bit ciphers (Р 1323565.1.026–2019)
* CTR-ACPKM, OMAC-ACPKM-Master modes of operation (Р 1323565.1.017-2018)
* KExp15/KImp15 key export/import functions (Р 1323565.1.017-2018)
* PEP247-compatible hash/MAC functions
Known problems: low performance and non time-constant calculations.
* PEP247-compatible hash/MAC functions
Known problems: low performance and non time-constant calculations.
>>> from pygost.gost3410 import CURVES
>>> curve = CURVES["id-tc26-gost-3410-12-512-paramSetA"]
>>> from os import urandom
>>> from pygost.gost3410 import CURVES
>>> curve = CURVES["id-tc26-gost-3410-12-512-paramSetA"]
>>> from os import urandom
>>> from pygost.gost3410 import public_key
>>> pub = public_key(curve, prv)
>>> from pygost.gost3410 import pub_marshal
>>> from pygost.utils import hexenc
>>> print "Public key is:", hexenc(pub_marshal(pub))
>>> from pygost.gost3410 import public_key
>>> pub = public_key(curve, prv)
>>> from pygost.gost3410 import pub_marshal
>>> from pygost.utils import hexenc
>>> print "Public key is:", hexenc(pub_marshal(pub))
- >>> verify(curve, pub, dgst, signature, mode=2012)
+ >>> verify(curve, pub, dgst, signature)
mailing list. Announcements also go to this mailing list.
Development Git source code repository currently is located here:
mailing list. Announcements also go to this mailing list.
Development Git source code repository currently is located here: