Bitcoin Core 28.99.0
P2P Digital Currency
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 unsigned char *data, size_t len)
 
void Finalize (unsigned char hash[OUTPUT_SIZE])
 
CRIPEMD160Reset ()
 

Static Public Attributes

static const size_t OUTPUT_SIZE = 20
 

Private Attributes

uint32_t s [5]
 
unsigned char buf [64]
 
uint64_t bytes {0}
 

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 242 of file ripemd160.cpp.

Member Function Documentation

◆ Finalize()

void CRIPEMD160::Finalize ( unsigned char  hash[OUTPUT_SIZE])

Definition at line 273 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 287 of file ripemd160.cpp.

◆ Write()

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

Definition at line 247 of file ripemd160.cpp.

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

Member Data Documentation

◆ buf

unsigned char CRIPEMD160::buf[64]
private

Definition at line 16 of file ripemd160.h.

◆ bytes

uint64_t CRIPEMD160::bytes {0}
private

Definition at line 17 of file ripemd160.h.

◆ OUTPUT_SIZE

const size_t CRIPEMD160::OUTPUT_SIZE = 20
static

Definition at line 20 of file ripemd160.h.

◆ s

uint32_t CRIPEMD160::s[5]
private

Definition at line 15 of file ripemd160.h.


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