What Is the Cryptographic Basis for a ‘Commit-Reveal’ Scheme?

The cryptographic basis for a 'commit-reveal' scheme lies in the use of a collision-resistant cryptographic hash function. In the commit phase, the trader computes a hash of their transaction details concatenated with a secret random number (a salt or nonce).

Because the hash function is collision-resistant, it is computationally infeasible to find another input that produces the same hash, proving the commitment is genuine. In the reveal phase, the original data and the secret number are revealed, and the network verifies the hash, ensuring the transaction was not altered.

Explain the Concept of a ‘Commit-Reveal Scheme’ as an Anti-Front-Running Measure
What Are the Two Distinct Phases of a Commit-Reveal Scheme?
What Is a Commit-Reveal Scheme and How Does It Deter Malicious Transaction Ordering?
What Is the ‘Commitment’ Step in a Commit-Reveal Scheme and What Information Does It Contain?
Can a Quantum Computer Break the Security of a Standard Hash-Based Commit-Reveal Scheme?
What Is the Difference between a Commitment Scheme and a Zero-Knowledge Proof?
In a Commit-Reveal System, What Is the Minimum Time Delay between the Commit and the Reveal?
Can a Hash Be Used to Prove Ownership of a Derivative Token without Revealing the Underlying Asset?

Glossar