← Back to section · Foundations of Cryptography

Zero-Knowledge Proofs: Proving a Statement While Revealing Nothing

Starting from completeness, soundness and zero-knowledge, through the Ali Baba cave, to the Fiat–Shamir transform, zk-SNARKs, and where zero-knowledge meets post-quantum cryptography.

Published 22 November 2026 · 6 min read · PQ Frontier

Zero-Knowledge Proofs: Proving a Statement While Revealing Nothing
AI-generated illustration by PQ Frontier
Video explainer · Zero-knowledge proofs: proving without revealing

“I know a secret, but I won’t tell you what it is — I’ll just convince you that I really know it.” This sounds like wordplay, but it is a class of cryptographic protocols given a rigorous definition by Goldwasser, Micali and Rackoff in 1985: zero-knowledge proofs (ZKP). They are among the most counterintuitive and most useful constructions in modern cryptography. This article covers the three defining properties, the classic parable, the bridge from interactive to non-interactive proofs, and the genuine intersection with post-quantum cryptography.

Three properties: what earns the name

A proof system deserves to be called zero-knowledge only if it satisfies all three:

  • Completeness: if the statement is true and the prover is honest, the verifier accepts (with overwhelming probability).
  • Soundness: if the statement is false, no cheating prover can get accepted except with negligible probability.
  • Zero-knowledge: the verifier learns nothing beyond the statement’s truth. The formal definition uses a simulator: a program that does not know the secret yet produces transcripts computationally indistinguishable from real interactions. If a transcript could have been fabricated without the secret, the real transcript cannot contain information about the secret.

A deep corollary follows: zero-knowledge proofs are non-transferable. A verifier who later shows the transcript to a third party cannot convince them — the transcript might have been simulated. This is the exact opposite of a digital signature, and grasping it explains ZKP’s unique place in protocol design.

The Ali Baba cave: intuition for interaction

The classic parable (Quisquater et al., 1989): a cave branches into a ring, and at the bottom a door opens only with a secret password. The prover claims to know it. Each round, the prover enters by the left or right passage at random; the verifier, standing at the entrance, calls out an exit side at random; the prover must emerge from the named side. Someone who doesn’t know the password and is stuck on the wrong side cannot pass through the door and can only guess — success probability 1/2 per round. After 20 rounds, the chance of faking it falls to about 2−202^{-20}. Throughout, the verifier never hears the password, and a video of the process convinces nobody else (footage can be staged). Completeness, soundness and zero-knowledge each take their place in the story. Real protocols replace the cave and door with mathematics: the prover sends a commitment (a randomised intermediate value), the verifier issues a random challenge, and the prover answers with a response — three moves per round, repeated to drive the cheating probability down. Σ\Sigma-protocols, such as Schnorr’s, are the standardised form of this skeleton.

Fiat–Shamir: from interactive to non-interactive

Interactive proofs need the verifier online, rolling dice. In 1986 Fiat and Shamir supplied the key move: replace the verifier with a hash function — the challenge is defined as the hash of the commitment (and the message). Since hash outputs are unpredictable, the prover cannot pre-select a favourable commitment, and the interactive dialogue collapses into a single self-contained, publicly verifiable artefact: proof = commitment + response, checkable offline by anyone. This is the Fiat–Shamir transform; the Schnorr signature is its direct offspring. Its security is argued in the random oracle model, which leaves a standing caveat: instantiating it with a concrete hash function requires additional analysis and parameter margin. Notably, the ML-DSA post-quantum signature standard is built on a lattice variant of this same idea (“Fiat–Shamir with aborts”) — the transform is the first bridge between ZKP and PQC.

zk-SNARKs: verifiability compressed to the extreme

One modern branch of non-interactive proofs pursues succinctness: proofs of a few hundred bytes, verified in milliseconds, regardless of how large the underlying computation is. The intuition behind zk-SNARKs (succinct non-interactive arguments of knowledge): encode the computation as a polynomial identity, and let the prover demonstrate consistency at a random evaluation point fixed by public parameters — a single random spot-check catches any cheating with high probability. The representative construction Groth16 (Groth, 2016) compresses a proof to three group elements. The costs are twofold: most SNARKs need a trusted setup ceremony to generate the public parameters, and mainstream constructions rest on elliptic-curve pairings — which, as our elliptic-curve article explains, do not survive quantum attacks.

What exactly is being proved: two levels often confused

Beginners routinely conflate two things. The first is a membership proof: establishing only that a statement is true (for example, “this number is a product of two primes”). The second is a proof of knowledge: establishing that the prover knows a witness (such as a discrete logarithm); the formal tool is a knowledge extractor — a program that interacts with a cheating prover and computes the witness out of it. The cave story proves the second kind: knowing the password. Another frequent confusion is strength: many protocols achieve only honest-verifier zero-knowledge (nothing leaks when the verifier tosses its coins honestly), while full zero-knowledge must hold against arbitrary malicious verifiers and needs extra machinery, such as having the prover commit to the challenge space first. Keeping these levels apart clarifies the application landscape: authentication (proving knowledge of a private key without presenting it — challenge–response login is its embryo), anonymous credentials (proving “I am over eighteen” or “I am a member” without handing over a full identity record), and correctness proofs in e-voting and sealed auctions. The common thread is replacing “show the data” with “show a proof,” so the information a verifier receives is exactly the statement itself.

The meeting point with PQC: lattice-based zero-knowledge

The intersection is now easy to state: zero-knowledge proofs that avoid pairings and discrete logarithms, and resist quantum attacks, are an active research direction within the post-quantum landscape. There are roughly three routes: hash-based proof systems (following the STARK line — hashes and Merkle trees in place of pairings, inherently quantum-resistant, at the cost of larger proofs); code-based systems; and lattice-based zero-knowledge proofs, which build, on the same Module-LWE / Module-SIS assumptions underlying ML-KEM and ML-DSA, proofs of statements such as “I know a short solution to this lattice equation,” with proof sizes and efficiency improving steadily in recent literature. A sober status note is in order: lattice-based ZKP today lives mainly in research papers and early standardisation exploration; no NIST-level standard exists yet. Its importance is directional — when the public-key foundation is wholesale replaced by lattices and hashes, the advanced protocols built on top (signatures, proofs, authentication) must change foundations too. That, precisely, is zero-knowledge’s real relationship to this site’s subject.

References

  • Goldwasser, Micali & Rackoff, The knowledge complexity of interactive proof systems, SIAM Journal on Computing 18, 186 (1989). https://doi.org/10.1137/0218012
  • Quisquater et al., How to explain zero-knowledge protocols to your children, CRYPTO ‘89, LNCS 435, 628 (1990).
  • Fiat & Shamir, How to prove yourself: Practical solutions to identification and signature problems, CRYPTO ‘86, LNCS 263, 186 (1987).
  • Groth, On the size of pairing-based non-interactive arguments, EUROCRYPT 2016, LNCS 9666, 305 (2016). https://eprint.iacr.org/2016/260
  • Ben-Sasson et al., Scalable, transparent, and post-quantum secure computational integrity, IACR ePrint 2018/046. https://eprint.iacr.org/2018/046

Tags: zero-knowledge proofsFiat-Shamirzk-SNARK