| Yate
    | 
A standard MD5 digest calculator. More...
#include <yateclass.h>
 
  
| Public Member Functions | |
| MD5 () | |
| MD5 (const MD5 &original) | |
| MD5 (const void *buf, unsigned int len) | |
| MD5 (const DataBlock &data) | |
| MD5 (const String &str) | |
| MD5 & | operator= (const MD5 &original) | 
| virtual | ~MD5 () | 
| virtual void | clear () | 
| virtual void | finalize () | 
| virtual const unsigned char * | rawDigest () | 
| virtual unsigned int | hashLength () const | 
|  Public Member Functions inherited from Hasher | |
| virtual | ~Hasher () | 
| const String & | hexDigest () | 
| bool | update (const void *buf, unsigned int len) | 
| bool | update (const DataBlock &data) | 
| bool | update (const String &str) | 
| Hasher & | operator<< (const String &value) | 
| Hasher & | operator<< (const DataBlock &data) | 
| Hasher & | operator<< (const char *value) | 
| bool | hmacStart (DataBlock &opad, const void *key, unsigned int keyLen) | 
| bool | hmacStart (DataBlock &opad, const DataBlock &key) | 
| bool | hmacStart (DataBlock &opad, const String &key) | 
| bool | hmacFinal (const DataBlock &opad) | 
| bool | hmac (const void *key, unsigned int keyLen, const void *msg, unsigned int msgLen) | 
| bool | hmac (const DataBlock &key, const DataBlock &msg) | 
| bool | hmac (const String &key, const String &msg) | 
| virtual unsigned int | hmacBlockSize () const | 
| Static Public Member Functions | |
| static unsigned int | rawLength () | 
| Protected Member Functions | |
| bool | updateInternal (const void *buf, unsigned int len) | 
|  Protected Member Functions inherited from Hasher | |
| Hasher () | |
| Additional Inherited Members | |
|  Protected Attributes inherited from Hasher | |
| void * | m_private | 
| String | m_hex | 
| MD5 | ( | ) | 
Construct a fresh initialized instance
| MD5 | ( | const void * | buf, | 
| unsigned int | len ) | 
Construct a digest from a buffer of data
| buf | Pointer to the data to be included in digest | 
| len | Length of data in the buffer | 
Construct a digest from a binary DataBlock
| data | Binary data to be included in digest | 
| 
 | virtual | 
Destroy the instance, free allocated memory
| 
 | virtual | 
Clear the digest and prepare for reuse
Implements Hasher.
| 
 | virtual | 
| 
 | inlinevirtual | 
| 
 | virtual | 
Returns a pointer to the raw 16-byte binary value of the message digest. The digest is finalized if if wasn't already
Implements Hasher.
| 
 | inlinestatic | 
Return the length of the raw binary digest
| 
 | protectedvirtual | 
Update the digest from a buffer of data
| buf | Pointer to the data to be included in digest | 
| len | Length of data in the buffer | 
Implements Hasher.