Function sign_low_r

Source
pub fn sign_low_r(msg: impl Into<Message>, sk: &SecretKey) -> Signature
Expand description

Constructs a signature for msg using the secret key sk, RFC6979 nonce and “grinds” the nonce by passing extra entropy if necessary to produce a signature that is less than 71 bytes and compatible with the low r signature implementation of bitcoin core. In average, this function will perform two signing operations. Requires a signing capable context.