![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
A hasher class for SHA-512. More...
#include <sha512.h>
Public Member Functions | |
| CSHA512 () | |
| CSHA512 & | Write (const unsigned char *data, size_t len) |
| void | Finalize (unsigned char hash[OUTPUT_SIZE]) |
| CSHA512 & | Reset () |
| uint64_t | Size () const |
Static Public Attributes | |
| static constexpr size_t | OUTPUT_SIZE = 64 |
Private Attributes | |
| uint64_t | s [8] |
| unsigned char | buf [128] |
| uint64_t | bytes {0} |
| CSHA512::CSHA512 | ( | ) |
Definition at line 154 of file sha512.cpp.
Definition at line 185 of file sha512.cpp.
| CSHA512 & CSHA512::Reset | ( | ) |
Definition at line 202 of file sha512.cpp.
Definition at line 159 of file sha512.cpp.