Zero-knowledge proof

A protocol in which a prover convinces a verifier that a statement is true, such as knowing a secret, without revealing anything beyond the fact that the statement is true.

A zero-knowledge proof lets one party, the prover, convince another, the verifier, that a statement is true without revealing anything else. A typical statement is “I know the secret behind this public value”. Shafi Goldwasser, Silvio Micali and Charles Rackoff introduced the concept in 1985. A zero-knowledge proof has three properties: completeness (an honest prover with a true statement convinces an honest verifier), soundness (a cheating prover succeeds only with negligible probability) and zero knowledge (the verifier learns nothing beyond the truth of the statement).

The usual teaching illustration is a ring-shaped cave with a locked door at the back: the verifier calls out which side the prover should return by, and a prover who knows the password can comply every time, while a guesser fails about half the time in each round. Repeating the challenge drives the chance of cheating down. In practice the idea supports authentication without sending a reusable secret, as in the Schnorr identification scheme, and checks such as proving an age is over a threshold without disclosing the date of birth.

Exam relevance: a scenario in which someone must prove they know a password or hold a credential without revealing it is likely to be describing a zero-knowledge proof. Candidates are expected to connect it to demonstrating knowledge rather than transmitting it.