Articles / Zero-knowledge proofs
Privacy basics
What are zero-knowledge proofs (ZKPs)?
A zero-knowledge proof (ZKP) is a cryptographic method that lets you prove a statement is true without revealing anything beyond the fact that it's true. For example, you could prove you're over 18 without showing your birth date or ID. The EU plans to build this kind of feature into its digital identity wallet, but none of the 2,298 privacy policies and terms Osbert tracks mentions it yet.
- Proves
- that a statement is true
- Reveals
- nothing else
- Planned in
- the EU Digital Identity Wallet
- Policies that mention it
- 0
Today, proving something about yourself usually means handing over more than you need to. To show you're old enough, you share your birth date, or a whole ID card. Zero-knowledge proofs are a way to prove the fact without the details.
The definition
The U.S. National Institute of Standards and Technology (NIST) defines it as "A cryptographic scheme where a prover is able to convince a verifier that a statement is true", without giving away any more information than that single bit: true or false (NIST).
There are two sides:
- The prover, who knows something, such as your age or a password.
- The verifier, who needs to be convinced, such as a website or a shop.
The verifier ends up certain the statement is true, and learns nothing else.
A simple way to picture it
Imagine a friend who can't tell red from green, holding two balls that look identical to them, one red and one green. You claim the balls are different colors. Your friend hides both behind their back, either swaps them or doesn't, and shows them again. You say whether they swapped. If you were only guessing, you'd be caught about half the time; after twenty rounds without a mistake, your friend can be confident you really can see the difference, but they still have no idea which ball is red.
Real zero-knowledge proofs use mathematics instead of colored balls, and a computer can check them in an instant.
Where they're used
- Age and identity checks. Proving you're over 18, or that you live in a country, without sharing your birth date or address. See Why do some websites want to verify my age?
- Digital identity wallets. The European Commission says the EU Digital Identity Wallet will include a feature that lets you "verify an attribute is true without disclosing any further details", giving the example of proving a bank balance is above a threshold (European Commission). See What are eIDAS 2 and the EUDI Wallet?
- Signing in without sending your password. A service can check that you know your password without the password itself being sent.
- Blockchains. Some use zero-knowledge proofs to confirm transactions are valid while keeping their details private.
Why it matters for privacy
Many age checks today ask for an ID upload or a selfie, and you have to trust the company to delete it. A zero-knowledge proof flips that: the website gets a yes or no, and never receives the document. That fits the principle of collecting only what's needed, which the GDPR calls data minimisation. See What is privacy by design?
Age checks are spreading fast: comparing the same 799 privacy policies a year apart, the number that mention verifying or estimating a user's age rose from 31 to 47. But none of the 2,298 privacy policies and terms of service Osbert tracks mentions zero-knowledge proofs yet. When one does, Osbert will show the new wording.
Zero-knowledge proofs vs. zero-knowledge encryption
The names are similar, but they're different tools. A zero-knowledge proof lets you prove a fact without revealing the data behind it. Zero-knowledge encryption means a company stores your data but can't read it, because only you hold the key.
Common questions
What is a zero-knowledge proof in simple terms?
A way to prove something is true, such as "I'm over 18", without revealing anything else, such as your birth date. The person checking learns only that the statement is true.
What is a zero-knowledge proof used for?
Privacy-preserving age and identity checks, digital identity wallets like the EU's, signing in without sending a password, and keeping blockchain transactions private while proving they're valid.
Are zero-knowledge proofs used for age verification?
They can be, and the EU plans to support this kind of proof in its digital identity wallet. Many age checks today still use ID uploads, selfies or other data you have to hand over.