Skip to content
    Blockchain notesZero Knowledge Proof (ZKP)

    Unit 1 – Introduction to Blockchain · 10

    Zero Knowledge Proof (ZKP)

    A zero-knowledge proof lets a prover convince a verifier that a statement is true without revealing the secret information behind it. A sound proof should not let a prover convince the verifier of a false statement, and a complete proof should work for a true one.

    Animated diagram

    You prove you know the combination to a locked door by opening it, without telling anyone the combination

    Secret witness → Prover → Proof only → Verifier. Follow the flow to see how zero knowledge proof (zkp) fits into a blockchain system.

    Make the invisible feel visible.

    A zero-knowledge proof lets a prover convince a verifier that a statement is true without revealing the secret information behind it. A sound proof should not let a prover convince the verifier of a false statement, and a complete proof should work for a true one.

    Think of it like this

    You prove you know the combination to a locked door by opening it, without telling anyone the combination.

    Under the hood

    How it works, step by step

    01

    Start with the idea

    A zero-knowledge proof lets a prover convince a verifier that a statement is true without revealing the secret information behind it. A sound proof should not let a prover convince the verifier of a false statement, and a complete proof should work for a true one.

    02

    Follow the example

    A privacy system can prove a payment follows balance rules without publishing every private detail of the payment.

    03

    Notice the benefit

    ZK proofs can support privacy and compact verification of complex computations.

    04

    Check the limitation

    Proof systems can be difficult to design and audit; some require trusted setup, extra computation or careful assumptions.

    Make it concrete

    Zero Knowledge Proof (ZKP) in practice

    Zero Knowledge Proof (ZKP) in practice

    A privacy system can prove a payment follows balance rules without publishing every private detail of the payment.

    Key point: Proof systems can be difficult to design and audit; some require trusted setup, extra computation or careful assumptions.

    Balanced view

    Advantages & disadvantages

    Advantages

    • ZK proofs can support privacy and compact verification of complex computations.

    Disadvantages

    • Proof systems can be difficult to design and audit; some require trusted setup, extra computation or careful assumptions.

    Keep these close

    Takeaways & common traps

    What to remember

    • A zero-knowledge proof lets a prover convince a verifier that a statement is true without revealing the secret information behind it. A sound proof should not let a prover convince the verifier of a false statement, and a complete proof should work for a true one.
    • ZK proofs can support privacy and compact verification of complex computations.
    • Proof systems can be difficult to design and audit; some require trusted setup, extra computation or careful assumptions.

    Watch out for

    • Do not assume zero knowledge proof (zkp) guarantees more than its design can prove.
    • Do not ignore the trade-off: Proof systems can be difficult to design and audit; some require trusted setup, extra computation or careful assumptions.

    Quick check

    Questions people ask

    Why is zero knowledge proof (zkp) useful?

    ZK proofs can support privacy and compact verification of complex computations.

    What is an important limitation?

    Proof systems can be difficult to design and audit; some require trusted setup, extra computation or careful assumptions.