#include <cypher.h>
Inheritance diagram for PMessageDigest5:
Public Member Functions | |
PMessageDigest5 () | |
Create a new message digestor. | |
void | Start () |
Begin a Message Digest operation, initialising the object instance. | |
virtual void | Complete (Code &result) |
virtual PString | Complete () |
Static Public Member Functions | |
static PString | Encode (const PString &str) |
static void | Encode (const PString &str, Result &result) |
static PString | Encode (const char *cstr) |
static void | Encode (const char *cstr, Result &result) |
static PString | Encode (const PBYTEArray &data) |
static void | Encode (const PBYTEArray &data, Result &result) |
static PString | Encode (const void *dataBlock, PINDEX length) |
static void | Encode (const void *dataBlock, PINDEX length, Result &result) |
static void | Encode (const PString &str, Code &result) |
static void | Encode (const char *cstr, Code &result) |
static void | Encode (const PBYTEArray &data, Code &result) |
static void | Encode (const void *dataBlock, PINDEX length, Code &result) |
Protected Member Functions | |
virtual void | InternalProcess (const void *dataBlock, PINDEX length) |
virtual void | InternalCompleteDigest (Result &result) |
Classes | |
class | Code |
PMessageDigest5::PMessageDigest5 | ( | ) |
Create a new message digestor.
void PMessageDigest5::Start | ( | ) | [virtual] |
Encode the data in memory to and MD5 hash value.
str | String to be encoded to MD5 |
static void PMessageDigest5::Encode | ( | const PString & | str, | |
Result & | result | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
str | String to be encoded to MD5 |
result | The resultant 128 bit MD5 code |
static PString PMessageDigest5::Encode | ( | const char * | cstr | ) | [static] |
Encode the data in memory to and MD5 hash value.
cstr | C String to be encoded to MD5 |
static void PMessageDigest5::Encode | ( | const char * | cstr, | |
Result & | result | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
cstr | C String to be encoded to MD5 |
result | The resultant 128 bit MD5 code |
static PString PMessageDigest5::Encode | ( | const PBYTEArray & | data | ) | [static] |
Encode the data in memory to and MD5 hash value.
data | Data block to be encoded to MD5 |
static void PMessageDigest5::Encode | ( | const PBYTEArray & | data, | |
Result & | result | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
data | Data block to be encoded to MD5 |
result | The resultant 128 bit MD5 code |
static PString PMessageDigest5::Encode | ( | const void * | dataBlock, | |
PINDEX | length | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
dataBlock | Pointer to data to be encoded to MD5 |
length | Length of the data block. |
static void PMessageDigest5::Encode | ( | const void * | dataBlock, | |
PINDEX | length, | |||
Result & | result | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
dataBlock | Pointer to data to be encoded to MD5 |
length | Length of the data block. |
result | The resultant 128 bit MD5 code |
Encode the data in memory to and MD5 hash value.
str | String to be encoded to MD5 |
result | The resultant 128 bit MD5 code |
static void PMessageDigest5::Encode | ( | const char * | cstr, | |
Code & | result | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
cstr | C String to be encoded to MD5 |
result | The resultant 128 bit MD5 code |
static void PMessageDigest5::Encode | ( | const PBYTEArray & | data, | |
Code & | result | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
data | Data block to be encoded to MD5 |
result | The resultant 128 bit MD5 code |
static void PMessageDigest5::Encode | ( | const void * | dataBlock, | |
PINDEX | length, | |||
Code & | result | |||
) | [static] |
Encode the data in memory to and MD5 hash value.
dataBlock | Pointer to data to be encoded to MD5 |
length | Length of the data block. |
result | The resultant 128 bit MD5 code |
virtual void PMessageDigest5::Complete | ( | Code & | result | ) | [virtual] |
result | The resultant 128 bit MD5 code |
virtual PString PMessageDigest5::Complete | ( | ) | [virtual] |
virtual void PMessageDigest5::InternalProcess | ( | const void * | dataBlock, | |
PINDEX | length | |||
) | [protected, virtual] |
dataBlock | Pointer to data to be part of the MD5 |
length | Length of the data block. |
Implements PMessageDigest.
virtual void PMessageDigest5::InternalCompleteDigest | ( | Result & | result | ) | [protected, virtual] |
result | The resultant 128 bit MD5 code |