3#include "poseidon2_params.hpp"
4#include "poseidon2_permutation.hpp"
5#include "sponge/sponge.hpp"
11 using FF =
typename Params::FF;
14 static FF hash(std::span<FF> input) {
return Sponge::hash_fixed_length(input); }
Implements a cryptographic sponge over prime fields. Implements the sponge specification from the Com...
Definition: sponge.hpp:26
Applies the Poseidon2 permutation function from https://eprint.iacr.org/2023/323 ....
Definition: poseidon2_permutation.hpp:20
Definition: poseidon2.hpp:9