Skip to main content

pre_sign

Function pre_sign 

Source
pub fn pre_sign(
    signing_key: &SigningKey,
    message: &[u8],
    witness: &WitnessStatement,
) -> Result<(AdaptorPreSig, Scalar), String>
Expand description

Create an adaptor pre-signature. The signer signs with nonce k but publishes R’ = (k + y) * G.