Building end-to-end security for Messenger
Dec 7, 2023Jon Millican, Reed Riley

Summary
This post details the rollout of end-to-end encryption (E2EE) by default for personal conversations on Messenger. It introduces the Labyrinth encrypted storage protocol for end-to-end encrypting stored messaging history between devices and describes the core cryptographic protocol for transmitting messages between clients. Key technical challenges addressed include multi-device capability, feature support (e.g., sticker library search using OHAI and Anonymous Credentials), message history management with Labyrinth, and web support for E2EE.
More from the Application Security and Permissions trail
- How We’re Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees
- Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study
- Labyrinth 1.1: Making End-to-End Encrypted Backups Even More Reliable
- How Meta Is Strengthening End-to-End Encrypted Backups
- Post-Quantum Cryptography Migration at Meta: Framework, Lessons, and Takeaways