Skip to main content

blinded_dh_raw

Function blinded_dh_raw 

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

Blinding-aware DH from raw bytes: (secret + blinding_scalar) * their_pubkey.

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