def Main():
    verify_with_ecdsa('unit test', ECPoint(b'0123456789ABCDEFGHIJKLMNOPQRSTUVW'), b'signature', NamedCurve.SECP256R1)
Exemple #2
0
def Main():
    verify_with_ecdsa('unit test', 10, b'signature', NamedCurve.SECP256K1)
def Main(message: Any, pubkey: ECPoint, signature: ByteString, curve: NamedCurve) -> bool:
    return verify_with_ecdsa(message, pubkey, signature, curve)