#include <ripemd160.hpp>
Definition at line 11 of file ripemd160.hpp.
◆ ripemd160() [1/2]
fc::ripemd160::ripemd160 |
( |
| ) |
|
Definition at line 16 of file ripemd160.cpp.
memset(pInfo->slotDescription, ' ', 64)
◆ ripemd160() [2/2]
fc::ripemd160::ripemd160 |
( |
const string & | hex_str | ) |
|
|
explicit |
◆ data()
char * fc::ripemd160::data |
( |
| ) |
const |
◆ data_size()
size_t fc::ripemd160::data_size |
( |
| ) |
const |
|
inline |
◆ hash() [1/5]
Definition at line 52 of file ripemd160.cpp.
52 {
53 encoder e;
54 e.write(d,dlen);
55 return e.result();
56}
◆ hash() [2/5]
Definition at line 48 of file ripemd160.cpp.
49{
50 return hash( (
const char*)&h,
sizeof(h) );
51}
static ripemd160 hash(const fc::sha512 &h)
◆ hash() [3/5]
Definition at line 44 of file ripemd160.cpp.
45{
46 return hash( (
const char*)&h,
sizeof(h) );
47}
◆ hash() [4/5]
◆ hash() [5/5]
static ripemd160 fc::ripemd160::hash |
( |
const T & | t | ) |
|
|
inlinestatic |
Definition at line 29 of file ripemd160.hpp.
30 {
31 ripemd160::encoder e;
33 return e.result();
34 }
void pack(Stream &s, const std::deque< T > &value)
◆ operator string()
fc::ripemd160::operator string |
( |
| ) |
const |
|
explicit |
◆ str()
string fc::ripemd160::str |
( |
| ) |
const |
Definition at line 23 of file ripemd160.cpp.
23 {
25}
fc::string to_hex(const char *d, uint32_t s)
◆ operator!=
Definition at line 96 of file ripemd160.cpp.
96 {
97 return memcmp( h1._hash, h2._hash, sizeof(h1._hash) ) != 0;
98}
◆ operator<
Definition at line 93 of file ripemd160.cpp.
93 {
94 return memcmp( h1._hash, h2._hash, sizeof(h1._hash) ) < 0;
95}
◆ operator<< [1/2]
Definition at line 73 of file ripemd160.cpp.
73 {
75 fc::detail::shift_l( h1.data(), result.data(), result.data_size(), i );
76 return result;
77}
◆ operator<< [2/2]
Definition at line 53 of file ripemd160.hpp.
53 {
54 ds.write( ep.data(),
sizeof(ep) );
56 }
static const Segment ds(Segment::ds)
◆ operator==
Definition at line 99 of file ripemd160.cpp.
99 {
100 return memcmp( h1._hash, h2._hash, sizeof(h1._hash) ) == 0;
101}
◆ operator>
Definition at line 90 of file ripemd160.cpp.
90 {
91 return memcmp( h1._hash, h2._hash, sizeof(h1._hash) ) > 0;
92}
◆ operator>=
Definition at line 87 of file ripemd160.cpp.
87 {
88 return memcmp( h1._hash, h2._hash, sizeof(h1._hash) ) >= 0;
89}
◆ operator>>
Definition at line 59 of file ripemd160.hpp.
59 {
60 ds.read( ep.data(),
sizeof(ep) );
62 }
◆ operator^
Definition at line 78 of file ripemd160.cpp.
78 {
80 result._hash[0] = h1._hash[0] ^ h2._hash[0];
81 result._hash[1] = h1._hash[1] ^ h2._hash[1];
82 result._hash[2] = h1._hash[2] ^ h2._hash[2];
83 result._hash[3] = h1._hash[3] ^ h2._hash[3];
84 result._hash[4] = h1._hash[4] ^ h2._hash[4];
85 return result;
86}
◆ _hash
The documentation for this class was generated from the following files: