Expand description
Hash-based commitment scheme.
A commitment protocol has two phases:
-
Commit: the sender picks random
rand computesC = H(r || m). They sendCto the receiver.Creveals nothing aboutm(hiding) and the sender can’t later claim a differentm'(binding). -
Reveal: the sender sends
(r, m). The receiver checksH(r || m) == C.
Used in threshold signing nonce rounds: each party commits to their nonce before any party reveals, preventing last-minute adaptive attacks.
Structs§
- Commitment
- A commitment: hash of (randomness || value).
- Decommitment
- The decommitment: randomness + value needed to open a commitment.