Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

Trusted setup

A cryptographic process where secret values are generated and then destroyed to create public parameters for zero-knowledge proofs or other cryptographic systems, relying on participants to act honestly.

Technical definition

In cryptography, a trusted setup refers to a multi-party computation (MPC) where one or more parties generate secret random values (often called "toxic waste") that are used to create public parameters (e.g., structured reference strings like CRS or SRS). These secret values must be destroyed or kept private to ensure the security of the system, as knowledge of these values could allow an attacker to forge proofs or break the cryptographic scheme. The process is 'trusted' because if any participant misbehaves by keeping or leaking their secret values, the entire system's security is compromised.

An analogy

Imagine a group of scientists creating a master key for a city’s vault. Each scientist contributes a piece of the key, and then they all destroy their individual pieces. If even one scientist secretly kept a piece, they could later unlock the vault alone. The trusted setup ensures everyone follows the rules and destroys their pieces to keep the vault secure.

Why it matters

Trusted setups are critical for enabling advanced cryptographic primitives like zk-SNARKs (used in privacy-preserving blockchains) or secure multi-party computation. Without them, these systems would either be insecure or require impractical assumptions about hardware or software trust.

Where it came from

The concept emerged with the introduction of zk-SNARKs in the early 2010s, notably in the Zerocash protocol (2013) and later in Zcash (2016). Early implementations relied on a single trusted party (e.g., a ceremony with scientists), which was later replaced by multi-party ceremonies (e.g., Zcash’s Powers of Tau ceremony in 2018) to distribute trust.

Example in practice

In Zcash, a trusted setup was used to generate the public parameters for its zk-SNARKs, enabling private transactions on its blockchain. The ceremony involved hundreds of participants worldwide, each contributing randomness to the setup, which was then combined and partially destroyed to ensure no single party could compromise the system.

Common misconceptions

  • Trusted setups are always insecure → Correction: While they require trust, modern multi-party ceremonies (e.g., Powers of Tau) distribute this trust across many participants, reducing risk.
  • The setup must be done by a single trusted entity → Correction: Many modern systems use distributed ceremonies where no single entity holds all the secrets.
  • Once completed, the setup can never be reused → Correction: Some setups (e.g., universal CRS) can be reused for multiple applications, though others are application-specific.

Risks & limitations

  • Single-point-of-failure: If a single participant in a trusted setup ceremony is compromised or malicious, the entire system’s security may be at risk.
  • Lack of verifiability: In some setups, it may be impossible to prove that secrets were truly destroyed, leaving residual trust assumptions.
  • Complexity: Trusted setups are technically complex and require careful execution; errors can lead to vulnerabilities.
  • Centralization risks: Even distributed ceremonies may rely on a small group of coordinators, which could become a target for coercion or infiltration.

Related terms

About "Trusted setup" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Can trusted setups be completely trustless?

No. While multi-party ceremonies reduce trust assumptions, they cannot eliminate them entirely. The process still relies on participants acting honestly during the ceremony.

What happens if a trusted setup is compromised?

If the secrets (toxic waste) are leaked, an attacker could forge proofs or break the cryptographic system. For example, in zk-SNARKs, this would allow double-spending in privacy-preserving blockchains like Zcash.

Are there alternatives to trusted setups?

Yes. Some newer systems use transparent setups (e.g., zk-STARKs) that do not require a trusted setup, though they may have other trade-offs like larger proof sizes.

How do I know if a trusted setup was done correctly?

You rely on the transparency and reputation of the ceremony participants, the cryptographic proofs of the setup’s correctness, and the absence of detectable anomalies in the generated parameters. However, absolute verification is often impossible.