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

A hasher class for RIPEMD-160. More...

#include <ripemd160.h>

Public Member Functions

 CRIPEMD160 ()
 
CRIPEMD160Write (const uint8_t *data, size_t len)
 
void Finalize (uint8_t hash[OUTPUT_SIZE])
 
CRIPEMD160Reset ()
 

Static Public Attributes

static const size_t OUTPUT_SIZE = 20
 

Private Attributes

uint32_t s [5]
 
uint8_t buf [64]
 
uint64_t bytes
 

Detailed Description

A hasher class for RIPEMD-160.

Definition at line 12 of file ripemd160.h.

Constructor & Destructor Documentation

◆ CRIPEMD160()

CRIPEMD160::CRIPEMD160 ( )

Definition at line 284 of file ripemd160.cpp.

Member Function Documentation

◆ Finalize()

void CRIPEMD160::Finalize ( uint8_t  hash[OUTPUT_SIZE])

Definition at line 313 of file ripemd160.cpp.

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

◆ Reset()

CRIPEMD160 & CRIPEMD160::Reset ( )

Definition at line 326 of file ripemd160.cpp.

◆ Write()

CRIPEMD160 & CRIPEMD160::Write ( const uint8_t data,
size_t  len 
)

Definition at line 288 of file ripemd160.cpp.

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

Member Data Documentation

◆ buf

uint8_t CRIPEMD160::buf[64]
private

Definition at line 15 of file ripemd160.h.

◆ bytes

uint64_t CRIPEMD160::bytes
private

Definition at line 16 of file ripemd160.h.

◆ OUTPUT_SIZE

const size_t CRIPEMD160::OUTPUT_SIZE = 20
static

Definition at line 19 of file ripemd160.h.

◆ s

uint32_t CRIPEMD160::s[5]
private

Definition at line 14 of file ripemd160.h.


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