![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
A hasher class for SHA-256. More...
#include <sha256.h>
Public Member Functions | |
| CSHA256 () | |
| CSHA256 & | Write (const unsigned char *data, size_t len) |
| void | Finalize (unsigned char hash[OUTPUT_SIZE]) |
| CSHA256 & | Reset () |
Static Public Attributes | |
| static const size_t | OUTPUT_SIZE = 32 |
Private Attributes | |
| uint32_t | s [8] |
| unsigned char | buf [64] |
| uint64_t | bytes {0} |
| CSHA256::CSHA256 | ( | ) |
Definition at line 694 of file sha256.cpp.
Definition at line 725 of file sha256.cpp.
| CSHA256 & CSHA256::Reset | ( | ) |
Definition at line 699 of file sha256.cpp.