verify method

Future<bool> verify(
  1. Uint8List signature,
  2. Uint8List message
)

Implementation

Future<bool> verify(Uint8List signature, Uint8List message) {
  return ed25519Verify(
    req: ED25519VerifyReq(
      message: message,
      sig: signature,
      pubKey: _publicKey.toRaw(),
    ),
  );
}