Messaging
End-to-End Encrypted Messaging
What the encryption protects, what the provider still sees, and why metadata is usually the real story.
End-to-end encryption means the message is encrypted by the sender and decrypted by the recipient, and nobody in between — including the service operator — holds a key that can read it. Everything worth knowing about secure messaging is downstream of that fact.
What the operator can and cannot see
With properly implemented end-to-end encryption, the operator cannot read message contents. It can still see, in most designs:
- Who is talking to whom. The account graph, present in plaintext or trivially derivable, is often the most valuable part of the dataset.
- When. Message timestamps, and how long sessions last.
- How much. Byte counts per conversation, per hour.
- With what. Client versions, IP addresses, device identifiers, and account recovery details.
This is not a defect in the encryption. It is a property of routing: any system that delivers a message to a device must know enough to deliver it. The tools that reduce metadata reduce it by adding cost or friction — padding message sizes, batching delivery, or routing through a relay that hides the sender.
What good implementations do
Key agreement. X3DH lets a message be encrypted to a recipient’s key even when the recipient is offline, using pre-published pre-keys. See the X3DH specification.
Forward and post-compromise secrecy. The Double Ratchet updates the encryption key after every message, so a stolen key does not decrypt earlier traffic and a restored session does not silently return to an old key.
Identity verification. Safety numbers let two people confirm out of band that no server substituted a key. Verification matters more than the protocol: an encrypted channel to an attacker-controlled key is still encrypted.
Choosing a service
The honest comparison is not “which is most private” but “what is each one structurally able to do”.
| Property | Why it matters |
|---|---|
| Published protocol and implementation | A claim you can check against a specification and source |
| Open source client | The part that touches your keys should be auditable |
| Audited implementation | Cryptography that has not been reviewed is a hypothesis |
| No phone-number requirement | Removes the SIM as an identity anchor |
| Encrypted backups | Backups are the usual place a chat history ends up readable |
| No message history for new devices | Avoids a silent second copy |
| Metadata minimisation | Sealed sender, private contact discovery, disappearing messages |
Practical advice
- Use one service for sensitive conversations and another for everything else.
- Verify keys in person for conversations where an active attack is plausible.
- Turn on disappearing messages where the retention policy allows, remembering that recipients can still photograph a screen.
- Assume the service is honest and the device is not compromised. An attacker with read access to your unlocked phone defeats any protocol.
- Do not send one-time secrets or passwords through a chat, even an encrypted one.
Sources
- Signal X3DH specification — how a message is encrypted to an offline recipient.
- Signal Double Ratchet specification — the key-update mechanism behind forward secrecy.
- Signal on Sealed Sender — a concrete example of removing the sender field from the operator’s view.
- RFC 8446 — TLS 1.3, which protects the transport to the server but says nothing about content.
Topics
Sources
- The Double Ratchet Algorithm Accessed
- X3DH Key Agreement Accessed
- RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3 Accessed
- Sealed Sender Accessed
Related guides
-
Guide Introductory
Encryption Explained (Guide)
Encryption in transit and at rest, symmetric and asymmetric primitives, and the misconceptions that make people over- or under-trust it.
-
Guide Introductory
Metadata Explained (Guide)
A worked primer on data about data: what leaks even with perfect encryption, and the measures that actually reduce it.
-
Guide Intermediate
Email Privacy (Guide)
Why email resists end-to-end encryption, and the specific compromises that are worth making.