Type Definition crypto::keys::x25519::SharedSecret[][src]

type SharedSecret = SharedSecret;
This is supported on crate feature x25519 only.

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.