Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Cryptography / Modern practice

Zero-Knowledge Proofs

Convince someone you know a secret without revealing anything about it.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1Proving you know a discrete log
  2. ?Check yourself

By the end you can

  • State completeness, soundness and zero knowledge
  • Follow the Schnorr identification protocol
  • Name applications

Helps to know: Diffie–Hellman Key Exchange

§1Proving you know a discrete log

Peggy knows xx with y=gxy = g^x. She sends a commitment t=grt = g^r for random rr; Victor replies with a random challenge cc; she answers s=r+cxs = r + cx. Victor checks gs=t⋅ycg^s = t \cdot y^c.

  • Complete: an honest prover always passes.
  • Sound: answering two different challenges for one commitment would reveal xx, so a cheater passes only by luck.
  • Zero knowledge: Victor could have produced the whole transcript himself, so it teaches him nothing.

Check yourself

  1. Q1
    In the Schnorr protocol the verifier checks…