public bool VerifyMessage(byte[] message, byte[] signature) { var key = PubKey.RecoverFromMessage(message, signature); return(key.Hash == Hash); }
public bool VerifyMessage(string message, string signature) { var key = PubKey.RecoverFromMessage(message, signature); return(key.Hash == Hash); }