Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
CHash256 Class Reference

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

#include <hash.h>

Collaboration diagram for CHash256:
[legend]

Public Member Functions

void Finalize (Span< uint8_t > output)
 
CHash256Write (Span< const uint8_t > input)
 
CHash256Reset ()
 

Static Public Attributes

static const size_t OUTPUT_SIZE = CSHA256::OUTPUT_SIZE
 

Private Attributes

CSHA256 sha
 

Detailed Description

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

Definition at line 22 of file hash.h.

Member Function Documentation

◆ Finalize()

void CHash256::Finalize ( Span< uint8_t output)
inline

Definition at line 29 of file hash.h.

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

◆ Reset()

CHash256 & CHash256::Reset ( )
inline

Definition at line 41 of file hash.h.

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

◆ Write()

CHash256 & CHash256::Write ( Span< const uint8_t input)
inline

Definition at line 36 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 CHash256::OUTPUT_SIZE = CSHA256::OUTPUT_SIZE
static

Definition at line 27 of file hash.h.

◆ sha

CSHA256 CHash256::sha
private

Definition at line 24 of file hash.h.


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