Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is the Signal Protocol and Double Ratchet?

The Signal Protocol is the end-to-end encryption design behind Signal, WhatsApp, and Google Messages. Its Double Ratchet changes keys with every message sent and received.

Illustration for the cybersecurity term Signal Protocol
Home / Blog / Cybersecurity Terms / What Is the Signal Protocol and Double Ratchet?
17 November 2026

What Is the Signal Protocol and Double Ratchet?

What Is the Signal Protocol and Double Ratchet?

Most encrypted systems negotiate one set of keys and use it for the life of a session. The Signal Protocol does the opposite: it derives a fresh key for every single message, and it keeps injecting new randomness as the conversation continues. That design, published by Open Whisper Systems in 2013 and refined since, now protects messaging for well over a billion people through Signal, WhatsApp, Google Messages, and Facebook Messenger.

Two pieces do the work: an initial key agreement called X3DH, and an ongoing key update mechanism called the Double Ratchet, designed by Trevor Perrin and Moxie Marlinspike.

Starting a Conversation Without Both Parties Online

Messaging is asynchronous—you send to someone whose phone is switched off. X3DH, the Extended Triple Diffie-Hellman agreement, solves this by having every user publish a bundle of public keys to the server in advance: a long-term identity key, a signed pre-key, and a batch of one-time pre-keys. A sender downloads the bundle and performs several Diffie-Hellman operations between their keys and the recipient’s, combining the results into a shared secret. The recipient reconstructs the same secret when they next come online. The server stores and forwards ciphertext; it never holds a key that would let it read anything.

How the Double Ratchet Works

The shared secret seeds two interlocking ratchets:

The combination produces two properties that matter in practice. Forward secrecy: an attacker who seizes the device today cannot decrypt yesterday’s messages, because those keys were deleted after use. Post-compromise security, sometimes called future secrecy: if an attacker steals the current state but cannot keep up with the Diffie-Hellman ratchet, the next exchange of messages locks them out again. Very few protocols offer the second property at all.

Out-of-order and missing messages are handled by storing skipped message keys for a bounded window, which is why a message that arrives three days late still decrypts.

Who Uses It

PlatformStatus
SignalReference implementation; metadata minimised through sealed sender
WhatsAppEnd-to-end encrypted by default for all chats since April 2016
Google MessagesUsed for RCS conversations between participating devices
Facebook MessengerDefault end-to-end encryption rolled out from December 2023

Group messaging uses a variant: a sender-key scheme in which each participant distributes a chain key over pairwise Signal sessions, which keeps the cost of a message constant rather than growing with group size. The newer IETF Messaging Layer Security standard, RFC 9420, takes a different approach to the same problem for very large groups.

Post-Quantum Hardening

Classical Diffie-Hellman falls to a large quantum computer, and encrypted messages recorded today could be decrypted later. Signal addressed this in September 2023 with PQXDH, which adds an ML-KEM key encapsulation alongside the existing elliptic curve exchange, so an attacker must break both. In 2025 Signal extended the idea into the ratchet itself with a triple ratchet that refreshes post-quantum material continuously, rather than only at session setup.

What the Protocol Does Not Protect

In the UK, section 121 of the Online Safety Act 2023 gives Ofcom the power to require accredited technology to detect certain content on messaging services. The government has said the power will not be used until it is technically feasible, and cryptographers—including the NCSC’s own technical directors in their published work on client-side scanning—have set out why scanning before encryption reopens exactly the risks the Double Ratchet was built to close. Organisations choosing a messaging platform for sensitive work should follow this debate rather than assume today’s guarantees are permanent.

FAQ – Frequently Asked Questions

Is the Signal Protocol Open Source?

Yes. The specifications for X3DH, the Double Ratchet, and PQXDH are published, and the libsignal implementation is released under an open licence. That openness is why independent academics have formally analysed it and why other platforms could adopt it. Open specification does not guarantee a correct deployment, so what matters is how each application integrates the library.

What Is Post-Compromise Security?

It is the ability of a conversation to recover after an attacker has stolen the session state. Because the Diffie-Hellman ratchet mixes fresh random material into the keys each time the direction of conversation changes, an attacker who cannot maintain access loses the ability to decrypt once both parties have exchanged new messages. Forward secrecy protects the past; this protects the future.

Does End-to-End Encryption Stop Lawful Interception?

The service provider cannot hand over readable message content because it never holds the keys. Investigators therefore focus on the endpoints, through device seizure, lawful equipment interference, or cooperation from a participant, and on metadata that the provider does retain. This is the practical tension behind the Online Safety Act and the Investigatory Powers Act debates in the UK.

Should My Organisation Use Signal for Business Communication?

It is strong for confidentiality, but consider the governance side. Disappearing messages conflict with records retention, there is no central archive for regulatory supervision, and personal device use complicates offboarding. Many regulated firms therefore use an enterprise platform with equivalent encryption and administrative controls, and reserve Signal for specific high-risk conversations with a documented policy.

Related Terms

You May Be Interested In These

What Was the Mirai Botnet?

Cybersecurity Terms

17 November 2026

What Was the Mirai Botnet?

Read More
What Is DFIR?

Cybersecurity Terms

17 November 2026

What Is DFIR?

Read More