Skip to main content

prove

Function prove 

Source
pub fn prove(
    gens: &PedersenGens,
    com: &PedersenCommitment,
    bits: u32,
) -> Option<PedersenRangeProof>
Expand description

Prove that com opens to a value in [0, 2^bits).

Returns None when the value does not fit the bit width.