Bitcoin Core  0.15.99
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
 

Detailed Description

A hasher class for RIPEMD-160.

Definition at line 12 of file ripemd160.h.

Constructor & Destructor Documentation

CRIPEMD160::CRIPEMD160 ( )

Definition at line 242 of file ripemd160.cpp.

Member Function Documentation

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:

CRIPEMD160 & CRIPEMD160::Reset ( )

Definition at line 287 of file ripemd160.cpp.

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

unsigned char CRIPEMD160::buf[64]
private

Definition at line 16 of file ripemd160.h.

uint64_t CRIPEMD160::bytes
private

Definition at line 17 of file ripemd160.h.

const size_t CRIPEMD160::OUTPUT_SIZE = 20
static

Definition at line 20 of file ripemd160.h.

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: