A wrapper to present a cryptography api but use the pycryptodome module.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- from Crypto.Util.asn1 import DerSequence
-
- def decode_dss_signature(signature):
- obj = DerSequence().decode(der_encoded=signature)
-
- return tuple(obj)
|