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