Skip to main content

ristretto_dh

Function ristretto_dh 

Source
pub fn ristretto_dh(
    secret: &RistrettoSecret,
    their_public: &RistrettoPublic,
) -> [u8; 32]
Expand description

Perform Ristretto255 Diffie-Hellman and return shared secret bytes.