Function add_public_key_tweak
pub fn add_public_key_tweak<T>(
secp_ctx: &Secp256k1<T>,
base_point: &PublicKey,
tweak: &Hash,
) -> PublicKeywhere
T: Signing,
Expand 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.