Skip to main content

Commit-Reveal Protocols

Definition

Commit-reveal protocols are cryptographic mechanisms used to ensure fairness and prevent front-running or manipulation in decentralized systems. In the first phase, a participant commits to a secret value by publishing a cryptographic hash of that value, without disclosing the value itself. In the second phase, the participant reveals the original secret, which can then be verified against the previously published hash. This two-step process ensures that all participants make their decisions independently before any information is revealed, promoting integrity.