Skip to content
AdvancedLook up a term

Zero-knowledge proofs and privacy

Author
CRYPTO PORT Editorial
Published
Updated
Reading time
5 min

In short

A zero-knowledge proof establishes that a statement is true without revealing why. In a privacy context it demonstrates properties such as 'the balance is sufficient' or 'this is not a double spend' while keeping amounts and destinations private. The same machinery also powers scaling work, so the application depends on the goal.

Key points

  • Shows a statement is true without disclosing the reasoning
  • Validates a transaction while amounts and destinations stay hidden
  • The same technology also compresses data in rollups
  • Proving is expensive; verifying is cheap

Definition

A cryptographic technique by which a prover convinces a verifier that they hold certain secret information, or that some condition holds, without revealing the information itself. The verifier learns only that the conclusion is true.

An ordinary blockchain publishes the whole transaction in order to show it is valid. Zero-knowledge proofs break that link: the prover builds a proof from secret data, and the verifier decides the conditions hold by looking only at the proof. The underlying data never appears.

Applying this to privacy means designing the statement carefully. The funds being spent belong to the set previously received; they have not been spent already; inputs and outputs balance. Prove all of that at once and a transaction can settle without revealing which funds moved or how much.

The practical constraint is cost. Generating a proof takes time and memory, so device performance shows up directly in the user experience. Verification, by contrast, is cheap, which makes the network side efficient. That asymmetry is exactly what rollups exploit when they compress many transactions into a single proof.

Watch out for

  • · Schemes needing a trusted setup depend on that setup having been run honestly
  • · Proofs protect on-chain data only; network and device leaks are a separate matter
  • · Implementation flaws have leaked secrets before, so audit status is worth checking

Related coins

Read next

Crypto quizzes

Answer a few questions and get your result instantly.

Start