Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::crypto::Poseidon2< Params > Class Template Reference

#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.
 

Detailed Description

template<typename Params>
class bb::crypto::Poseidon2< Params >

Definition at line 15 of file poseidon2.hpp.

Member Typedef Documentation

◆ FF

template<typename Params >
using bb::crypto::Poseidon2< Params >::FF = typename Params::FF

Definition at line 17 of file poseidon2.hpp.

◆ Sponge

template<typename Params >
using bb::crypto::Poseidon2< Params >::Sponge = FieldSponge<FF, Params::t - 1, 1, Params::t, Poseidon2Permutation<Params> >

Definition at line 20 of file poseidon2.hpp.

Member Function Documentation

◆ hash()

template<typename Params >
static FF bb::crypto::Poseidon2< Params >::hash ( const std::vector< FF > &  input)
static

Hashes a vector of field elements.


The documentation for this class was generated from the following file: