BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
CSHA3512 Class Reference

A hasher class for SHA3-512. More...

#include <sha3512.h>

Collaboration diagram for CSHA3512:
[legend]

Public Member Functions

 CSHA3512 ()
 
CSHA3512Write (const unsigned char *data, size_t len)
 
void Finalize (unsigned char hash[OUTPUT_SIZE])
 
CSHA3512Reset ()
 

Static Public Attributes

static const size_t OUTPUT_SIZE = 64
 

Private Attributes

SHA3_512 sha3Hasher
 

Detailed Description

A hasher class for SHA3-512.

Definition at line 14 of file sha3512.h.

Constructor & Destructor Documentation

◆ CSHA3512()

CSHA3512::CSHA3512 ( )

Definition at line 25 of file sha3512.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Finalize()

void CSHA3512::Finalize ( unsigned char  hash[OUTPUT_SIZE])

Definition at line 36 of file sha3512.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reset()

CSHA3512 & CSHA3512::Reset ( )

Definition at line 41 of file sha3512.cpp.

Here is the call graph for this function:

◆ Write()

CSHA3512 & CSHA3512::Write ( const unsigned char *  data,
size_t  len 
)

Definition at line 30 of file sha3512.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ OUTPUT_SIZE

const size_t CSHA3512::OUTPUT_SIZE = 64
static

Definition at line 23 of file sha3512.h.

◆ sha3Hasher

SHA3_512 CSHA3512::sha3Hasher
private

Definition at line 20 of file sha3512.h.


The documentation for this class was generated from the following files: