#include <genesis/utils/tools/hash/sha256.hpp>
Hash function for SHA256 digestes.
Basically, we re-hash from 256 bit to 64 bit. This is ugly, but currently faster to implement than a custom container that uses the full hash width. Might work on this in the future.
Definition at line 287 of file sha256.hpp.
Public Member Functions | |
result_type | operator() (argument_type const &s) const |
Public Types | |
using | argument_type = genesis::utils::SHA256::DigestType |
using | result_type = std::size_t |
|
inline |
Definition at line 292 of file sha256.hpp.
Definition at line 289 of file sha256.hpp.
using result_type = std::size_t |
Definition at line 290 of file sha256.hpp.