Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::ripemd160::encoder Class Reference

#include <ripemd160.hpp>

Classes

struct  impl
 

Public Member Functions

 encoder ()
 
 ~encoder ()
 
void write (const char *d, uint32_t dlen)
 
void put (char c)
 
void reset ()
 
ripemd160 result ()
 

Detailed Description

Definition at line 36 of file ripemd160.hpp.

Constructor & Destructor Documentation

◆ encoder()

fc::ripemd160::encoder::encoder ( )

Definition at line 40 of file ripemd160.cpp.

40 {
41 reset();
42}

◆ ~encoder()

fc::ripemd160::encoder::~encoder ( )

Definition at line 39 of file ripemd160.cpp.

39{}

Member Function Documentation

◆ put()

void fc::ripemd160::encoder::put ( char c)
inline

Definition at line 43 of file ripemd160.hpp.

43{ write( &c, 1 ); }
void write(const char *d, uint32_t dlen)
Definition ripemd160.cpp:61
Here is the call graph for this function:

◆ reset()

void fc::ripemd160::encoder::reset ( )

Definition at line 69 of file ripemd160.cpp.

69 {
70 RIPEMD160_Init( &my->ctx);
71}

◆ result()

ripemd160 fc::ripemd160::encoder::result ( )

Definition at line 64 of file ripemd160.cpp.

64 {
65 ripemd160 h;
66 RIPEMD160_Final((uint8_t*)h.data(), &my->ctx );
67 return h;
68}
unsigned char uint8_t
Definition stdint.h:124
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void fc::ripemd160::encoder::write ( const char * d,
uint32_t dlen )

Definition at line 61 of file ripemd160.cpp.

61 {
62 RIPEMD160_Update( &my->ctx, d, dlen);
63}
Here is the caller graph for this function:

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