Skip to main content

ristretto_dh_raw

Function ristretto_dh_raw 

Source
pub fn ristretto_dh_raw(
    secret_bytes: &[u8; 32],
    their_pub_bytes: &[u8; 32],
) -> EnvelopeResult<[u8; 32]>
Expand description

Ristretto255 DH from raw scalar and pubkey bytes.

Used by BroadcastEncryptor where typed key objects aren’t available.