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