Fabcoin Core
0.16.2
P2P Digital Currency
|
A hasher class for SHA-512. More...
#include <sha512.h>
Public Member Functions | |
CSHA512 () | |
CSHA512 & | Write (const unsigned char *data, size_t len) |
void | Finalize (unsigned char hash[OUTPUT_SIZE]) |
CSHA512 & | Reset () |
Static Public Attributes | |
static const size_t | OUTPUT_SIZE = 64 |
Private Attributes | |
uint64_t | s [8] |
unsigned char | buf [128] |
uint64_t | bytes |
CSHA512::CSHA512 | ( | ) |
Definition at line 154 of file sha512.cpp.
void CSHA512::Finalize | ( | unsigned char | hash[OUTPUT_SIZE] | ) |
Definition at line 185 of file sha512.cpp.
CSHA512 & CSHA512::Reset | ( | ) |
CSHA512 & CSHA512::Write | ( | const unsigned char * | data, |
size_t | len | ||
) |
Definition at line 159 of file sha512.cpp.