liveBook · Manning

Trusted setup

As explained in Real-World Cryptography

A trusted setup is a cryptographic parameter-generation process that creates public evaluation parameters from secret randomness and requires that randomness to be destroyed or kept unknown.

A trusted setup creates public parameters from secret randomness. The parameters let a prover perform hidden computations without revealing the secret value, but anyone who keeps that value may forge proofs. The secret is often called toxic waste. section 15.3 section 15.3.4

A typical trusted setup proceeds in three steps:

  • Choose a random value r. section 15.3.4
  • Publish commitments such as g, gr, gr², and gr³, allowing polynomial computations without revealing r. section 15.3.4
  • Destroy r after the ceremony; multiparty computation reduces the risk because one honest participant can delete their contribution and flush the toxic waste. section 15.3 section 15.3.4

Polynomial evaluation without revealing r

For f(x) = 3x² + x + 2, a prover can compute (gʳ²)³ gʳ g². This commits to f(r) while the prover never learns r. If r became known, an invalid polynomial could still pass the equality check. section 15.3.4

Figure 15.12 The Schwartz-Zippel lemma says that two different polynomials of degree n can intersect in at most n points. In other words, two different polynomials will differ in most points.

The Schwartz-Zippel visualization shows why checking polynomials at a hidden random point makes different polynomials unlikely to agree. section 15.3.4

How Real-World Cryptography covers it

How deep it goes
Explains parameter generation, polynomial commitments, secret destruction, and forgery risk without detailing ceremony implementations.
Examples
Uses exponentiated group elements, the polynomial 3x² + x + 2, and the Schwartz-Zippel lemma to illustrate hidden evaluation.
What it assumes
Assumes familiarity with zero-knowledge proofs, polynomial evaluation, group commitments, and common reference strings.
What you can do after
Evaluate whether a ZK proof ceremony protects its secret randomness and understand why revealing it enables forgery.
How it connects
Connects trusted setup to zero-knowledge proofs, zk-SNARKs, common reference strings, multiparty computation, and transparent setups.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.