Zero-Knowledge Proof (ZKP)
A zero-knowledge proof (ZKP) is a cryptographic method that lets one party prove a statement is true to another party without revealing any information beyond the fact that the statement is true.
A ZKP involves two roles. The prover knows some secret or has done some computation. The verifier wants to be convinced the claim is correct. The prover builds a proof that the verifier can check mathematically without ever seeing the underlying data. Early ZKPs needed back-and-forth challenges. Non-interactive versions bundle everything into a single proof that anyone can verify, which suits blockchains. zk-SNARKs and zk-STARKs are two widely used families.
For crypto users, ZKPs matter for privacy and scaling. Zcash's shielded transactions use zk-SNARKs to prove that a payment is valid without publishing the sender, receiver or amount. The proof shows the balances add up and no coins are spent twice. Zero-knowledge rollups use the same idea for speed. They process many transactions off the main chain, then post a compact validity proof to Ethereum. The main chain can confirm the batch is correct without re-running every transaction.
A common misconception is that anything labelled "zk" is private. Many zk-rollups publish transaction data openly and use proofs only to show correctness. Real risks also come from implementation. Generating proofs involves very complex calculations best performed on specialized machines. Some zk-SNARK systems depend on a trusted setup, and leftover secret values from that setup could allow fake proofs. Bugs in proof circuits or verifier code can also undermine security. Sound mathematics does not make every system built on it safe.