NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
websocketpp::md5 Namespace Reference

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'}
 

Detailed Description

Provides MD5 hashing functionality.

Typedef Documentation

typedef unsigned char websocketpp::md5::md5_byte_t

Definition at line 78 of file md5.hpp.

typedef unsigned int websocketpp::md5::md5_word_t

Definition at line 79 of file md5.hpp.

Function Documentation

void websocketpp::md5::md5_init ( md5_state_t pms)
inline
void websocketpp::md5::md5_append ( md5_state_t pms,
md5_byte_t const *  data,
size_t  nbytes 
)
inline
void websocketpp::md5::md5_finish ( md5_state_t pms,
md5_byte_t  digest[16] 
)
inline
std::string websocketpp::md5::md5_hash_string ( std::string const &  s)
inline
std::string websocketpp::md5::md5_hash_hex ( std::string const &  input)
inline

Definition at line 433 of file md5.hpp.

References md5_hash_string().

Variable Documentation

const char websocketpp::md5::hexval[16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}

Definition at line 431 of file md5.hpp.