How encryption works
Plain language, with the limits stated honestly
The short version
When you send a message, your browser scrambles it using a secret that only you and your friend can work out. Our server stores and passes on the scrambled version. It never has what it needs to unscramble it, so we cannot read your messages or listen to your voice messages. This is called end-to-end encryption.
The details
- When you sign up, your browser creates a pair of keys. The public key is shared with your friends. The private key stays on your device and is also saved on our server in a form locked by your password, so you can log in on another device.
- Your browser never sends us your password. It turns the password into a separate login code, and we store only a scrambled copy of that code.
- For each friend, your browser and theirs work out the same shared secret from your two keys. Messages and voice messages are encrypted with that secret before they are sent (AES-GCM, using keys from ECDH P-256, and your password is strengthened with PBKDF2).
The safety code
Every chat has a safety code, made of numbers. Open the chat, tap the picture at the top right, and compare the code with your friend in person or on a call. If you both see the same numbers, nobody is secretly sitting between you.
What we can see
- Your username, display name, bio and profile photo. The photo is not end-to-end encrypted.
- Who your friends are, and when messages were sent and read. We cannot see what is in them.
- The length of a voice message, and that a message is text or voice.
What encryption cannot protect
- Someone who has your phone or your password can read your chats. Keep both private.
- Your friend can screenshot or copy anything you send them.
- It is a website. Each time you open Wholechat.in, your browser loads the app from our server. That means you trust us to serve honest code. Apps you install can be checked more easily, and a website cannot offer that.
- No password reset. Your password locks your key. If you forget it, we cannot recover your account or your old messages.
Automatic deletion
Read messages are deleted from our storage 24 hours after the other person reads them. Messages that are never read are deleted after 7 days. You can also clear a chat at any time, which deletes it for both of you straight away.
See also: Privacy Policy · Help