Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
md5.cpp File Reference
+ Include dependency graph for md5.cpp:

Go to the source code of this file.

Namespaces

 tlx
 
 tlx::digest_detail
 

Functions

static uint32_t F (const uint32_t &x, const uint32_t &y, const uint32_t &z)
 
static void FF (uint32_t &a, uint32_t &b, uint32_t &c, uint32_t &d, uint32_t M, uint32_t s, uint32_t t)
 
static uint32_t G (const uint32_t &x, const uint32_t &y, const uint32_t &z)
 
static void GG (uint32_t &a, uint32_t &b, uint32_t &c, uint32_t &d, uint32_t M, uint32_t s, uint32_t t)
 
static uint32_t H (const uint32_t &x, const uint32_t &y, const uint32_t &z)
 
static void HH (uint32_t &a, uint32_t &b, uint32_t &c, uint32_t &d, uint32_t M, uint32_t s, uint32_t t)
 
static uint32_t I (const uint32_t &x, const uint32_t &y, const uint32_t &z)
 
static void II (uint32_t &a, uint32_t &b, uint32_t &c, uint32_t &d, uint32_t M, uint32_t s, uint32_t t)
 
static uint32_t load32l (const uint8_t *y)
 
static void md5_compress (uint32_t state[4], const uint8_t *buf)
 
std::string md5_hex (const void *data, uint32_t size)
 process data and return 16 byte (128 bit) digest hex encoded More...
 
std::string md5_hex (const std::string &str)
 process data and return 16 byte (128 bit) digest hex encoded More...
 
std::string md5_hex_uc (const void *data, uint32_t size)
 process data and return 16 byte (128 bit) digest upper-case hex encoded More...
 
std::string md5_hex_uc (const std::string &str)
 process data and return 16 byte (128 bit) digest upper-case hex encoded More...
 
static uint32_t min (uint32_t x, uint32_t y)
 
static void store32l (uint32_t x, uint8_t *y)
 
static void store64l (uint64_t x, uint8_t *y)
 

Variables

static const uint32_t Korder [64]
 
static const uint8_t Rorder [64]
 
static const uint8_t Worder [64]