#include <boostext/md5.hpp>
Classes | |
class | digest_type |
A message digest. More... | |
Public Types | |
typedef unsigned char | uint8_t |
typedef unsigned int | uint32_t |
Public Member Functions | |
md5 () | |
~md5 () | |
md5 (const char *a_str) | |
md5 (const void *a_data, uint32_t a_data_size) | |
md5 (std::istream &a_istream) | |
md5 (std::istream &a_istream, uint32_t a_size) | |
md5 (std::string a_str) | |
void | update (const char *a_str) |
void | update (const void *a_data, uint32_t a_data_size) |
void | update (std::istream &a_istream) |
void | update (std::istream &a_istream, uint32_t a_size) |
const digest_type & | digest () |
Protected Member Functions | |
void | init () |
void | process_block (const uint8_t(*a_block)[64]) |
"The [MD5] algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest. ... The MD5 algorithm is designed to be quite fast on 32-bit machines." -RFC1321
typedef unsigned int uint32_t |
typedef unsigned char uint8_t |
md5 | ( | ) |
~md5 | ( | ) |
md5 | ( | const char * | a_str | ) |
md5 | ( | std::istream & | a_istream | ) |
md5 | ( | std::string | a_str | ) |
const digest_type& digest | ( | ) |
void init | ( | ) | [protected] |
void process_block | ( | const uint8_t(*) | a_block[64] | ) | [protected] |
void update | ( | std::istream & | a_istream, | |
uint32_t | a_size | |||
) |
void update | ( | std::istream & | a_istream | ) |
void update | ( | const void * | a_data, | |
uint32_t | a_data_size | |||
) |
void update | ( | const char * | a_str | ) |