Search looks through the written questions first. The AI only answers when nothing matches.

What is a zk-SNARK, in outline?

Experienced · Updated

A zk-SNARK is a short proof that a statement is true, without showing the secret data that makes it true. The verifier checks the proof quickly and does not have to redo the whole computation. Many constructions need a trusted setup: a ceremony that produces public parameters and a secret that is supposed to be destroyed. If that secret is kept, in those schemes someone can forge proofs. The statement is public; the witness, the secret inputs, stays hidden.

For you, a proof that verifies means the circuit was satisfied, not that the circuit encodes the rules you think you are using. A mistake in the constraints can make a false statement provable, and verification still passes. For a node operator who checks these proofs, the cost is small relative to the computation being proved, but the trust includes the setup, when there is one, and the circuit that was fixed. No circuit is shown here, and neither is a way to break a proof system.

Informational text from Criptos.ai. It is not a buy or sell recommendation, and it is not tax advice. This is general information, not financial, tax or legal advice. We do not promise gains.

In the glossary

In the Academy: Advanced · In the Academy · In the glossary

Related questions