Tech

Zero-knowledge proofs: the maths trick quietly rewiring crypto

Imagine proving you're over 18 without showing your birthday, or proving a bank has your money without publishing every account. That's what zero-knowledge proofs make possible, and they've gone from academic curiosity to some of the most important technology in crypto.

By the soop.wiki teamPublished 5 min read

✓ true



Most of the internet works by oversharing. To prove your age, you hand over an ID with your name, address and exact birthday. To prove you can afford a flat, you send months of bank statements. The person checking only needed one fact, but they got everything.

Zero-knowledge proofs flip that. They let you prove a specific claim is true while revealing nothing else. It sounds like magic. It's maths, first described by researchers in the 1980s, and it's now securing billions of dollars on blockchains.



The idea, with no maths

A zero-knowledge proof has two parties: a prover, who knows something, and a verifier, who wants to be convinced. A good proof has three properties:

Complete
If the claim is true, an honest prover can always convince the verifier.
Sound
If the claim is false, a cheating prover can't convince the verifier, except with a vanishingly small chance.
Zero-knowledge
The verifier learns nothing beyond the fact that the claim is true.

The colour-blind friend

You have a friend who is colour-blind and two balls that look identical to them, one red and one green. You want to prove they're different colours without saying which is which.

Your friend hides both behind their back, then shows you one. They either swap them or don't, out of your sight, and show you one again. You say "swapped" or "not swapped". If the balls were really the same colour, you'd only be right half the time by guessing. Repeat this twenty times and get it right every time, and your friend is convinced the balls differ, yet they still have no idea which is red.

That's zero knowledge: overwhelming confidence, no secret revealed.

Where's Waldo, without the location

You find Waldo on a giant poster. To prove it without revealing where he is, you cover the poster with a huge sheet of cardboard that has a tiny Waldo-sized hole, positioned over him. Your friend sees Waldo through the hole, but has no idea where on the poster that hole sits.

From puzzles to blockchains

Early zero-knowledge proofs needed back-and-forth conversations, like the ball game. Modern systems are non-interactive: the prover produces a single proof file that anyone can check, any time, without talking to them. That's what makes them useful on a blockchain, where a smart contract can verify a proof automatically.

The other breakthrough is succinctness. A proof can confirm that a huge computation was done correctly while being tiny and fast to check. Verifying the proof is far cheaper than redoing the work.

Real talk

The killer feature of ZK in crypto isn't secrecy. It's being able to say "trust this result" and back it with a proof anyone can check in milliseconds.

SNARKs vs STARKs

zk-SNARKs zk-STARKs
Proof size Very small Larger
Verification cost on-chain Low Higher
Trusted setup Often needed (some newer designs avoid it) Not needed
Cryptographic assumptions Elliptic-curve based Hash-based, generally considered more resistant to future quantum attacks
Typical use Privacy coins, many ZK rollups Some ZK rollups and high-throughput proving

In practice, many systems mix techniques: generating a STARK for speed, then wrapping it in a SNARK so the final proof is cheap to verify on Ethereum.

What ZK is actually used for

  1. Private payments

    Systems like Zcash use ZK proofs to show a transaction is valid (no double-spend, amounts add up) without revealing sender, receiver or amount.

  2. Scaling with ZK rollups

    A rollup proves thousands of transactions were executed correctly; Ethereum checks one proof. Our rollups guide explains how.

  3. Proof of reserves with privacy

    An exchange can prove its customer liabilities add up, and that your balance is included, without publishing everyone's balance. See our exchange safety guide.

  4. Identity and credentials

    Prove you're over 18, a citizen, or not on a sanctions list without revealing your full identity document.

  5. Verifiable computation

    Prove an off-chain program, even a machine learning model, produced a given output, without re-running it.

The limits

ZK isn't a free lunch.

  • Proving is expensive. Generating proofs needs serious computing power, which is why specialised hardware and proving networks are a growing industry.
  • Circuits can have bugs. A proof only shows a program ran as written. If the program (the "circuit") has a flaw, a valid proof can certify a wrong result. Several ZK systems have found and fixed critical bugs.
  • It's hard to audit. Few people can review ZK circuits well, which concentrates trust in a small group of experts.
  • Privacy attracts scrutiny. Regulators worry privacy tools can hide crime, and some privacy protocols have faced legal action. The technology itself is neutral; its uses are debated.

Zero knowledge doesn't remove trust. It moves it from people you have to believe to maths anyone can check, and to the code that does the maths.

Why this matters beyond crypto

The same technology that scales Ethereum could change how the wider internet handles personal data: proving eligibility without handing over documents, verifying age online without building databases of IDs, or checking that a company's computation followed the rules without exposing its data. Crypto has been the testing ground. The bigger story may be what happens when these proofs leave it.

Questions people ask

Are zero-knowledge proofs only for privacy?

No. Some of the biggest uses are about efficiency: proving that thousands of transactions were processed correctly so a blockchain only has to check one small proof instead of re-running everything.

What is a trusted setup?

Some proof systems need a one-off ceremony to create public parameters. If everyone involved kept the secret 'toxic waste', fake proofs could be forged. Ceremonies with many independent participants make this very unlikely, because only one honest participant is needed.

Can quantum computers break zero-knowledge proofs?

Some systems rely on cryptography that large quantum computers could in theory break. STARKs and other hash-based systems are generally considered more resistant. This is an active research area.

Is a ZK rollup private?

Not necessarily. Most ZK rollups use proofs for correctness, not privacy; their transactions can be just as public as on Ethereum. Privacy requires the system to be designed for it.

Sources and further reading

  • Goldwasser, Micali and Rackoff's 1985 paper introducing interactive zero-knowledge proofs.
  • Zcash and Ethereum Foundation educational material on zk-SNARKs, zk-STARKs and trusted setup ceremonies.
  • Documentation from ZK rollup teams on how validity proofs are generated and verified on Ethereum.

Written by the soop.wiki team and checked against the sources above on 22 November 2026. Crypto changes fast; if something here is out of date, tell us. How we work: editorial policy.

This article is general education about how things work. It is not financial, investment or tax advice, and it doesn't consider your circumstances. Do your own research and talk to a licensed professional before making decisions with money.

Up next in the JournalTokenization: when Treasuries, gold and stocks move onto blockchains