Crate wedpr_l_crypto_zkp_range_proof[−][src]
Expand description
Zero-knowledge proof (ZKP) functions for range proofs.
Functions
Proves whether a value belongs to (0, 2^RANGE_SIZE_IN_BITS - 1], and create a commitment for the value. It returns:
Proves whether all values in the list belongs to (0, 2^RANGE_SIZE_IN_BITS - 1], and create commitments for them with provided random blinding values and blinding basepoint. It returns:
Proves whether a value belongs to (0, 2^RANGE_SIZE_IN_BITS - 1], and create a commitment for the value with provided random blinding value. It returns:
Proves whether a value belongs to (0, 2^RANGE_SIZE_IN_BITS - 1], and create a commitment for the value with provided random blinding value and blinding basepoint. It returns:
Verifies whether a value embedded in the commentment belongs to (0, 2^RANGE_SIZE_IN_BITS - 1].
Verifies whether all values embedded in the commentment list belongs to (0, 2^RANGE_SIZE_IN_BITS - 1].
Verifies whether a value embedded in the commentment belongs to (0, 2^RANGE_SIZE_IN_BITS - 1], and use provided blinding basepoint.