BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
fc::ripemd160 Class Reference

#include <ripemd160.hpp>

Classes

class  encoder
 

Public Member Functions

 ripemd160 ()
 
 ripemd160 (const string &hex_str)
 
string str () const
 
 operator string () const
 
char * data () const
 

Static Public Member Functions

static constexpr size_t data_size ()
 
static ripemd160 hash (const fc::sha512 &h)
 
static ripemd160 hash (const fc::sha256 &h)
 
static ripemd160 hash (const char *d, uint32_t dlen)
 
static ripemd160 hash (const string &)
 
template<typename T >
static ripemd160 hash (const T &t)
 

Public Attributes

boost::endian::little_uint32_buf_t _hash [5]
 

Friends

template<typename T >
T & operator<< (T &ds, const ripemd160 &ep)
 
template<typename T >
T & operator>> (T &ds, ripemd160 &ep)
 
ripemd160 operator<< (const ripemd160 &h1, uint32_t i)
 
bool operator== (const ripemd160 &h1, const ripemd160 &h2)
 
bool operator!= (const ripemd160 &h1, const ripemd160 &h2)
 
ripemd160 operator^ (const ripemd160 &h1, const ripemd160 &h2)
 
bool operator>= (const ripemd160 &h1, const ripemd160 &h2)
 
bool operator> (const ripemd160 &h1, const ripemd160 &h2)
 
bool operator< (const ripemd160 &h1, const ripemd160 &h2)
 

Detailed Description

Definition at line 11 of file ripemd160.hpp.

Constructor & Destructor Documentation

fc::ripemd160::ripemd160 ( )

Definition at line 16 of file ripemd160.cpp.

fc::ripemd160::ripemd160 ( const string &  hex_str)
explicit

Definition at line 17 of file ripemd160.cpp.

Member Function Documentation

char * fc::ripemd160::data ( ) const

Definition at line 26 of file ripemd160.cpp.

static constexpr size_t fc::ripemd160::data_size ( )
inlinestatic

Definition at line 21 of file ripemd160.hpp.

ripemd160 fc::ripemd160::hash ( const fc::sha512 h)
static

Definition at line 43 of file ripemd160.cpp.

ripemd160 fc::ripemd160::hash ( const fc::sha256 h)
static

Definition at line 47 of file ripemd160.cpp.

ripemd160 fc::ripemd160::hash ( const char *  d,
uint32_t  dlen 
)
static

Definition at line 51 of file ripemd160.cpp.

ripemd160 fc::ripemd160::hash ( const string &  s)
static

Definition at line 56 of file ripemd160.cpp.

template<typename T >
static ripemd160 fc::ripemd160::hash ( const T &  t)
inlinestatic

Definition at line 29 of file ripemd160.hpp.

fc::ripemd160::operator string ( ) const
explicit

Definition at line 24 of file ripemd160.cpp.

string fc::ripemd160::str ( ) const

Definition at line 21 of file ripemd160.cpp.

Friends And Related Function Documentation

bool operator!= ( const ripemd160 h1,
const ripemd160 h2 
)
friend

Definition at line 95 of file ripemd160.cpp.

bool operator< ( const ripemd160 h1,
const ripemd160 h2 
)
friend

Definition at line 92 of file ripemd160.cpp.

template<typename T >
T& operator<< ( T &  ds,
const ripemd160 ep 
)
friend

Definition at line 53 of file ripemd160.hpp.

ripemd160 operator<< ( const ripemd160 h1,
uint32_t  i 
)
friend

Definition at line 72 of file ripemd160.cpp.

bool operator== ( const ripemd160 h1,
const ripemd160 h2 
)
friend

Definition at line 98 of file ripemd160.cpp.

bool operator> ( const ripemd160 h1,
const ripemd160 h2 
)
friend

Definition at line 89 of file ripemd160.cpp.

bool operator>= ( const ripemd160 h1,
const ripemd160 h2 
)
friend

Definition at line 86 of file ripemd160.cpp.

template<typename T >
T& operator>> ( T &  ds,
ripemd160 ep 
)
friend

Definition at line 59 of file ripemd160.hpp.

ripemd160 operator^ ( const ripemd160 h1,
const ripemd160 h2 
)
friend

Definition at line 77 of file ripemd160.cpp.

Member Data Documentation

boost::endian::little_uint32_buf_t fc::ripemd160::_hash[5]

Definition at line 71 of file ripemd160.hpp.


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