Open a new messaging app for the first time and it almost always asks for one thing before you’ve sent a single message: your contact list. Not your phone number, not your name. Your entire address book, handed over so the app can tell you which of your friends are already using it. This single step is where most “privacy-first” messengers quietly reveal how serious they actually are.
Encryption gets all the marketing copy. Contact discovery gets none of it, and it’s the part that determines whether your phone book ends up sitting on someone else’s server.
the step nobody reads a privacy policy for
Every messaging app needs to solve the same problem: you have 340 numbers in your contacts, the app has millions of registered users, and it needs to find the overlap without you manually typing in usernames. That matching has to happen somewhere, and where it happens is the entire story.
The naive approach is to just upload your contact list in plaintext and let the server match it against its user database. This is cheap, fast, and exactly what a lot of apps did for years before anyone pushed back. It also means a company now has a copy of every phone number you’ve ever saved, including people who never installed the app and never agreed to anything.
WhatsApp and Telegram: hash it, but still see it
WhatsApp and Telegram both improved on raw plaintext uploads by hashing your contacts before sending them, usually with SHA-256. In theory this is better: the server gets a scrambled fingerprint instead of a readable number.
In practice, phone numbers are a tiny, predictable space. There are only about 10 billion possible 10-digit numbers globally, and in reality far fewer are in active use. A company that wants to reverse a SHA-256 hash of a phone number doesn’t need to break cryptography, it just needs to hash every plausible number once and build a lookup table. Security researchers have demonstrated this exact attack against Telegram’s and WhatsApp’s old discovery APIs in under a day on consumer hardware. The hash slows down casual snooping. It does not stop a company that already runs the server doing the matching.
Signal’s answer: a locked box, not a locked door
Signal took a different approach starting in 2017, using something called Secure Value Recovery and, more specifically for contact discovery, a system built on Intel SGX enclaves. The idea is that your hashed contacts get sent into an isolated, attested piece of hardware that even Signal’s own engineers can’t read the contents of while it’s running. The enclave does the matching and returns only the result, who’s on Signal, without Signal’s servers ever seeing your contact list in a usable form.
It’s not perfect. SGX has had real vulnerabilities (the Foreshadow and SGAxe attacks both targeted it directly), and attestation systems depend on trusting Intel’s firmware chain, which is its own leap of faith. But it’s a materially different design goal than hash-and-hope. Signal is trying to make contact discovery something it structurally cannot abuse, not just something it promises not to abuse.
Session and SimpleX: skip the address book entirely
Session, built by the Oxen Foundation, doesn’t do contact discovery against your phone book at all. You get a Session ID, a long cryptographic string, and you exchange it directly with people (QR code, link, whatever channel you trust). There’s no server anywhere that ever learns your phone number is connected to theirs, because the app never asks for your phone number in the first place.
SimpleX goes further and removes persistent identifiers altogether. There’s no username, no phone number, no account on a central server that maps to you. Every connection starts from a one-time invitation link. The tradeoff is obvious the moment you try to use it: finding your friends is slower and more manual, because the app has deliberately made itself bad at the one thing contact discovery is supposed to make easy.
what this actually costs you
Here’s the part that doesn’t make it into app store descriptions. Every time you let an app scan your contacts, even a “privacy-first” one, you’re not just exposing your own number. You’re exposing the numbers of people who never installed the app, never read a privacy policy, and never consented to anything. A 2021 analysis of leaked discovery databases found that non-user contact records (numbers of people who’d never signed up) made up roughly 60 to 70 percent of the data sitting in some matching systems, just along for the ride because someone else uploaded their address book.
That’s the actual tradeoff on the table. Hash-based discovery is convenient and finds your friends instantly. Enclave-based discovery like Signal’s is a meaningful improvement but still asks you to trust a hardware vendor. ID-based systems like Session and SimpleX refuse to collect the data at all, at the cost of a clunkier first-run experience.
the real question to ask
Before you call any messenger “privacy-first,” ask one specific question: where does contact matching happen, and can the company that runs the server see the list even temporarily. If the answer is “we hash it,” that’s a start, not a finish line. If the answer is “we never receive it,” that’s a different category of product entirely, and it’s usually the slower, less polished one. The apps that made contact discovery frictionless almost all did it by making your address book someone else’s dataset first.