Expand description
§Monero Generators
Generators used by Monero in both its Pedersen commitments and Bulletproofs(+).
An implementation of Monero’s hash_to_ec
is included, as needed to generate
the generators.
This library is usable under no-std when the std
feature (on by default) is
disabled.
§Cargo Features
std
(on by default): Enablesstd
(and with it, more efficient internal implementations).
Structs§
- Container struct for Bulletproofs(+) generators.
Constants§
- The amount of bits a value within a commitment may use.
- The logarithm (over 2) of the amount of bits a value within a commitment may use.
- The maximum amount of commitments provable for within a single range proof.
Statics§
- Monero’s
H
generator.
Functions§
- Monero’s
H
generator, multiplied by 2**i for i in 1 ..= 64. - Generate generators as needed for Bulletproofs(+), as Monero does.
- Monero’s
hash_to_ec
function.