Module tari_crypto::ristretto::constants

source ·
Expand description

Provides nothing-up-my-sleeve (NUMS) generators of the Ristretto group, both in uncompressed and compressed forms. Generates a precomputation table for the first of these points for use in commitments. Tests the correctness of the NUMS construction.

Constants§

  • These points on the Ristretto curve have been created by hashing domain separation labels with SHA512 and converting the hash output to a Ristretto generator point by using the byte string representation of the hash as input into the from_uniform_bytes constructor in RistrettoPoint. This process is validated with the check_nums_points test below.

Functions§