Public Types | |
typedef unsigned int | size_type |
Public Member Functions | |
MD5 () | |
MD5 (const std::string &text) | |
void | update (const unsigned char *buf, size_type length) |
void | update (const char *buf, size_type length) |
MD5 & | finalize () |
std::string | hexdigest () const |
Private Types | |
enum | { blocksize = 64 } |
typedef unsigned char | uint1 |
typedef unsigned int | uint4 |
Private Member Functions | |
void | init () |
void | transform (const uint1 block[blocksize]) |
Static Private Member Functions | |
static void | decode (uint4 output[], const uint1 input[], size_type len) |
static void | encode (uint1 output[], const uint4 input[], size_type len) |
static uint4 | F (uint4 x, uint4 y, uint4 z) |
static uint4 | G (uint4 x, uint4 y, uint4 z) |
static uint4 | H (uint4 x, uint4 y, uint4 z) |
static uint4 | I (uint4 x, uint4 y, uint4 z) |
static uint4 | rotate_left (uint4 x, int n) |
static void | FF (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) |
static void | GG (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) |
static void | HH (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) |
static void | II (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac) |
Private Attributes | |
bool | finalized |
uint1 | buffer [blocksize] |
uint4 | count [2] |
uint4 | state [4] |
uint1 | digest [16] |
Friends | |
std::ostream & | operator<< (std::ostream &, MD5 md5) |
typedef unsigned int MD5::size_type |
|
private |
|
private |
MD5::MD5 | ( | const std::string & | text | ) |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
std::string MD5::hexdigest | ( | ) | const |
Definition at line 410 of file md5.cpp.
References mrpt::system::os::sprintf().
|
inlinestaticprivate |
|
inlinestaticprivate |
|
friend |
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |