Type Definition crypto::keys::x25519::SharedSecret

source ·
pub type SharedSecret = SharedSecret;
Expand description

An X25519 Shared Secret - the result of a Diffie-Hellman key exchange.

Each party computes this from an (ephemeral) SecretKey and their counterparty’s PublicKey.