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

pub fn tweak_key<C: Verification>(
    secp: &Secp256k1<C>,
    key: PublicKey,
    contract: &[u8]
) -> PublicKey
Deprecated

Tweak a single key using some arbitrary data