Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <poseidon2.hpp>
Public Types | |
using | FF = typename Params::FF |
using | Sponge = FieldSponge< FF, Params::t - 1, 1, Params::t, Poseidon2Permutation< Params > > |
Static Public Member Functions | |
static FF | hash (const std::vector< FF > &input) |
Hashes a vector of field elements. | |
Definition at line 15 of file poseidon2.hpp.
using bb::crypto::Poseidon2< Params >::FF = typename Params::FF |
Definition at line 17 of file poseidon2.hpp.
using bb::crypto::Poseidon2< Params >::Sponge = FieldSponge<FF, Params::t - 1, 1, Params::t, Poseidon2Permutation<Params> > |
Definition at line 20 of file poseidon2.hpp.
|
static |
Hashes a vector of field elements.