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

A hasher class for Bitcoin's 160-bit hash (SHA3-256 + RIPEMD-160). More...

#include <hash.h>

Collaboration diagram for CHash360:
[legend]

Public Member Functions

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

Static Public Attributes

static const size_t OUTPUT_SIZE = CRIPEMD160::OUTPUT_SIZE
 

Private Attributes

CSHA3 sha
 

Detailed Description

A hasher class for Bitcoin's 160-bit hash (SHA3-256 + RIPEMD-160).

Definition at line 70 of file hash.h.

Member Function Documentation

◆ Finalize()

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

Definition at line 76 of file hash.h.

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

◆ Reset()

CHash360& CHash360::Reset ( )
inline

Definition at line 87 of file hash.h.

Here is the call graph for this function:

◆ Write()

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

Definition at line 82 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 CHash360::OUTPUT_SIZE = CRIPEMD160::OUTPUT_SIZE
static

Definition at line 74 of file hash.h.

◆ sha

CSHA3 CHash360::sha
private

Definition at line 72 of file hash.h.


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