pub fn natural_numbers_generators(mod_num: u64) -> Vec<u64>Expand description
Computes the generators of a cyclic group
ยงExamples
use pedersen_hash_function::natural_numbers_generators;
let cyclic_group = 5;
let generators = natural_numbers_generators(cyclic_group);
assert_eq!(generators,[2,3]);