End-to-end encryption in plain words
The Comin team · 5 min read · checked 26 November 2026

End-to-end encryption means a message is encrypted on your phone and decrypted only on the other person's phone. The server in the middle passes along a set of bytes it cannot read, even if it wanted to.
Below: how it works, what the server sees anyway, and what this encryption does not protect against.
Ordinary encryption and end-to-end
Almost every app encrypts the connection. The difference is where the message turns back into text.
Encryption to the server. The message is protected on the way. On the server it is decrypted, stored and encrypted again for the recipient. The company that owns the server is technically able to read it.
End-to-end encryption. The key that opens the message exists only on the devices of the people in the chat. The server stores and forwards ciphertext. If someone breaks into the server or demands the conversation from the company, they get the same unreadable bytes.
A simple picture: ordinary encryption is an armoured van that takes a letter to the post office, where it is opened and repacked. End-to-end encryption is a safe whose key only you and the recipient have. The post office carries the safe but cannot open it.
Where the shared key comes from
Every device has a pair of keys: a public one that can lock and a private one that can open. The server only passes along public keys and ciphertext. A device never gives its private key to anyone, so only that device can open the message.
Groups are harder: there are many members, they come and go, some are offline. There is an open standard for this, MLS — Messaging Layer Security, RFC 9420. It lets a group agree on a shared key even when members are not online at the same time, and it changes the key when someone leaves or a new device is added.
Two properties worth knowing:
- Forward secrecy. If a key leaks today, it cannot be used to read old messages.
- Post-compromise security. If a device key is stolen, new messages are closed again after the group's next key change.
What the server sees anyway
End-to-end encryption hides the content, not the fact of communication. To deliver a message, the server has to know where to take it. So it sees metadata:
- who is in which chat;
- which device writes when and how many bytes it sends;
- the IP address during the connection.
This limit is general: the server of any end-to-end encrypted messenger sees metadata. The difference is how much of it the service keeps and how honestly it says so.
What end-to-end encryption does not cover
- A hacked or unlocked phone. On the device the messages are already decrypted. Whoever holds your unlocked phone reads the conversation the way you do.
- The other person. They see your messages and can save them, forward them or photograph the screen.
- Key substitution at first contact. The server could hand over someone else's key in place of your contact's. The defence is to compare the safety number in person or over a video call.
- Backups outside the app. If the history goes into a cloud backup without end-to-end encryption, the protection ends there.
- Delays and lost messages. The server cannot read a message, but it can fail to deliver it.
If you read that encryption "protects from everything" or that a conversation is "impossible to break", it is not true: the content is protected on the way and on the server, not everything around it.
How this works in Comin
- Messages, reactions, edits, read receipts, room name and description are encrypted on the device with MLS (RFC 9420). The server stores the ciphertext until the device confirms delivery; undelivered messages are deleted after 30 days at most.
- Photos, videos, voice notes and files are encrypted with a separate AES-256-GCM key. The key travels only inside the encrypted message. Media is deleted from the server after 30 days.
- Calls and screen sharing: every frame is encrypted on the device with a key derived from the chat group's keys.
- A new device enters a chat only through a group change that every member sees. The server cannot add a device quietly: everyone would see the change.
- You can compare a contact's safety number by QR code.
What Comin does not hide: chat membership, the timing and size of messages, the IP address during the connection, your name, username and avatar. Avatars are stored on the server without end-to-end encryption. The full list, and the weak spots we name ourselves, are on the protocol page.
Sources
| Claim | Source | Viewed |
|---|---|---|
| MLS is the IETF standard for end-to-end encryption of groups; forward secrecy and post-compromise security | RFC 9420 | 25.11.2026 |
| The delivery server in MLS is treated as untrusted; roles of the services | RFC 9750 | 25.11.2026 |
| End-to-end encryption protects content but not metadata | EFF, Surveillance Self-Defense | 25.11.2026 |
| How Comin works: what is encrypted, what the server sees | comin.chat/en/protocol: “The server adding a listening device to a chat: that requires an MLS commit that every member processes and verifies” | 26.11.2026 |
| How long messages are kept | Privacy Policy: “kept only until delivered: removed as soon as your device confirms delivery. Undelivered messages are deleted after 30 days at most”; protocol: “The ciphertext is queued until acknowledged, at most 30 days” | 26.11.2026 |
| Media is deleted after 30 days | Privacy Policy: “Deleted automatically 30 days after upload” | 26.11.2026 |