A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Commitment Schemes

Research Depth 100 in the knowledge graph ☐ I know this ☆ Set as goal
3topics build on this
539prerequisites beneath it
See this on the map →
Hash Functions and Collision ResistanceOne-Way Functions→→Secure Multi-Party ComputationZero-Knowledge Proofs Advanced
commitment hiding binding pedersen hash-commitment

Core Idea

A commitment scheme lets a party commit to a value while keeping it hidden (hiding), with the guarantee that they cannot later change the committed value (binding). Think of sealing a value in an envelope: the envelope hides the value, and you cannot change it after sealing. Commitments have two phases: commit (produce a commitment c to value v) and reveal (open c to show v). Hash-based commitments (c = H(v || r) for random r) provide computational hiding and binding. Pedersen commitments (c = gv * hr) provide information-theoretic hiding with computational binding. Commitments are essential building blocks for zero-knowledge proofs, coin-flipping protocols, secure computation, and blockchain applications.

Explainer

A commitment scheme is one of the most fundamental primitives in cryptography, enabling a party to "lock in" a value while keeping it secret, and later reveal it with proof that they haven't changed it. The protocol has two phases: in the commit phase, the committer produces a commitment c to a value v (like sealing v in an envelope). In the reveal phase, the committer opens c by revealing v and any randomness used, and anyone can verify that c was indeed a commitment to v. Two security properties must hold: hiding (the commitment reveals nothing about v to an observer) and binding (the committer cannot open c to a different value v').

The simplest construction is hash-based: c = H(v || r) where r is a random nonce. Revealing means sending v and r; verification checks that H(v || r) = c. Hiding holds because the random r makes c computationally indistinguishable from a random hash output (even if v comes from a small set). Binding holds because finding v' != v and r' with H(v' || r') = H(v || r) requires a hash collision — computationally infeasible. The Pedersen commitment (c = gv * hr in a group where log_g(h) is unknown) achieves information-theoretic hiding: for any c and any target v', there exists an r' making c = gv' * hr', so the commitment is consistent with every possible value — no computation can extract v. Binding is computational: opening to two different values would reveal log_g(h).

A fundamental impossibility result constrains the design space: perfect hiding and perfect binding cannot coexist. If the commitment is consistent with every value (perfect hiding), the committer could in principle find an alternative opening (breaking perfect binding, though this requires solving a hard problem). If the commitment uniquely determines the value (perfect binding), an unbounded adversary could find that value (breaking perfect hiding). Every scheme must choose one property to be information-theoretic and the other computational.

Commitments are ubiquitous in cryptographic protocols. Zero-knowledge proofs use commitments to let the prover lock in their responses before seeing the verifier's challenges (preventing cheating). Fair coin-flipping (Blum's protocol) uses commitments so neither party can bias the outcome. Secure computation protocols use commitments to enforce honest behavior. Blockchain applications use commitments extensively: Merkle trees (vector commitments for block contents), Pedersen commitments (hiding transaction amounts in confidential transactions), and polynomial commitments (KZG, used in blockchain proof systems). The humble commitment — "I've decided, but I'm not telling you yet" — is one of the most versatile building blocks in the entire cryptographic toolkit.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Boolean Type and Truth Values → Comparison Operators and Boolean Tests → Logical Operators and Boolean Algebra → Boolean Algebra and Fundamental Laws → Logic Gates Fundamentals → Implementing Boolean Functions with Gates → Karnaugh Map Simplification → Combinational Circuit Design → Flip-Flops and Latches → Finite State Machines (FSMs) → Deterministic Finite Automata (DFA) → Nondeterministic Finite Automata (NFA) → Two-Way Finite Automata → NFA to DFA Conversion (Subset Construction) → DFA Properties and Minimization Algorithms → Regular Languages: Definition and Characterization → Context-Free Grammars (CFGs) → Pushdown Automata (PDA) → Equivalence of CFGs and Pushdown Automata → Closure Properties of Context-Free Languages → Limitations of Context-Free Languages → Pumping Lemma for Context-Free Languages → Turing Machines → Variants of Turing Machines and Equivalence → Nondeterministic Time Complexity and NP → The P vs. NP Problem → Complexity Class P: Polynomial Time → Hash Functions and Collision Resistance → The RSA Cryptosystem → Computational Hardness Assumptions → One-Way Functions → Commitment Schemes

Longest path: 101 steps · 539 total prerequisite topics

Prerequisites (2)

Leads To (2)