clan::MD5 Class Reference

MD5 hash function class. More...

#include <md5.h>

Public Member Functions

Construction
 MD5 ()
 Constructs a MD5 hash generator. More...
 
Operations
void reset ()
 Resets the hash generator. More...
 
void set_hmac (const void *key_data, int key_size)
 Enable a HMAC based calculation. More...
 
void add (const void *data, int size)
 Adds data to be hashed. More...
 
void add (const DataBuffer &data)
 Add. More...
 
void calculate ()
 Finalize hash calculation. More...
 

Attributes

static const int hash_size = 16
 
std::string get_hash (bool uppercase=false) const
 Returns the calculated hash. More...
 
void get_hash (unsigned char out_hash[hash_size]) const
 Get hash. More...
 

Detailed Description

MD5 hash function class.


The documentation for this class was generated from the following file: