Skip to content
FoxcolabMessenger
Glossary

What is Forward secrecy?

Forward secrecy: Forward secrecy means that if an encryption key is stolen today, it cannot be used to decrypt messages that were sent in the past.

Also called: perfect forward secrecy, PFS

Updated

What is forward secrecy? It is a property of an encryption system that keeps past messages safe even if a key is stolen later. The trick is to use short-lived keys that are thrown away after use. An attacker who recorded your encrypted traffic last month and grabs a key today still cannot decrypt last month's messages, because the keys that protected them no longer exist anywhere.

A simple way to picture forward secrecy

Imagine Rohan and Zoya send each other letters in locked boxes, and they change the lock after every letter and burn the old key. A thief who steals today's key can open today's box at most. Every box sent before was locked with a key that has already been destroyed. Without forward secrecy, one long-lived key opens every box ever sent.

How it works

Systems with forward secrecy create temporary key pairs and use a method called Diffie-Hellman key exchange to agree a fresh shared secret for each session, or even for each message. The temporary private keys are deleted once used. TLS 1.3, the version of the protocol behind modern HTTPS, requires this kind of exchange, which is why a connection to your bank's website stays private even if the bank's server key leaks years later. The Signal Protocol goes further with its Double Ratchet, which moves message keys forward with every message.

Forward secrecy vs post-compromise security

Forward secrecy protects the past. Its partner property, post-compromise security, sometimes called future secrecy or self-healing, protects the future: if an attacker briefly steals a device's keys, the conversation becomes secret again once fresh key material is exchanged. The Double Ratchet provides both.

What forward secrecy cannot do

  • It protects intercepted, encrypted traffic, not messages already saved on a phone. Anyone who opens your unlocked phone can read your chat history.
  • It cannot undo a screenshot, a forward or a backup copy made while a message existed.
  • It does not hide metadata, such as who you talked to and when.

That is why forward secrecy works best alongside a phone screen lock, an app lock and, for sensitive chats, disappearing messages, which shorten how long readable copies exist at all.

Forward secrecy in Foxcolab

Foxcolab's personal one-to-one chats use the Signal Protocol, whose Double Ratchet provides forward secrecy: message keys are derived fresh and deleted after use, so a key taken later cannot decrypt earlier intercepted messages. This protects the text of personal chats between people; group chats, Teams, Spaces and chats with business accounts are encrypted in transit (TLS). Messages saved on your phone stay readable on that phone, which is why App Lock and chat lock are worth turning on.

How Foxcolab handles security

Frequently asked questions

What is the difference between forward secrecy and perfect forward secrecy?

They mean the same thing. Perfect forward secrecy is the older name, and many cryptographers now drop the word perfect.

Does forward secrecy protect my chat history?

It protects copies of encrypted messages captured in transit. It does not protect history stored on your phone, which anyone with your unlocked phone can read.

Does HTTPS use forward secrecy?

TLS 1.3, the current version behind HTTPS, requires key exchanges that give forward secrecy. Older TLS versions supported it only as an option.

Get Foxcolab for your family

Available on Google Play and the App Store. ₹49 once in India, with no subscription and no ads.