The MD5 checksum class.
More...
#include <murl_util_checksum.h>
◆ anonymous enum
Constants.
Enumerator |
---|
CHECKSUM_BYTE_SIZE | The byte size of the MD5 Checksum.
|
◆ Calculate() [1/2]
const UInt8* Murl::Util::MD5Checksum::Calculate |
( |
const void * |
srcData, |
|
|
UInt64 |
srcByteSize |
|
) |
| |
Calculate the MD5 checksum from a memory block.
- Parameters
-
srcData | Pointer to the source memory block. |
srcByteSize | The byte size of the memory block. |
- Returns
- A pointer to the checksum, the byte size of the checksum is defined by CHECKSUM_BYTE_SIZE.
◆ Calculate() [2/2]
Calculate the MD5 checksum from a data object.
- Parameters
-
data | The source data object. |
- Returns
- The checksum data object.
◆ CalculateHex() [1/2]
String Murl::Util::MD5Checksum::CalculateHex |
( |
const String & |
srcString | ) |
|
Calculate the MD5 checksum from a string.
- Parameters
-
srcString | The source string object. |
- Returns
- The hex-encoded checksum string.
◆ CalculateHex() [2/2]
Calculate the MD5 checksum from a data object.
- Parameters
-
data | The source data object. |
- Returns
- The hex-encoded checksum string.
◆ GetChecksumHex()
String Murl::Util::MD5Checksum::GetChecksumHex |
( |
| ) |
const |
Get the hex-encoded checksum string from the recent checksum calculation.
- Returns
- The hex-encoded checksum string.
◆ GetChecksum()
const ConstData& Murl::Util::MD5Checksum::GetChecksum |
( |
| ) |
const |
Get the checksum data object from the recent checksum calculation.
- Returns
- The checksum data object.
◆ mDigest
Data Murl::Util::MD5Checksum::mDigest |
|
protected |
The data object holding the checksum.
The documentation for this class was generated from the following file: