Poseidon2KoalaBear

Type Alias Poseidon2KoalaBear 

Source
pub type Poseidon2KoalaBear<const WIDTH: usize> = Poseidon2<<KoalaBear as Field>::Packing, Poseidon2ExternalLayerKoalaBear<WIDTH>, Poseidon2InternalLayerKoalaBear<WIDTH>, WIDTH, KOALABEAR_S_BOX_DEGREE>;
Expand description

An implementation of the Poseidon2 hash function specialised to run on the current architecture.

It acts on arrays of the form either [KoalaBear::Packing; WIDTH] or [KoalaBear; WIDTH]. For speed purposes, wherever possible, input arrays should of the form [KoalaBear::Packing; WIDTH].

Aliased Typeยง

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