commit

Function commit 

Source
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)