pub type Poseidon2GoldilocksHL<const WIDTH: usize> = Poseidon2<<Goldilocks as Field>::Packing, Poseidon2ExternalLayerGoldilocksHL<WIDTH>, Poseidon2InternalLayerGoldilocks, WIDTH, GOLDILOCKS_S_BOX_DEGREE>;
Expand description
A recreating of the Poseidon2 implementation by Horizen Labs for the Goldilocks field.
It acts on arrays of the form [Goldilocks; WIDTH]
The original implementation can be found here: https://github.com/HorizenLabs/poseidon2.
This implementation is slightly slower than Poseidon2Goldilocks
as is uses a slower matrix
for the external rounds.
Aliased Typeยง
struct Poseidon2GoldilocksHL<const WIDTH: usize> { /* private fields */ }