ephemeral key

A key that is generated for a single session or exchange and then thrown away, rather than kept and reused.

In more detail

Ephemeral Diffie-Hellman or X25519 key pairs are created fresh for each TLS connection and deleted afterwards, so nothing is left for an attacker to steal later that could decrypt recorded traffic. This is what gives forward secrecy, while long-term keys are used only to sign the exchange and prove identity.

Example

Fresh ephemeral keys per session give forward secrecy

Related terms

Taught in

References