#include <cypher.h>
List of all members.
Classes |
class | Result |
Public Member Functions |
| PMessageDigest () |
| Create a new message digestor.
|
virtual void | Start ()=0 |
| Begin a Message Digest operation, initialising the object instance.
|
virtual void | Process (const void *dataBlock, PINDEX length) |
virtual void | Process (const PString &str) |
| Incorporate the specified data into the message digest.
|
virtual void | Process (const char *cstr) |
| Incorporate the specified data into the message digest.
|
virtual void | Process (const PBYTEArray &data) |
| Incorporate the specified data into the message digest.
|
virtual PString | CompleteDigest () |
| Complete the message digest and return the magic number result.
|
virtual void | CompleteDigest (Result &result) |
Protected Member Functions |
virtual void | InternalProcess (const void *dataBlock, PINDEX length)=0 |
virtual void | InternalCompleteDigest (Result &result)=0 |
Constructor & Destructor Documentation
Create a new message digestor.
Member Function Documentation
Complete the message digest and return the magic number result.
The parameterless form returns the MD5 code as a Base64 string.
- Returns:
- Base64 encoded MD5 code for the processed data.
- Parameters:
-
result | The resultant 128 bit MD5 code |
- Parameters:
-
result | The resultant 128 bit MD5 code |
Implemented in PMessageDigest5.
- Parameters:
-
dataBlock | Pointer to data to be part of the MD5 |
length | Length of the data block. |
Implemented in PMessageDigest5.
- Parameters:
-
dataBlock | Pointer to data to be part of the MD5 |
length | Length of the data block. |
Incorporate the specified data into the message digest.
- Parameters:
-
str | String to be part of the MD5 |
Incorporate the specified data into the message digest.
- Parameters:
-
cstr | C String to be part of the MD5 |
Incorporate the specified data into the message digest.
- Parameters:
-
data | Data block to be part of the MD5 |
Begin a Message Digest operation, initialising the object instance.
Implemented in PMessageDigest5.
The documentation for this class was generated from the following file: