eckit::Hash class

Derived classes

class MD4
class MD5
class SHA1
class xxHash

Public types

using digest_t = std::string

Constructors, destructors, conversion operators

Hash()
~Hash() virtual
operator std::string()

Public functions

void reset() const pure virtual
auto digest() const -> digest_t pure virtual
auto compute(const void*, long) -> digest_t pure virtual
void add(char x)
void add(unsigned char x)
void add(bool x)
void add(int x)
void add(unsigned int x)
void add(short x)
void add(unsigned short x)
void add(long x)
void add(unsigned long x)
void add(long long x)
void add(unsigned long long x)
void add(float x)
void add(double x)
void add(const void* x, long size)
void add(const std::string& x)
void add(const char* x)
template<class T>
auto operator<<(const T& x) -> Hash&

Private functions

void update(const void*, long) pure virtual
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.