![]() |
Fabcoin Core
0.16.2
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 |
| CSHA256::CSHA256 | ( | ) |
Definition at line 196 of file sha256.cpp.
| void CSHA256::Finalize | ( | unsigned char | hash[OUTPUT_SIZE] | ) |
Definition at line 227 of file sha256.cpp.
| CSHA256 & CSHA256::Reset | ( | ) |
| CSHA256 & CSHA256::Write | ( | const unsigned char * | data, |
| size_t | len | ||
| ) |
Definition at line 201 of file sha256.cpp.
1.8.11