Work index/Applied cryptography
Hidden Path
A path can be proven without being shown. Draw four steps through a public maze and share a receipt anyone can verify.
Evidence
A receipt you can verify
The checked-in receipt carries one public field element. Run the pairing check on it, change its commitment, and compare the verdicts.
Verify the exampleImplementation
The circuit, browser workbench, verification worker and versioned export form a working prototype. The release pins the witness generator, proving key and verification key by SHA-256.
Constraint tests
All six permitted routes satisfy the witness generator. Tests supply a forbidden edge, a row wrap, wrong endpoints, an out-of-range vertex, an oversized salt and a mismatched commitment directly to the compiled circuit.
Run node --test tests/hidden-path.test.mjs from the checkout. The suite also creates a fresh proof and checks the published receipt. Read the test assertions.
Measured proving cost
One Windows Chrome 158 run at a 390 × 844 emulated touch viewport took 331 ms to prove and 19 ms to verify. Both timings exclude artifact loading and key checks. The workbench reports your own timings after each run.
Proving loads about 2.4 MiB of circuit and key data. Checking a receipt needs only the proof engine and a 3,156-byte verification key.