Bitcoin ABC 0.30.5
P2P Digital Currency
|
A hasher class for SHA-256. More...
#include <sha256.h>
Public Member Functions | |
CSHA256 () | |
CSHA256 & | Write (const uint8_t *data, size_t len) |
void | Finalize (uint8_t hash[OUTPUT_SIZE]) |
CSHA256 & | Reset () |
Static Public Attributes | |
static const size_t | OUTPUT_SIZE = 32 |
Private Attributes | |
uint32_t | s [8] |
uint8_t | buf [64] |
uint64_t | bytes |
CSHA256::CSHA256 | ( | ) |
Definition at line 815 of file sha256.cpp.
void CSHA256::Finalize | ( | uint8_t | hash[OUTPUT_SIZE] | ) |
Definition at line 844 of file sha256.cpp.
CSHA256 & CSHA256::Reset | ( | ) |
CSHA256 & CSHA256::Write | ( | const uint8_t * | data, |
size_t | len | ||
) |
Definition at line 819 of file sha256.cpp.