zero-knowledge proof
A zero-knowledge proof is a method by which one person (the prover) can convince another (the verifier) that a statement is true, while revealing nothing beyond the fact that it is true. The verifier comes away certain the claim holds, yet learns none of the underlying secrets that made it true. It is one of the most surprising ideas in cryptography, because at first glance proving something usually means showing your evidence.
The classic illustration is proving you know a password without ever typing it. Imagine a ring-shaped cave with a locked door across the back, and a friend who waits at the entrance. You walk in by one of two passages; your friend then shouts which side they want you to emerge from. If you really know the secret that opens the door, you can always come out the requested side, every time, no matter which they call. After enough rounds, your friend is convinced you know the password, yet they never heard it. A zero-knowledge proof packages that kind of repeated, unfakeable demonstration into a single piece of math.
This matters far beyond party tricks. It lets you prove you are over 18 without revealing your birthday, prove you have enough funds without disclosing your balance, or prove a whole batch of transactions was computed correctly without re-running it, which is exactly how zk-rollups scale a blockchain. Zero-knowledge proofs let blockchains keep their core promise of verifiability while restoring a measure of privacy that fully public ledgers otherwise give up.