Zero-knowledge proofs explained in plain English
A zero-knowledge proof lets someone prove a statement is true without revealing the information behind it. It sounds like magic, but it's a well-established area of cryptography.
A classic intuition Imagine proving you know the password to a door in a circular cave without saying the password: you repeatedly come out of whichever side the verifier calls out. If you didn't know it, you'd fail about half the time. After many rounds, the verifier is convinced, yet never learns the password.
The three properties
- Completeness: if the statement is true, an honest prover can convince the verifier.
- Soundness: if it's false, a cheater can't convince them (except with negligible probability).
- Zero knowledge: the verifier learns nothing beyond the fact that the statement is true.
Uses in blockchain
- Privacy: proving a transaction is valid without revealing amounts or parties.
- Scaling: "zk-rollups" bundle many transactions off-chain and post a compact proof that they were all processed correctly.
- Identity: proving you're over a certain age or a member of a group without revealing who you are.
Trade-offs Generating proofs can be computationally heavy, some systems require careful setup procedures, and the math is complex enough that bugs are a real risk.
Which use of zero-knowledge proofs do you find most promising? Has anyone found an explanation that made the math click?
Comments · 3
The cave-with-a-secret-door story is the best intuition for this. You prove you know the password by coming out the other side without revealing it.
Practical example I understood: proving you're over 18 without sharing your birth date. That one finally made it click for me.
Are these proofs expensive to compute? Wondering how practical they are on everyday devices.