Function secp256k1::sign[][src]

pub fn sign(message: &Message, seckey: &SecretKey) -> (Signature, RecoveryId)

Sign a message using the secret key.