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

A hasher class for BSHA3's 256-bit hash (double SHA-3). More...

#include <hash.h>

Collaboration diagram for CHash3:
[legend]

Public Member Functions

void Finalize (unsigned char hash[OUTPUT_SIZE])
 
CHash3Write (const unsigned char *data, size_t len)
 
CHash3Reset ()
 

Static Public Attributes

static const size_t OUTPUT_SIZE = CSHA3::OUTPUT_SIZE
 

Private Attributes

CSHA3 sha
 

Detailed Description

A hasher class for BSHA3's 256-bit hash (double SHA-3).

Definition at line 22 of file hash.h.

Member Function Documentation

◆ Finalize()

void CHash3::Finalize ( unsigned char  hash[OUTPUT_SIZE])
inline

Definition at line 28 of file hash.h.

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

◆ Reset()

CHash3& CHash3::Reset ( )
inline

Definition at line 39 of file hash.h.

Here is the call graph for this function:

◆ Write()

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

Definition at line 34 of file hash.h.

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

Member Data Documentation

◆ OUTPUT_SIZE

const size_t CHash3::OUTPUT_SIZE = CSHA3::OUTPUT_SIZE
static

Definition at line 26 of file hash.h.

◆ sha

CSHA3 CHash3::sha
private

Definition at line 24 of file hash.h.


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