verify method

bool verify(
  1. ECPublicKey publickey,
  2. Uint8List hash
)

Takes a 32-byte message hash and publickey and returns true if the signature is valid for the public key and hash.

Implementation

bool verify(ECPublicKey publickey, Uint8List hash)
  => secp256k1.schnorrVerify(_data, checkBytes(hash, 32), publickey.x);