#include <array>
#include <cstdint>
#include <cstdio>
#include <string>
Go to the source code of this file.
Classes | |
class | smash::sha256::Context |
A SHA256 context. More... | |
Namespaces | |
smash | |
smash::sha256 | |
Typedefs | |
typedef std::array< uint8_t, HASH_SIZE > | smash::sha256::Hash |
A SHA256 hash. More... | |
Functions | |
Hash | smash::sha256::calculate (uint8_t const *buffer, size_t buffer_size) |
Calculate the SHA256 hash of the buffer. More... | |
std::string | smash::sha256::hash_to_string (Hash hash) |
Convert a SHA256 hash to a hexadecimal string. More... | |
Variables | |
constexpr size_t | smash::sha256::HASH_SIZE = 256 / 8 |
Size of a SHA256 hash. More... | |