Looking for the macOS AI video creation suite? Visit Wonek Video Studio for Mac (studio.wonek.com) →
Wonek icon Wonek Pre-Release
Cryptography Architecture · 3 Spec Tables · 8 min read

IETF MLS (RFC 9420) vs Pairwise Double Ratchet for Group & Multi-Device E2EE

The Double Ratchet revolutionized 1:1 mobile encryption in 2013, when most people used a single smartphone. Today, a 30-person team using iPhones, iPads, Macs, and Apple Watches represents over 100 cryptographic endpoints—where pairwise ratchets hit O(N) scaling walls that IETF MLS (RFC 9420) solves in O(log N).

TL;DR · Direct Answer & Honest Verdict

Pairwise Double Ratchet remains rock-solid for simple two-phone messaging. For modern multi-device Apple ecosystems (iPhone + iPad + Mac + Apple Watch) and active group collaboration across chat, calls, files, and CRDT docs, IETF MLS (RFC 9420)—implemented in Wonek's native Rust cryptographic core—delivers dramatically cleaner O(log N) key rotation, faster post-compromise healing, and formal IETF standardization.

Table 1: Cryptographic Scaling & Capability Matrix — MLS (RFC 9420) vs Double Ratchet
PropertyIETF MLS — RFC 9420 (Wonek)Pairwise Double Ratchet + Sender Keys
Adding / Removing Member or Rotating KeyO(log N) via binary TreeKEM ratcheting treeO(N) — linear pairwise fan-out to every device
Post-Compromise Security in GroupsSingle Commit heals shared group secret for allRequires full pairwise re-distribution when members change
Forward SecrecyContinuous epoch & sender-ratchet forward secrecyStrong per-chain forward secrecy
Multi-Device RepresentationNative leaf per enrolled iPhone, iPad, Mac & WatchSimulated as N separate pairwise chats ('sesame')
Asynchronous Offline Key UpdatesNative KeyPackages allow updating while peers sleepPrekeys work 1:1; group Sender Keys frequently desync
Standardization StatusPublished IETF Standard RFC 9420 (2023)De-facto industry specification (non-IETF RFC)

Why TreeKEM Changes the Math of Multi-Device Groups

When Alice, Bob, and 28 teammates each carry an iPhone, an iPad, a Mac, and an Apple Watch, a single group room actually contains roughly 100 client devices. Pairwise protocols treat those 100 devices like 100 separate pipes whenever group keys rotate after a member leaves or recovers from compromise.

MLS (RFC 9420) arranges devices as leaves of a binary cryptographic tree (TreeKEM). Updating any device's secret hashes up only its direct path to the root—requiring roughly seven cryptographic operations instead of a hundred.

Ending 'Waiting for This Message' Multi-Device Desyncs

Because MLS was designed from scratch for asynchronous multi-device environments, waking up an iPad or Mac after days in a backpack syncs epochs cleanly without stranded pairwise sessions.

Table 2: How Wonek Pairs MLS With Device & Transport Security
Security Layer in WonekTechnology UsedSecurity Guarantee
Group & 1:1 Content LayerMLS (RFC 9420) in memory-safe Rust coreEnd-to-end confidentiality, authenticity, FS & PCS
Multi-Device EnrollmentNoise-protocol QR authenticated channelZero cloud private-key escrow when linking Mac/iPad/Watch
Wire Transport LayerQUIC / WebTransport with mandatory TLS 1.3Dual-layer encryption against passive network snooping
Collaborative Docs StateYjs/Yrs CRDT updates inside E2EE boundaryConflict-free offline merges without server plaintext
Offline & Relay NodesCiphertext-only queues & encrypted fallback relaysServers never possess MLS epoch decryption keys

Memory-Safe Rust Core + Noise QR Enrollment in Wonek

Wonek runs its MLS engine inside a native Rust library shared across iOS, iPadOS, macOS, and watchOS, pairing it with Noise-protocol QR device linking and QUIC TLS 1.3 transport.

Table 3: Practical Impact for Users & Teams
Real-World SituationPairwise / Sender Keys QuirkMLS (RFC 9420) in Wonek
Opening your MacBook after a week offlineSlow catch-up or 'Waiting for this message' placeholdersClean epoch tree sync across enrolled leaf devices
25-person team with 4 Apple devices each (~100 leaves)100x pairwise key distribution overhead on membership change~7 tree steps (log2 100) to refresh group secret
Removing a departing contractor from 15 Work channelsExpensive full Sender Key resets across every deviceImmediate O(log N) leaf removal & fresh epoch key
Rotating call & screen-share media keysSeparate ad-hoc group call key distributionDerives authenticated epoch secrets cleanly from MLS group
Auditing protocol designApp-specific custom extensions for groupsUniform peer-reviewed IETF RFC 9420 specification

Frequently Asked Questions

Who standardized MLS (RFC 9420)?

Messaging Layer Security (RFC 9420) was developed over five years by the Internet Engineering Task Force (IETF) with academic cryptographers and major security engineering teams.

Does MLS still protect simple 1:1 chats just as strongly as groups?

Yes—a 1:1 chat across your iPhone, Mac, and Apple Watch is already a multi-device group of 4–6 endpoints! MLS provides forward secrecy and post-compromise security for both 1:1 and group conversations.

Where can I read more about Wonek's dual-layer security?

Visit https://wonek.com/security/ for a complete breakdown of Wonek's MLS E2EE, Noise QR linking, QUIC TLS 1.3 transport, and ciphertext-only server boundaries.

Related Comparisons & Deep-Dive Guide