public bool VerifyUnblindedSignature(UnblindedSignature signature, byte[] data) { var hash = new uint256(Hashes.SHA256(data)); return(SchnorrBlinding.VerifySignature(hash, signature, Key.PubKey)); }
public bool VerifyUnblindedSignature(UnblindedSignature signature, uint256 dataHash) { return(SchnorrBlinding.VerifySignature(dataHash, signature, Key.PubKey)); }