pub fn add_public_key_tweak<T: Signing>(
secp_ctx: &Secp256k1<T>,
base_point: &PublicKey,
tweak: &Hash,
) -> PublicKeyExpand description
Adds a tweak to a public key to derive a new public key.
May panic if tweak is not the output of a SHA-256 hash.