verify method
Implementation
bool verify(Uint8List message, Uint8List signature) {
if (_wots == null) {
throw StateError('Cannot verify without public key (address)');
}
final pk = _wots!.sublist(0, WOTS.WOTSSIGBYTES);
final pubSeed = _wots!.sublist(WOTS.WOTSSIGBYTES, WOTS.WOTSSIGBYTES + 32);
final rnd2 = _wots!.sublist(WOTS.WOTSSIGBYTES + 32, WOTS.WOTSSIGBYTES + 64);
final computedPublicKey =
WOTS.wotsPkFromSig(signature, message, pubSeed, rnd2);
return ByteUtils.areEqual(computedPublicKey, pk);
}