|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
stdlib class that evaluates in-circuit poseidon2 hashes, consistent with behavior in crypto::poseidon2 More...
#include <poseidon2.hpp>
Static Public Member Functions | |
| static field_ct | hash (const std::vector< field_ct > &in) |
| Hash a vector of field_ct. | |
Private Types | |
| using | field_ct = stdlib::field_t< Builder > |
| using | Params = crypto::Poseidon2Bn254ScalarFieldParams |
| using | Permutation = Poseidon2Permutation< Builder > |
| using | Sponge = FieldSponge< Builder > |
stdlib class that evaluates in-circuit poseidon2 hashes, consistent with behavior in crypto::poseidon2
| Builder |
Definition at line 20 of file poseidon2.hpp.
|
private |
Definition at line 23 of file poseidon2.hpp.
|
private |
Definition at line 24 of file poseidon2.hpp.
|
private |
Definition at line 25 of file poseidon2.hpp.
|
private |
Definition at line 26 of file poseidon2.hpp.
|
static |
Hash a vector of field_ct.
Definition at line 13 of file poseidon2.cpp.