[][src]Function bitcoin::util::contracthash::tweak_secret_key

pub fn tweak_secret_key<C: Signing>(
    secp: &Secp256k1<C>,
    key: &PrivateKey,
    contract: &[u8]
) -> Result<PrivateKey, Error>
Deprecated

Tweak a secret key using some arbitrary data (calls compute_tweak internally)