Type Definition SharedSecret
crypto::keys::x25519
type SharedSecret = SharedSecret;
x25519
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.
SecretKey
PublicKey