Crate monero_generators

source ·
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): Enables std (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§