Introduction
Sometimes you only need to check one fact about someone, such as
whether they meet an age requirement.
What you’ll learn
Identify the public statement and private witness and explain the
three properties of a zero-knowledge proof.
Lesson
A prover supplies evidence that a statement satisfies a defined rule.
In a zero-knowledge system, the verifier can check the statement while
the prover’s private inputs, or witness, remain hidden
by the proof. For the workshop, the public statement might name the
event and its approved credential issuer. The witness could include a
signed membership credential and its private fields. The rule would
check the issuer’s signature, the membership status, and any validity
conditions the event requires.
Three properties answer three different questions.
Completeness asks whether an honest prover can convince
an honest verifier of a true statement. Soundness asks
whether a false statement can pass except with an acceptably small
probability under the system’s assumptions. Zero
knowledge asks whether verification reveals information about
the witness beyond what follows from the public statement. A statement
that explicitly includes a birth year already reveals that year.
For an interactive intuition, imagine a volunteer secretly chooses
one of two entrances to a connected rehearsal room. A locked interior
door connects the routes. Only after the volunteer enters does an
observer randomly request an exit. Someone with the door key can exit
either way. Someone without it succeeds only when the requested exit
matches their choice, assuming the observer cannot be fooled about the
exits. After ten independent rounds, guessing every answer succeeds with
probability 1 in 1,024. The analogy illustrates challenge and response.
In suitable cryptographic protocols, the Fiat–Shamir transformation
derives challenges from a hash of the transcript and context under
specified assumptions. A non-interactive proof can then be checked
without a live exchange.
Practice quiz
Select one answer per question.
Answer key and explanations
- A. The private credential and related private
inputs used by the rule.
- B. Investigate soundness and inspect whether the
implemented rule omitted an eligibility condition. A sound proof system
can faithfully prove an incorrectly defined rule.
Sign in with Discord to take this quiz and earn your badge.