HomeCybersecuritySignal Double Ratchet: Messenger Encryption

Signal Double Ratchet: Messenger Encryption

Interactive 3D visualization of the Double Ratchet algorithm that secures Signal, WhatsApp and other end-to-end encrypted messengers: watch the symmetric-key chain advance per message, trigger a Diffie-Hellman ratchet step, and see forward secrecy and post-compromise self-healing play out live.

Cybersecurity3DAdvanced60 FPS
exp-messengers-security ↗ Open standalone

End-to-end encrypted messengers such as Signal and WhatsApp don't reuse one secret key for a whole conversation — they run the Double Ratchet algorithm, deriving a brand-new key for every single message from a one-way hash chain, and periodically folding in a fresh Diffie-Hellman exchange. This simulator renders that key chain as a live 3D helix: sending messages advances the symmetric-key ratchet and spins off a new key node per message, a Diffie-Hellman ratchet step mints a fresh root key shown as a gold marker, and a simulated key-compromise event demonstrates the two properties that make the scheme resilient — forward secrecy (past keys stay unrecoverable because the hash chain can't run backward) and post-compromise security (the very next ratchet step heals the session even after a leak).

⚙ Under the hood

Watch the Double Ratchet algorithm behind Signal and WhatsApp derive a fresh key for every message on a live 3D helix, trigger a Diffie-Hellman ratchet step, and see forward secrecy and post-compromise self-healing play out after a simulated key leak.

encryptionsignal-protocole2eekey-exchangeforward-secrecymessengers

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)