Struct libsecp256k1_rs::schnorr::Schnorr[][src]

pub struct Schnorr {}

Methods

impl Schnorr
[src]

Return the partial joint hashes for Schnorr signatures: P_A' = H(H(P_A||P_B) || P_A) and P_B' = H(H(P_A||P_B) || P_B)

Derive a joint public key from two independent public keys given by the formulae: P_A' = H(H(P_A||P_B) || P_A) * P_A , P_B' = H(H(P_A||P_B) || P_B) * P_B , joint_key = P_A' + P_B'

Auto Trait Implementations

impl Send for Schnorr

impl Sync for Schnorr