Abstract
Bit commitment is a fundamental primitive in cryptography, essential for constructing secure zero-knowledge proofs and identification schemes. Historically, bit commitment protocols relied on the existence of one-way permutations—a relatively strong mathematical assumption. In this work, Moni Naor demonstrates that bit commitment can be constructed using any pseudorandom generator (PRG). By shifting the requirement to the more general assumption of pseudorandomness, this paper effectively proves that bit commitment is possible if and only if one-way functions exist. Furthermore, the paper introduces a method to commit to multiple bits with $O(1)$ amortized communication cost, significantly improving protocol efficiency.
Introduction
In the digital world, a bit commitment protocol serves as the equivalent of Alice placing a secret bit into a locked box and handing it to Bob. The protocol must satisfy two primary properties:
- Hiding: Bob cannot see the bit inside the box before Alice provides the key.
- Binding: Alice cannot change the bit once the box has been handed to Bob.
Prior to Naor's work, the "minimalist" goal of cryptography—basing complex protocols on the weakest possible assumptions—faced a bottleneck. While bit commitment was known to be achievable via one-way permutations, researchers sought to base it on one-way functions, the most basic building block of complexity-based cryptography. Additionally, existing protocols were communication-intensive, typically requiring Alice to send a number of bits proportional to the security parameter $n$ for every single bit committed.
The Single-Bit Protocol
Naor’s primary contribution is an interactive "challenge-response" commitment stage. Unlike previous non-interactive attempts, this protocol utilizes Bob's input to ensure security.
The Commitment Phase
- Bob's Challenge: Bob initiates the protocol by sending a random vector $R$ of length $3n$ to Alice.
- Alice's Commitment: Alice selects a secret seed $s$ for a pseudorandom generator. She then constructs a vector $D$ to send to Bob. For every position $i$ where Bob's $R_i = 0$, Alice sends the $i$-th bit of the PRG output. Where $R_i = 1$, she sends the $i$-th bit of the PRG output XORed with her secret bit $b$.
The Reveal Phase
To open the commitment, Alice sends the seed $s$ and the bit $b$ to Bob. Bob then verifies if the PRG output generated from $s$ matches the vector $D$ according to the rules established in the commitment phase.
By allowing Bob to provide a random string $R$ first, the protocol "binds" Alice to her seed. Even if a PRG possesses "bad" seeds that might produce similar outputs, the probability that Alice could find two seeds to represent different bits for a randomly chosen $R$ is exponentially small ($2^{-n}$).
Amortization via Coding Theory
To address the efficiency of committing to a sequence of bits $b_1, b_2, \dots, b_m$, Naor introduces a many-bits protocol using error-correcting codes, specifically Justesen codes.
In this variation, Alice encodes her sequence of bits into a codeword. Rather than XORing a single bit against the PRG output, she XORs the entire codeword. The high Hamming distance inherent in the error-correcting code ensures that Alice cannot find two different PRG seeds that would allow her to reveal two different valid codewords. This approach allows the communication cost to drop to $O(1)$ bits per bit commitment when committing to a large number of bits (where $m$ is at least linear in the security parameter $n$).
Theoretical Significance and Results
Naor’s work is a landmark in the foundations of cryptography. By demonstrating that PRGs are sufficient for bit commitment, and building on the work of Håstad, Impagliazzo, Levin, and Luby (who showed one-way functions can build PRGs), the paper establishes that bit commitment is possible if and only if one-way functions exist.
Key Performance Metrics:
- Security: The protocol is computationally hiding (Bob cannot guess the bit better than a coin flip without breaking the PRG) and statistically binding (Alice's chance of successfully cheating is less than $2^{-n}$).
- Efficiency: The $O(1)$ amortized cost represents a massive improvement over the $O(n)$ cost of previous methods.
- Simplicity: The reliance on basic bitwise XOR operations and PRGs makes the protocol highly practical for real-world implementation.
Limitations
Despite its efficiency and foundational importance, the protocol has specific constraints:
- Interactivity: The requirement for Bob to send a message first precludes use in non-interactive settings, such as public bulletin boards where the recipient is not yet known. Non-interactive commitment typically requires stronger algebraic assumptions.
- Trusted Randomness: The security relies on the vector $R$ being truly random and unknown to Alice at the time she selects her seed. While a trusted third party could generate $R$ once for universal use, the dependency remains.
- Threshold for Efficiency: The $O(1)$ efficiency gain is only realized when committing to a large volume of bits ($m \approx n$); for single-bit commitments, the $O(n)$ overhead persists.
Summary updated