15 explicit sha3(
const string &hex_str);
16 explicit sha3(
const char *data,
size_t size);
21 const char *
data()
const;
28 const auto& sha = e.
result(is_nist);
31 static sha3 hash(
const string&
s,
bool is_nist=
true) {
return hash(
s.c_str(),
s.size(), is_nist); }
32 static sha3 hash(
const sha3&
s,
bool is_nist=
true) {
return hash(
s.data(),
sizeof(
s._hash), is_nist); }
51 sha3 result(
bool is_nist=
true);
61 ds.write(ep.
data(),
sizeof(ep));
68 ds.read(ep.
data(),
sizeof(ep));
96 return *((
size_t *)&
s);
Used to forward declare value types.
sha3 result(bool is_nist=true)
void write(const char *d, uint32_t dlen)
static sha3 hash(const sha3 &s, bool is_nist=true)
static sha3 hash(const string &s, bool is_nist=true)
friend bool operator!=(const sha3 &h1, const sha3 &h2)
friend T & operator<<(T &ds, const sha3 &ep)
const char * data() const
friend bool operator>=(const sha3 &h1, const sha3 &h2)
friend T & operator>>(T &ds, sha3 &ep)
static sha3 hash(const T &t, bool is_nist=true)
friend bool operator>(const sha3 &h1, const sha3 &h2)
static sha3 hash(const char *d, uint32_t dlen, bool is_nist=true)
friend bool operator<(const sha3 &h1, const sha3 &h2)
friend bool operator==(const sha3 &h1, const sha3 &h2)
friend sha3 operator^(const sha3 &h1, const sha3 &h2)
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
void pack(Stream &s, const std::deque< T > &value)
void from_variant(const fc::variant &v, sysio::chain::chain_id_type &cid)
void to_variant(const sysio::chain::shared_public_key &var, fc::variant &vo)
#define T(meth, val, expected)
#define FC_REFLECT_TYPENAME(TYPE)
unsigned __int64 uint64_t
size_t operator()(const fc::sha3 &s) const
size_t operator()(const fc::sha3 &s) const