Bitcoin ABC 0.30.3
P2P Digital Currency
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
CHash160 Class Reference

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

#include <hash.h>

Collaboration diagram for CHash160:
[legend]

Public Member Functions

void Finalize (Span< uint8_t > output)
 
CHash160Write (Span< const uint8_t > input)
 
CHash160Reset ()
 

Static Public Attributes

static const size_t OUTPUT_SIZE = CRIPEMD160::OUTPUT_SIZE
 

Private Attributes

CSHA256 sha
 

Detailed Description

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

Definition at line 48 of file hash.h.

Member Function Documentation

◆ Finalize()

void CHash160::Finalize ( Span< uint8_t >  output)
inline

Definition at line 55 of file hash.h.

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

◆ Reset()

CHash160 & CHash160::Reset ( )
inline

Definition at line 67 of file hash.h.

Here is the call graph for this function:

◆ Write()

CHash160 & CHash160::Write ( Span< const uint8_t >  input)
inline

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

Definition at line 53 of file hash.h.

◆ sha

CSHA256 CHash160::sha
private

Definition at line 50 of file hash.h.


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