Encryption Observer

Glossary Encryption you use every day

Forward secrecy

With forward secrecy, each session uses a fresh temporary key that is thrown away afterwards. Even if an attacker later steals a server's main key, they cannot go back and decrypt old recorded sessions.

Think of it like this

A hotel that issues a new room key card for every stay. Stealing the hotel's master records next year does not open the door to last year's rooms.

Why it matters

A stolen key cannot be used to read conversations recorded before the theft.

Where you meet it

Built into TLS 1.3 and modern messaging apps.

Mondaykey, now deletedTuesdaykey, now deletedWednesdaykey, now deletedToday's keystolen by an attackercan read only today's messagesEarlier messages stay locked:their keys no longer exist
Each conversation uses a fresh key that is deleted afterwards. A key stolen today cannot unlock what was sent before.

More diagrams: How an end-to-end encrypted message travels

Go deeper history and technical detail

Forward secrecy comes from using temporary ('ephemeral') key exchange for each session. It protects against a stolen key. It does not protect against a quantum computer that can break the key exchange itself from a recording. That is why harvest-now-decrypt-later is still a worry, and why key exchange is moving to post-quantum methods first.

Read or watch next

Related terms

Cite this page Encryption Observer, “Forward secrecy”, encryption.observer/terms/forward-secrecy/, checked December 2026.