コード例 #1
0
        public bool VerifyMessage(byte[] message, byte[] signature)
        {
            var key = PubKey.RecoverFromMessage(message, signature);

            return(key.Hash == Hash);
        }
コード例 #2
0
        public bool VerifyMessage(string message, string signature)
        {
            var key = PubKey.RecoverFromMessage(message, signature);

            return(key.Hash == Hash);
        }