Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::crypto::Sha256Hasher Struct Reference

#include <hashers.hpp>

Static Public Member Functions

template<typename B = std::vector<uint8_t>>
static auto hash (const B &message)
 

Static Public Attributes

static constexpr size_t BLOCK_SIZE = 64
 
static constexpr size_t OUTPUT_SIZE = 32
 

Detailed Description

Definition at line 32 of file hashers.hpp.

Member Function Documentation

◆ hash()

template<typename B = std::vector<uint8_t>>
static auto bb::crypto::Sha256Hasher::hash ( const B &  message)
inlinestatic

Definition at line 36 of file hashers.hpp.

Member Data Documentation

◆ BLOCK_SIZE

constexpr size_t bb::crypto::Sha256Hasher::BLOCK_SIZE = 64
staticconstexpr

Definition at line 33 of file hashers.hpp.

◆ OUTPUT_SIZE

constexpr size_t bb::crypto::Sha256Hasher::OUTPUT_SIZE = 32
staticconstexpr

Definition at line 34 of file hashers.hpp.


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