BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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

◆ sha224() [1/2]

fc::sha224::sha224 ( )

Definition at line 12 of file sha224.cpp.

◆ sha224() [2/2]

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

Definition at line 13 of file sha224.cpp.

Member Function Documentation

◆ data()

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

Definition at line 22 of file sha224.cpp.

◆ data_size()

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

Definition at line 19 of file sha224.hpp.

◆ hash() [1/3]

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

Definition at line 34 of file sha224.cpp.

◆ hash() [2/3]

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

Definition at line 39 of file sha224.cpp.

◆ hash() [3/3]

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

Definition at line 25 of file sha224.hpp.

◆ operator string()

fc::sha224::operator string ( ) const

Definition at line 20 of file sha224.cpp.

◆ str()

string fc::sha224::str ( ) const

Definition at line 17 of file sha224.cpp.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 75 of file sha224.cpp.

◆ operator<

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

Definition at line 72 of file sha224.cpp.

◆ operator<< [1/2]

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

Definition at line 55 of file sha224.cpp.

◆ operator<< [2/2]

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

Definition at line 49 of file sha224.hpp.

◆ operator==

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

Definition at line 78 of file sha224.cpp.

◆ operator>

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

Definition at line 69 of file sha224.cpp.

◆ operator>=

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

Definition at line 66 of file sha224.cpp.

◆ operator>>

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

Definition at line 56 of file sha224.hpp.

◆ operator^

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

Definition at line 60 of file sha224.cpp.

Member Data Documentation

◆ _hash

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: