p3_bn254_fr

Type Alias Poseidon2Bn254

Source
pub type Poseidon2Bn254<const WIDTH: usize> = Poseidon2<Bn254Fr, ExternalLayerConstants<Bn254Fr, WIDTH>, Poseidon2InternalLayerBn254, WIDTH, BN254_S_BOX_DEGREE>;
Expand description

An implementation of the Poseidon2 hash function for the Bn254Fr field.

It acts on arrays of the form [Bn254Fr; WIDTH].

Aliased Typeยง

struct Poseidon2Bn254<const WIDTH: usize> { /* private fields */ }