Provides MD5 hashing functionality. More...
Classes | |
struct | md5_state_s |
Typedefs | |
typedef unsigned char | md5_byte_t |
typedef unsigned int | md5_word_t |
typedef struct websocketpp::md5::md5_state_s | md5_state_t |
Functions | |
void | md5_init (md5_state_t *pms) |
void | md5_append (md5_state_t *pms, md5_byte_t const *data, size_t nbytes) |
void | md5_finish (md5_state_t *pms, md5_byte_t digest[16]) |
static void | md5_process (md5_state_t *pms, md5_byte_t const *data) |
std::string | md5_hash_string (std::string const &s) |
std::string | md5_hash_hex (std::string const &input) |
Variables | |
const char | hexval [16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'} |
Provides MD5 hashing functionality.
typedef unsigned char websocketpp::md5::md5_byte_t |
typedef unsigned int websocketpp::md5::md5_word_t |
typedef struct websocketpp::md5::md5_state_s websocketpp::md5::md5_state_t |
|
inline |
Definition at line 349 of file md5.hpp.
References websocketpp::md5::md5_state_s::abcd, websocketpp::md5::md5_state_s::count, and ZSW_MD5_T_MASK.
Referenced by md5_hash_string().
|
inline |
Definition at line 357 of file md5.hpp.
References websocketpp::md5::md5_state_s::buf, websocketpp::md5::md5_state_s::count, and md5_process().
Referenced by md5_finish(), and md5_hash_string().
|
inline |
Definition at line 393 of file md5.hpp.
References websocketpp::md5::md5_state_s::abcd, websocketpp::md5::md5_state_s::count, and md5_append().
Referenced by md5_hash_string().
|
static |
Definition at line 170 of file md5.hpp.
References websocketpp::md5::md5_state_s::abcd, SET, ZSW_MD5_T1, ZSW_MD5_T10, ZSW_MD5_T11, ZSW_MD5_T12, ZSW_MD5_T13, ZSW_MD5_T14, ZSW_MD5_T15, ZSW_MD5_T16, ZSW_MD5_T17, ZSW_MD5_T18, ZSW_MD5_T19, ZSW_MD5_T2, ZSW_MD5_T20, ZSW_MD5_T21, ZSW_MD5_T22, ZSW_MD5_T23, ZSW_MD5_T24, ZSW_MD5_T25, ZSW_MD5_T26, ZSW_MD5_T27, ZSW_MD5_T28, ZSW_MD5_T29, ZSW_MD5_T3, ZSW_MD5_T30, ZSW_MD5_T31, ZSW_MD5_T32, ZSW_MD5_T33, ZSW_MD5_T34, ZSW_MD5_T35, ZSW_MD5_T36, ZSW_MD5_T37, ZSW_MD5_T38, ZSW_MD5_T39, ZSW_MD5_T4, ZSW_MD5_T40, ZSW_MD5_T41, ZSW_MD5_T42, ZSW_MD5_T43, ZSW_MD5_T44, ZSW_MD5_T45, ZSW_MD5_T46, ZSW_MD5_T47, ZSW_MD5_T48, ZSW_MD5_T49, ZSW_MD5_T5, ZSW_MD5_T50, ZSW_MD5_T51, ZSW_MD5_T52, ZSW_MD5_T53, ZSW_MD5_T54, ZSW_MD5_T55, ZSW_MD5_T56, ZSW_MD5_T57, ZSW_MD5_T58, ZSW_MD5_T59, ZSW_MD5_T6, ZSW_MD5_T60, ZSW_MD5_T61, ZSW_MD5_T62, ZSW_MD5_T63, ZSW_MD5_T64, ZSW_MD5_T7, ZSW_MD5_T8, and ZSW_MD5_T9.
Referenced by md5_append().
|
inline |
Definition at line 415 of file md5.hpp.
References md5_append(), md5_finish(), and md5_init().
Referenced by md5_hash_hex(), and websocketpp::processor::hybi00< stub_config >::process_handshake().
|
inline |
Definition at line 433 of file md5.hpp.
References md5_hash_string().