p3_poseidon2

Function poseidon2_round_numbers_128

Source
pub fn poseidon2_round_numbers_128<F: PrimeField64>(
    width: usize,
    d: u64,
) -> (usize, usize)
Expand description

Given a field, a width and an D return the number of full and partial rounds needed to achieve 128 bit security.