Class MD5, for calculating MD5 hashes of strings or byte arrays it is not meant to be fast or secure.
More...
#include <md5.h>
Class MD5, for calculating MD5 hashes of strings or byte arrays it is not meant to be fast or secure.
usage: 1) feed it blocks of uchars with update() 2) finalize() 3) get hexdigest() string or MD5(std::string).hexdigest()
assumes that char is 8 bit and int is 32 bit
◆ size_type
◆ uint1
typedef unsigned char uint1 |
◆ MD5() [1/2]
◆ MD5() [2/2]
MD5 |
( |
const std::string & |
text | ) |
|
◆ finalize()
◆ hexdigest()
std::string hexdigest |
( |
| ) |
const |
◆ init()
◆ update() [1/2]
void update |
( |
const char * |
buf, |
|
|
size_type |
length |
|
) |
| |
◆ update() [2/2]
void update |
( |
const unsigned char * |
buf, |
|
|
size_type |
length |
|
) |
| |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
, |
|
|
MD5 & |
md5 |
|
) |
| |
|
friend |
◆ digest
The documentation for this class was generated from the following file:
- include/fastrtps/utils/md5.h