verify method

bool verify (Uint8List hash Uint8List signature)

Verifies whether the provided signature matches the hash using the keypair's publicKey

Implementation

bool verify(Uint8List hash, Uint8List signature) {
  return ecc.verify(hash, publicKey, signature);
}