Proving Without Revealing — The Intuition
Let's start with a cave
There's a cave. Inside, the path splits into two tunnels, left and right. Deep inside, where the tunnels meet, there is a locked door. Only someone who knows the secret word can open it and pass through to the other side.
You claim you know the secret word. Your friend Victor doesn't believe you. But you don't want to say the word out loud — maybe it's valuable, maybe it's private, maybe you just don't want to.
So Victor proposes a game.
The game
You walk into the cave and pick a tunnel — left or right. Victor waits outside and doesn't see which one you took.
Once you're inside, Victor shouts a side. "Come out from the right tunnel."
If you know the secret word, no problem. You use the door, cross to the other side, and walk out from the right.
If you don't know the secret word and you happened to pick the right tunnel already, you get lucky and walk out. But if you picked left, you're stuck. You can't cross. You come out the wrong side and Victor knows you lied.
What just happened
That game is a zero-knowledge proof in its simplest form.
Victor learned exactly one thing: you know the secret word. He learned nothing about what the word actually is. You never said it. You never wrote it down. You just demonstrated knowledge of it through repeated, verifiable actions that would be nearly impossible to fake.
This is the intuition behind every ZK system in production today. The math gets more complex. The principles don't.
Try it yourself with the simulation on the right. Toggle whether Peggy knows the secret and watch what happens when she does and when she doesn't. The probability display updates in real time after each round.
Scroll to the end to continue →
Memorise positions — then let the verifier shuffle