karazeh
A cross-platform software updating library.
|
#include <md5_hasher.hpp>
Public Member Functions | |
md5_hasher () | |
virtual | ~md5_hasher () |
virtual digest_rc | hex_digest (string_t const &data) const |
virtual digest_rc | hex_digest (std::ifstream &src) const |
virtual digest_rc | hex_digest (path_t const &path) const |
Public Member Functions inherited from kzh::hasher | |
hasher (string_t const &name) | |
virtual | ~hasher () |
string_t const & | name () const |
Additional Inherited Members | |
Protected Attributes inherited from kzh::hasher | |
string_t | name_ |
|
inline |
|
inlinevirtual |
|
virtual |
digests can be calculated directly off raw data
Implements kzh::hasher.
References kzh::hasher::digest_rc::digest, and kzh::hasher::digest_rc::valid.
Referenced by hex_digest(), and TEST_CASE().
|
virtual |
digests can be calculated off data in a valid file stream
Implements kzh::hasher.
References kzh::hasher::digest_rc::digest, kzh::logger::error(), and kzh::hasher::digest_rc::valid.
|
virtual |
Implements kzh::hasher.
References hex_digest().