Digital Future Explained

Zero-Knowledge Proofs: The Claim, the Secret, and the Limits

Published by World Made Clear

Short answer

A zero-knowledge protocol lets a verifier check a defined statement without learning the hidden witness beyond what the statement reveals. Its guarantee depends on the rules checked, the security model, and the surrounding system.

Watch the video

Start with the exact claim

Suppose you have completed a Sudoku and want to convince someone that you have a valid solution while keeping its numbers private. Showing the grid would settle the question, but it would also give away the answer. A zero-knowledge protocol aims to separate those two outcomes: convincing a verifier and exposing the information used to convince them.

The hidden information is often called a witness. In this example, it is the completed grid. The public statement must specify the puzzle and what counts as a solution. A protocol for a different puzzle would not answer the question you intended to ask, however impressive its mathematics.

This is a useful starting point for understanding the video’s password and cave examples. Ask what is public, what stays private, and what the verifier is entitled to conclude. Each question concerns a different part of the system.

The cave explains why a challenge matters

Imagine a loop with a locked connecting door at its far end. A person enters by one branch while an observer waits outside, unable to see which branch they chose. The observer then randomly requests that the person return by the left or right branch.

Someone who can open the connecting door can satisfy either request. Someone who cannot open it must hope that the requested exit is the branch they already chose. In this simplified story, a fair, unpredictable request gives that person a one-in-two chance of passing one round.

Repeat the experiment with fresh independent choices. The chance of a person without access passing ten rounds is one in 1,024; passing twenty is one in 1,048,576. These numbers come from multiplying one-half by itself for the number of rounds. They describe the assumptions of this toy example, not a security rating for a real product.

The order matters. If the observer announces the desired exit before the person enters, the person can simply take that branch. If the same challenge repeats predictably, guessing becomes easier. What looked convincing depended on how the test was arranged.

The observer never hears the door’s secret. Yet the story does not specify digital messages, a malicious observer’s capabilities, or a deployable authentication protocol. It gives intuition for a challenge, not instructions for building secure software.

Three properties answer three different questions

Cryptographic discussions separate completeness, soundness, and zero knowledge. Completeness asks whether an honest prover with a true statement can convince the verifier. Soundness asks whether a false statement can be accepted. Zero knowledge concerns what the verifier learns from the exchange beyond the public statement’s validity.

Oded Goldreich’s tutorial explains these requirements and the distinction between proofs and arguments. An argument’s soundness protects against computationally feasible cheating, so its security assumptions matter. A system can protect a secret yet fail to establish the intended claim, or check a claim while leaking its witness. Those are separate failures.

The privacy definition goes beyond “I did not type the secret.” It uses a simulator: roughly, a process that can reproduce the verifier’s view without the secret witness. This provides a way to analyse whether seeing the protocol gives the verifier additional information. The exact mathematical definition depends on the form of zero knowledge being claimed.

Existence and knowledge are different claims

Consider the statement “there exists a value that produces this public hash.” Compare it with “I know a value that produces this public hash.” For authentication, the second claim is the useful one. Establishing that an answer exists somewhere does not establish that the person requesting access possesses it.

Justin Thaler’s survey uses a hash-based authentication example to explain why a proof of knowledge matters. It also distinguishes a short proof, a non-interactive proof sent as one message, and a proof of knowledge. The words describe different properties; they should not be treated as interchangeable labels for privacy.

Returning to Sudoku makes the distinction easier to inspect. Is the application asking whether a puzzle is solvable, whether the prover knows a solution, or whether a particular private grid meets the rules? Those may be related questions, but the public statement needs to match the intended task.

A correct proof can check an incomplete rule

For the Sudoku example, imagine checking every row but forgetting the columns and boxes. Each row could contain the right digits while the whole grid still violates Sudoku rules. A system that faithfully verifies only the row checks has not failed at its stated job. The stated job is incomplete.

That example illustrates why translating a task into constraints deserves close attention. Thaler’s survey discusses the conversion of programs into circuits as a part of constructing verifiable computations. A check can establish only the conditions represented in the computation it verifies.

A practical review should therefore start with the sentence the application claims to prove. Include the relevant public input: which puzzle, which rules, and which output. Then inspect whether the implemented relation matches that sentence. “The proof passed” is useful evidence only after you know what passing establishes.

The same distinction applies when an input is meant to represent an outside fact. A mathematical check over a date does not itself tell you how that date was obtained. If the application needs a trusted record, its connection to that record is a separate design question.

Read the privacy boundary, not just the name

A proof’s zero-knowledge property concerns the information exposed by the protocol under its defined model. It does not automatically make every public input secret. If an application deliberately publishes the puzzle, zero knowledge about its solution does not conceal the puzzle.

Likewise, ask separately what the surrounding service records. A proof claim by itself is not a statement about a site’s logs, network traffic, or account identifiers. You need evidence about those parts rather than extending a mathematical guarantee to an entire product.

To inspect a zero-knowledge claim, write down three things:

  • Statement: What exact relation must hold, and which inputs are public?
  • Witness: What private information lets the prover satisfy that relation?
  • Assumptions: What must hold for the verifier to rely on the result?

For the Sudoku example, the puzzle and all its rules belong in the statement; the completed grid is the witness. Omitting a rule changes what success means. The same specification problem appears in formal proofs about software: checking the proof and deciding whether it answers the intended question are separate jobs.

Check the facts

Sources

  1. Zero-Knowledge twenty years after its inventionOded Goldreich, Weizmann Institute of Science
  2. Proofs, Arguments, and Zero-KnowledgeJustin Thaler, Georgetown University

Keep exploring

Related explanations

More videos and articles that help explain the same subject.