The letter analogy
Imagine you put a letter in a safe, and only you and the recipient have the key. The post office carries the safe but cannot open it. That is end-to-end encryption. Ordinary encryption “to the server” is more like an armoured van: the letter is protected on the road, but at the sorting centre it is taken out and can be read.
How it differs from encryption “in transit”
Most websites and email services encrypt the connection between your device and the server. This protects you from anyone listening in on the network, for example in a café. But on the server the message sits in the open, and administrators can see it – and, if the server is breached, so can attackers.
With end-to-end encryption the server stores only ciphertext. Even if the server is seized or breached, there is no content on it.
How it works
- Each device creates its own keys. The secret part never leaves the device.
- The devices of the people in the conversation agree on a shared conversation key in such a way that the server passing their messages along never learns it.
- A message is encrypted with this key on the sender’s device and decrypted on the recipient’s device.
- Conversation keys are renewed all the time, so that one copied key cannot open the whole conversation.
What end-to-end encryption does not protect
It is important to know the limits so you do not get a false sense of security:
- An infected device sees everything its owner sees – encryption cannot help here.
- The other person can photograph the screen with another phone.
- Ordinary messengers often see metadata: who writes to whom, and when.
- Cloud backups may be stored without end-to-end encryption.
That is why encryption is combined with device protection, hiding the sender from the server, file checks and encrypted backups.
How to check that the encryption is real
Ask the supplier: are there keys on the server, can your conversations be restored without your password or recovery phrase, and is encryption switched on automatically for all chats, groups, calls and files? If the support team can “restore” your conversations without you, the encryption is not end-to-end.
End-to-end encryption and quantum computers
Most of today’s messengers agree on keys using methods that a powerful quantum computer will be able to break in the future. It does not exist yet, but encrypted conversations can be recorded today and decrypted later. That is why modern protocols add a post-quantum key exchange alongside the familiar, time-tested one. Read more on the post-quantum encryption page.
End-to-end encryption in CUBRA
In CUBRA, end-to-end encryption is always on: for chats, groups, files, calls, meetings and mail between CUBRA users. Our own cipher works beneath the global encryption standard, and the key exchange combines post-quantum methods with familiar ones. The server does not know who is writing. Access can only be restored with your 24 recovery words or a PIN that only you have.