Realm

oa::crypto::hash::poseidon2_koalabear24

Apply the pinned Plonky3 koalabear24 Poseidon2 field sponge. U32 rows contain field elements, reduced modulo the named prime. The OA sponge has capacity eight and explicit length/domain framing. It is not a claim of NVIDIA sponge wire compatibility. Errors Rejects dtype, rank, width, address limits, allocation or recording failures.

FnRust public API

Function Documentation

pub fn poseidon2_koalabear24( input: &Matrix, output_length: usize ) -> Result<Matrix>
Apply the pinned Plonky3 koalabear24 Poseidon2 field sponge. U32 rows contain field elements, reduced modulo the named prime. The OA sponge has capacity eight and explicit length/domain framing. It is not a claim of NVIDIA sponge wire compatibility. Errors Rejects dtype, rank, width, address limits, allocation or recording failures.