Skip to main content

x25519_diffie_hellman

Function x25519_diffie_hellman 

Source
pub fn x25519_diffie_hellman(
    secret: &X25519SecretKey,
    peer: &X25519PublicKey,
) -> X25519SharedSecret
Expand description

The shared secret of secret with peer (RFC 7748 clamping applied).