verifyPersonalMessage method
Verifies the signature of a personal message using the public key.
Optionally, hashMessage
can be set to false to skip hashing the message before verification.
Optionally, payloadLength
can be set to specify the payload length for the message.
Implementation
bool verifyPersonalMessage(List<int> messageDigest, List<int> signature,
{bool hashMessage = true, int? payloadLength}) {
final verifier = ETHVerifier.fromKeyBytes(toBytes());
return verifier.verifyPersonalMessage(messageDigest, signature,
hashMessage: hashMessage, payloadLength: payloadLength);
}