![]() |
Murl Engine API
Version 2025.1
|
The MD5 checksum class. More...
#include <murl_util_checksum.h>
The MD5 checksum class.
Public Types | |
| enum | { CHECKSUM_BYTE_SIZE } |
| Constants. More... | |
Public Member Functions | |
| MD5Checksum () | |
| The default constructor. | |
| const UInt8 * | Calculate (const void *srcData, UInt64 srcByteSize) const |
| Calculate the MD5 checksum from a memory block. More... | |
| const ConstData & | Calculate (const ConstData &data) |
| Calculate the MD5 checksum from a data object. More... | |
| String | CalculateHex (const String &srcString) |
| Calculate the MD5 checksum from a string. More... | |
| String | CalculateHex (const ConstData &data) |
| Calculate the MD5 checksum from a data object. More... | |
| String | GetChecksumHex () const |
| Get the hex-encoded checksum string from the recent checksum calculation. More... | |
| const ConstData & | GetChecksum () const |
| Get the checksum data object from the recent checksum calculation. More... | |
Protected Attributes | |
| Data | mDigest |
| The data object holding the checksum. | |
Calculate the MD5 checksum from a memory block.
| srcData | Pointer to the source memory block. |
| srcByteSize | The byte size of the memory block. |
Calculate the MD5 checksum from a data object.
| data | The source data object. |
Calculate the MD5 checksum from a string.
| srcString | The source string object. |
Calculate the MD5 checksum from a data object.
| data | The source data object. |
| String Murl::Util::MD5Checksum::GetChecksumHex | ( | ) | const |
Get the hex-encoded checksum string from the recent checksum calculation.
| const ConstData& Murl::Util::MD5Checksum::GetChecksum | ( | ) | const |
Get the checksum data object from the recent checksum calculation.