Crate monero_generators

Source
Expand description

Generators used by Monero in both its Pedersen commitments and Bulletproofs(+). An implementation of Monero’s ge_fromfe_frombytes_vartime, simply called hash_to_point here, is included, as needed to generate generators.

Structs§

Generators
Container struct for Bulletproofs(+) generators.
H
Monero alternate generator H, used for amounts in Pedersen commitments.

Functions§

bulletproofs_generators
Generate generators as needed for Bulletproofs(+), as Monero does.
hash_to_point
Monero’s hash to point function, as named ge_fromfe_frombytes_vartime.