Think of this as proving a map has been colored correctly without handing over the whole answer key. The prover hides every node's color, then the verifier points to just one connecting line and asks to see only the two colors at its ends.
If those two touching nodes are different colors, that local check passes. Because the hidden colors are shuffled each round, the verifier never gets enough information to reconstruct the whole map, but repeated spot-checks still make cheating harder and harder.
| Node | Commitment (SHA-256, truncated) |
|---|---|
| 0 | 0x… |
| 1 | 0x… |
| 2 | 0x… |
| 3 | 0x… |
| 4 | 0x… |
Enumerate (colour, nonce) openings in order, hash each with real SHA-256, and match against the five published digests. The same attacker function runs against the exhibit's 16-byte nonce and against a deliberately weakened 8-bit nonce, so the difference you see is the nonce space and nothing else.
| Nonce width | Openings that exist | Real hashes tried | Fraction searched | Openings recovered | Expected cost to break one |
|---|---|---|---|---|---|
| 16 bytes (this exhibit) | — | — | — | — | — |
| 1 byte (weakened control) | — | — | — | — | — |
Take only what the verifier legitimately saw — the challenged edges and the opened colour pairs — then enumerate all 35 = 243 colorings and keep every one no round rules out. A candidate survives a round if some palette permutation maps it onto what was opened, because the permutation is secret and fresh each round.
| Knowledge held | Colorings still possible | Best single guess |
|---|---|---|
| Nothing (before any round) | 243 | 0.41% |
| This verifier's transcript | — | — |
| Transcript + broken commitments (fills in after Attack 1) | — | — |
| The witness itself | 1 | 100% |
SHA-256(color ‖ nonce) — the reveal step re-hashes each opening and rejects any that does not match the published digest. After k independent rounds, P(undetected cheat) = (5/6)k. The extractor bench above turns that claim into a measurement: the transcript-only candidate set never falls below the 18 proper colorings of this graph, which is exactly the statement being proved, while breaking the commitments collapses it to 6. This remains a teaching model in scale (5 nodes, 3 colours, no reveal-window enforcement), not the soundness argument.