Bitcoin ABC 0.30.5
P2P Digital Currency
|
A hasher class for SHA1. More...
#include <sha1.h>
Public Member Functions | |
CSHA1 () | |
CSHA1 & | Write (const uint8_t *data, size_t len) |
void | Finalize (uint8_t hash[OUTPUT_SIZE]) |
CSHA1 & | Reset () |
Static Public Attributes | |
static const size_t | OUTPUT_SIZE = 20 |
Private Attributes | |
uint32_t | s [5] |
uint8_t | buf [64] |
uint64_t | bytes |
void CSHA1::Finalize | ( | uint8_t | hash[OUTPUT_SIZE] | ) |
CSHA1 & CSHA1::Write | ( | const uint8_t * | data, |
size_t | len | ||
) |