Overview#Commitment Scheme is a Cryptographic Primitive that allows one to commit to a chosen value (message) while keeping it hidden to others, with the ability to reveal the committed value later.
Commitment Scheme are designed so that a party cannot change the message after they have committed to it: that is, Commitment Schemes are binding.
Commitment Schemes MUST have two properties:
- Hiding - Bob shouldn't be able to figure out the Message from the commitment.
- Binding (Second Preimage Resistance) - The Alice shouldn't be able to change the Message after she made the commitment.