You hear the phrase "end-to-end encrypted" often, but few people know what's really going on behind it. At its core, it rests on an analogy anyone can understand: open padlocks and a single key.
The padlock analogy
Imagine you have a lot of open padlocks. You hand them out to anyone who asks for one. But the only key that opens them is yours.
- When someone wants to send you a message, they put it in a box and lock it with your padlock.
- Once the box is locked, even the person who locked it can't open it.
- Only you can open the box, because only you have the key.
In encryption, the padlock is called the public key, and the key is called the private key.
Where are the keys in Nuven?
- Your private key is generated only on your device and never leaves it.
- Your public key is stored on the server, so others can send you encrypted messages.
- The server carries the messages, but since it has no private keys, it cannot open the contents.
What happens in groups?
In a group, every message is encrypted separately for each member. So each member receives their own box, locked with their own padlock. That's why the server doesn't even know the group exists; it only sees separate, independent encrypted boxes.
Why does it matter?
With this setup, even if the server is compromised, your messages are not exposed. That's because the key to open them has never existed on the server at all.
Encryption may look complicated, but the idea is as simple as a padlock.
