Exemple #1
0
            public bool VerifyUnblindedSignature(UnblindedSignature signature, byte[] data)
            {
                var hash = new uint256(Hashes.SHA256(data));

                return(SchnorrBlinding.VerifySignature(hash, signature, Key.PubKey));
            }
Exemple #2
0
 public bool VerifyUnblindedSignature(UnblindedSignature signature, uint256 dataHash)
 {
     return(SchnorrBlinding.VerifySignature(dataHash, signature, Key.PubKey));
 }