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