Go to the documentation of this file.
14 #ifndef TLX_DIGEST_MD5_HEADER
15 #define TLX_DIGEST_MD5_HEADER
34 MD5(
const void* data, uint32_t size);
36 explicit MD5(
const std::string& str);
39 void process(
const void* data, uint32_t size);
41 void process(
const std::string& str);
64 std::string
md5_hex(
const void* data, uint32_t size);
66 std::string
md5_hex(
const std::string& str);
77 #endif // !TLX_DIGEST_MD5_HEADER
std::string digest_hex_uc()
finalize computation and return 16 byte (128 bit) digest upper-case hex
std::string md5_hex_uc(const void *data, uint32_t size)
process data and return 16 byte (128 bit) digest upper-case hex encoded
MD5()
construct empty object.
void finalize(void *digest)
finalize computation and output 16 byte (128 bit) digest
std::string md5_hex(const void *data, uint32_t size)
process data and return 16 byte (128 bit) digest hex encoded
static constexpr size_t kDigestLength
digest length in bytes
void process(const void *data, uint32_t size)
process more data
std::string digest()
finalize computation and return 16 byte (128 bit) digest
std::string digest_hex()
finalize computation and return 16 byte (128 bit) digest hex encoded