Zero-knowledge proofs power private blockchain transactions, identity checks, and verifiable computation without leaking sensitive data.
This lab starts with intuitive stories, then graduates into real browser-side arithmetic and hashing so the jump from idea to implementation is visible in one sitting.
The Ali Baba Cave Protocol
Someone proves they know the secret word for the cave door without ever saying the word.
Graph 3-Coloring ZKP
Someone shows a map is colored correctly without revealing the full color pattern.
Schnorr Identification Protocol
Someone proves they know a secret number by passing a math check without revealing it.
Hash Commit-Reveal
Someone locks in a hidden bid first, then reveals it later to prove they never changed it.
Fiat-Shamir (Non-Interactive)
Convert challenge-response into a single verifiable proof by deriving the challenge from a hash.
zk-SNARK Intuition
See setup, proving, and verification flow with public/private input separation in one toy pipeline.