Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
A zero-knowledge proof lets one party convince another that a statement is true without revealing anything beyond its truth—proving you are over 18 without disclosing your date of birth.

What Are Zero-Knowledge Proofs?
Suppose you need to prove to a website that you are over eighteen. The usual approach hands over a passport scan containing your name, photograph, document number, and exact date of birth—far more than the question required. A zero-knowledge proof answers the question and nothing else: the verifier learns that the statement is true, and learns nothing that would let them reconstruct the underlying data or convince anyone else.
The concept came from Shafi Goldwasser, Silvio Micali, and Charles Rackoff in 1985. It stayed largely theoretical for thirty years and then became practical, driven first by cryptocurrency and now by digital identity.
The classic illustration is a cave shaped like a ring with a locked door across the far side. The prover enters by one of two passages; the verifier then shouts which passage they should emerge from. Someone who knows the door code always succeeds; someone guessing succeeds half the time. Repeat twenty times and the chance of fooling the verifier falls below one in a million—without the verifier ever seeing the code.
Early protocols required rounds of back-and-forth, which is unusable for a web request. The Fiat-Shamir transform removes the interaction by replacing the verifier’s random challenge with a hash of the statement so far, producing a non-interactive proof that anyone can check later. Modern systems also prove arbitrary computations rather than single facts, by expressing a program as an arithmetic circuit and proving it was executed correctly.
| zk-SNARKs | zk-STARKs | Bulletproofs | |
|---|---|---|---|
| Proof size | A few hundred bytes | Tens to hundreds of kilobytes | A few kilobytes |
| Verification | Milliseconds, constant time | Fast, grows slowly | Slower, linear |
| Trusted setup | Required for most constructions | None | None |
| Quantum resistance | No—relies on elliptic curve pairings | Yes—hash-based | No |
Data minimisation is a principle of the UK GDPR, not an aspiration: you should collect only what is adequate and relevant for your purpose. Age assurance under the Online Safety Act, with Ofcom’s highly effective age assurance duties in force from 25 July 2025, puts that principle under pressure, because the obvious implementations accumulate identity documents at exactly the sites least equipped to protect them. Zero-knowledge age proofs are one of the few designs that satisfy both obligations at once, and the ICO has pointed to privacy-enhancing technologies of this kind in its guidance. The same logic applies to supplier attestations, where a proof of compliance can replace a copy of the evidence.
Several constructions need a trusted setup that generates public parameters alongside secret randomness; anyone retaining that randomness could forge proofs undetectably. Multi-party ceremonies mitigate this, and STARKs avoid it entirely. Implementation is the bigger practical risk: a soundness bug in the BCTV14 proving system, disclosed by Zcash in 2019, would have allowed undetectable counterfeiting, and circuit-level bugs are common because the constraint systems are hard to audit. Proof generation is also expensive—seconds of CPU time and significant memory—so the economics only work when verification happens far more often than proving. Treat any zero-knowledge component as specialist cryptography requiring independent review, not as a library you drop in.
That is where the engineering investment came from, but the applications are broader. Age and attribute verification, anonymous credentials, password protocols that never transmit the password, privacy-preserving analytics, and proofs of regulatory compliance without disclosing the underlying records all use the same machinery. Digital identity is likely to become the larger use over the next few years.
Many zk-SNARK constructions need public parameters generated from secret randomness, often called toxic waste. If anyone keeps that secret, they can forge proofs that verify correctly, which breaks soundness without being detectable. Multi-party ceremonies reduce the risk, since only one participant needs to destroy their share honestly. STARKs and Bulletproofs avoid the problem entirely.
No, they solve a different problem. Encryption keeps data confidential while it is stored or transmitted. A zero-knowledge proof lets you demonstrate a property of data without revealing the data at all. Real systems use both: the credential is encrypted at rest, and a proof is generated from it when a verifier needs to check one attribute.
It depends on the construction. zk-STARKs rely only on hash functions and are considered post-quantum secure. Most zk-SNARKs and Bulletproofs rest on elliptic curve assumptions that a large quantum computer would break. If a proof must remain sound decades from now, choose a hash-based system or plan for migration, as you would with any other public-key dependency.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.