#include <joedb/journal/SHA_256.h>
|
typedef std::array< uint32_t, 8 > | Hash |
|
Definition at line 20 of file SHA_256.h.
◆ Hash
◆ SHA_256()
joedb::SHA_256::SHA_256 |
( |
| ) |
|
|
inline |
◆ get_hash()
const Hash & joedb::SHA_256::get_hash |
( |
| ) |
const |
|
inline |
◆ process_chunk()
void joedb::SHA_256::process_chunk |
( |
const char * |
data | ) |
|
|
inline |
◆ process_final_chunk()
void joedb::SHA_256::process_final_chunk |
( |
const char *const |
data, |
|
|
const uint64_t |
total_length_in_bytes |
|
) |
| |
|
inline |
- Parameters
-
data | points to the final n bytes, 0 <= n < 64 |
total_length_in_bytes | is the length of the whole sequence |
Definition at line 125 of file SHA_256.h.
◆ chunk_size
constexpr size_t joedb::SHA_256::chunk_size = 64 |
|
staticconstexpr |
The documentation for this class was generated from the following file:
- /home/rcoulom/repos/joedb/src/joedb/journal/SHA_256.h