End-to-End Encryption: The Double Ratchet Algorithm
summary
Explains how a shared secret is derived from public/private keys, then fed through a KDF to generate a KDF root and chain keys, uses a per-message symmetric ratchet to update sending and receiving chain keys and a DH ratchet for key agreement to introduce new entropy, and shows pseudocode for the main loop that encrypts, MACs, and decrypts messages. Claims this yields forward secrecy and breaks future/past linkability; provides demo-level code and diagrams but not a full production implementation.
AI-written summary · about
chapters (8)
- 0:00Introduction to encryption
- 1:04Encryption basics
- 2:51Hashing and symmetric crypto
- 4:59Asymmetric crypto and keys
- 7:28Key exchange and protocol
- 8:57Double Ratchet mechanism
- 10:21Double Ratchet example
- 12:29Summary and thanks
related talks
56mSecrets of the Ratchets
40mEnd-to-end encryption: Behind the scenes
23mMaths or magic End to end encryption explained with art
29mMaths or magic? End-to-end encryption explained like I'm five
30mSecuring the Connected World - Detangling Encryption and Decryption
15mEncryption at Rest – Master Key Based on a Hybrid KEM
50mBuilding Production-Grade End to End Encrypted App...
32mEncryption - A Deeper Review
