Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
sponge.hpp File Reference
#include <array>
#include <cstddef>
#include <cstdint>
#include <span>
#include "barretenberg/numeric/uint256/uint256.hpp"

Go to the source code of this file.

Classes

class  bb::crypto::FieldSponge< FF, rate, capacity, t, Permutation >
 Implements a cryptographic sponge over prime fields. Sponge construction follows the Duplex Sponge model (https://keccak.team/files/SpongeDuplex.pdf). Domain separation uses IV = (input_length << 64) per Section 4.2 of the Poseidon paper (https://eprint.iacr.org/2019/458.pdf). Permutation is Poseidon2 (https://eprint.iacr.org/2023/323.pdf). More...
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::crypto