Cross-platform Python CFFI bindings for libsecp256k1
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.
 
 
 

6 lines
166 B

from coincurve.ecdsa import cdata_to_der, der_to_cdata
from .samples import SIGNATURE
def test_der():
assert cdata_to_der(der_to_cdata(SIGNATURE)) == SIGNATURE