Skip to main content

get_commitment_secret

Function get_commitment_secret 

Source
pub fn get_commitment_secret(
    commitment_seed: &[u8; 32],
    commitment_number: u64,
) -> [u8; 32]
Expand description

Derive the commitment secret for a given commitment number from a seed.

The commitment number should be in the range [0, 2^48).