TL;DR
You'll write a four-line Noir circuit, generate a real zero-knowledge proof, and verify it.
Along the way you'll learn the difference between public and private inputs, and what "circuit", "witness" and "backend" actually mean.
Three posts of theory. It's time to make an actual proof.
We'll use Noir , a Rust-flavored language for writing ZK circuits. I picked it for the start of this series because it reads like normal code, which makes it the gentlest on-ramp I've found.
Intuition: a circuit is a checklist, not a program
A normal program computes an answer. A ZK circuit checks an answer. You don't ask it "what's the result?". Instead you hand it a filled-in form and it says β
or β.
Think of a customs officer with a checklist. You (the prover) show up with your paperwork already filled in. The officer doesn't fill anything in for you; they just tick boxes.β¦