[][src]Module ssb_crypto::ephemeral

Ephemeral (curve25519) keys and operations for deriving shared secrets via Elliptic-curve Diffie–Hellman

Structs

EphPublicKey

The public half of an ephemeral key pair.

EphSecretKey

The secret half of an ephemeral key pair; used for deriving a short-term shared secret for secure communication.

SharedSecret

A secret that's shared by two participants in a secure communication, derived from their respective key pairs.

Functions

derive_shared_secret
derive_shared_secret_pk
derive_shared_secret_sk
generate_ephemeral_keypair
generate_ephemeral_keypair_with_rng
sk_to_curve