Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
poseidon2.cpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: Planned, auditors: [Sergei], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#include "poseidon2.hpp"
8
9namespace bb::crypto {
13template <typename Params>
14typename Poseidon2<Params>::FF Poseidon2<Params>::hash(const std::vector<typename Poseidon2<Params>::FF>& input)
15{
16 return Sponge::hash_internal(input);
17}
18
20} // namespace bb::crypto
typename Params::FF FF
Definition poseidon2.hpp:17
static FF hash(const std::vector< FF > &input)
Hashes a vector of field elements.