verify method

bool verify(
  1. Uint8List data,
  2. SignaturePubkeyPair signature
)

Implementation

bool verify(Uint8List data, SignaturePubkeyPair signature) {
  bool success = _keypair.verify(data, signature.signature, signature.pubKey!.toRawBytes());
  return success;
}