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::sha224 Class Reference

#include <sha224.hpp>

Classes

class  encoder
 

Public Member Functions

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

Static Public Member Functions

static constexpr size_t data_size ()
 
static sha224 hash (const char *d, uint32_t dlen)
 
static sha224 hash (const string &)
 
template<typename T >
static sha224 hash (const T &t)
 

Public Attributes

boost::endian::little_uint32_buf_t _hash [7]
 

Friends

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

Detailed Description

Definition at line 9 of file sha224.hpp.

Constructor & Destructor Documentation

fc::sha224::sha224 ( )

Definition at line 12 of file sha224.cpp.

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

Definition at line 13 of file sha224.cpp.

Member Function Documentation

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

Definition at line 22 of file sha224.cpp.

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

Definition at line 19 of file sha224.hpp.

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

Definition at line 34 of file sha224.cpp.

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

Definition at line 39 of file sha224.cpp.

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

Definition at line 25 of file sha224.hpp.

fc::sha224::operator string ( ) const

Definition at line 20 of file sha224.cpp.

string fc::sha224::str ( ) const

Definition at line 17 of file sha224.cpp.

Friends And Related Function Documentation

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

Definition at line 75 of file sha224.cpp.

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

Definition at line 72 of file sha224.cpp.

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

Definition at line 49 of file sha224.hpp.

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

Definition at line 55 of file sha224.cpp.

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

Definition at line 78 of file sha224.cpp.

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

Definition at line 69 of file sha224.cpp.

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

Definition at line 66 of file sha224.cpp.

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

Definition at line 56 of file sha224.hpp.

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

Definition at line 60 of file sha224.cpp.

Member Data Documentation

boost::endian::little_uint32_buf_t fc::sha224::_hash[7]

Definition at line 68 of file sha224.hpp.


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