Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
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.

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.
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.
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.
| Platform | Status |
|---|---|
| Signal | Reference implementation; metadata minimised through sealed sender |
| End-to-end encrypted by default for all chats since April 2016 | |
| Google Messages | Used for RCS conversations between participating devices |
| Facebook Messenger | Default 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.
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.
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.
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.
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.
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.
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.
You May Be Interested In These
Cybersecurity Terms
17 November 2026
What Is the Difference Between Controller and Processor?
Read More
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.