[][src]Function schnorr::diffie_hellman

pub fn diffie_hellman(
    secret: &SecretKey,
    their_public: &PublicKey
) -> SharedSecret

Perform a Diffie-Hellman key agreement to produce a SharedSecret.