liveBook · Manning

Zk-SNARK

A zk-SNARK is a zero-knowledge, succinct, non-interactive argument of knowledge that enables efficient verification of a prover’s knowledge of a computation’s secret witness without revealing it.

How 2 Manning books explain it

Real-World Cryptography

A zero-knowledge succinct non-interactive argument of knowledge that lets a prover demonstrate knowledge of a computation's secret witness with a short proof that can be checked efficiently.

How it is used
Deploys succinct non-interactive proofs to validate outsourced or partially hidden program executions.
How deep it goes
Explains polynomial relations, arithmetic constraints, random-point checking, and setup risks without detailing a complete construction.
Examples
Uses outsourced computation, solvable Sudoku, polynomial roots, and a branching arithmetic function as teaching examples.
What you can do after
Evaluate/understand when succinct proofs fit a use case and recognize polynomial translation, verification, and setup tradeoffs.

Read how Real-World Cryptography explains zk-SNARK →

Elliptic Curve Cryptography for Developers

A zk-SNARK is a zero-knowledge SNARK that proves knowledge of a witness without revealing the witness.

How it is used
Establishes private knowledge claims with compact, noninteractive proofs that verify quickly.
How deep it goes
Develops QAP gates, wires, interpolant functions, CRS setup, proof generation, and verification through a five-program implementation.
Examples
Uses Ali Baba’s cave and four C programs for QAP construction, CRS generation, proof creation, and verification.
What you can do after
Evaluate/understand how a QAP, CRS, witness, proof, and verification equation form a zk-SNARK workflow.

Read how Elliptic Curve Cryptography for Developers explains zk-SNARK →

Related concepts

Questions about zk-SNARK

What is zk-SNARK?

A zk-SNARK is a zero-knowledge, succinct, non-interactive argument of knowledge that enables efficient verification of a prover’s knowledge of a computation’s secret witness without revealing it.

Which Manning books explain zk-SNARK?

Real-World Cryptography and Elliptic Curve Cryptography for Developers.

What is the difference between zk-SNARK and adaptive soundness?

A zk-SNARK is a zero-knowledge, succinct, non-interactive argument of knowledge that enables efficient verification of a prover’s knowledge of a computation’s secret witness without revealing it. Adaptive soundness is a proof-system property requiring soundness against provers that may choose statements in response to prior information or interactions.

What is zk-SNARK a kind of?

Zk-SNARK is a kind of proof of knowledge. A proof of knowledge is a cryptographic proof in which a prover demonstrates knowledge of a witness satisfying a specified statement.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.