pub fn commit(value: &[u8]) -> (Commitment, CommitmentOpening)Expand description
Create a cryptographic commitment to a value.
Uses a hash-based commitment scheme: C = H(value || blinding)
pub fn commit(value: &[u8]) -> (Commitment, CommitmentOpening)Create a cryptographic commitment to a value.
Uses a hash-based commitment scheme: C = H(value || blinding)