36#ifndef IMT_BASE_CORE_UTIL_MD5_H
37#define IMT_BASE_CORE_UTIL_MD5_H
113 std::array<uint32_t, STATE_SIZE> m_state;
115 std::array<uint32_t, COUNT_SIZE> m_count;
117 std::array<uint8_t, BUFFER_SIZE> m_buffer;
This class provides the MD5 checksum calculation routines.
void finalize(uint8_t digest[MD5_HASH_SIZE])
Finalization ends the md5 message-digest operation, writing the the message digest and zeroizing the ...
static void resetMd5Hash(uint8_t md5Hash[MD5_HASH_SIZE])
Resets the MD5 hash array.
static constexpr uint32_t MD5_HASH_SIZE
Defines the size of an md5 hash.
static constexpr size_t STATE_SIZE
static constexpr size_t BUFFER_SIZE
void update(uint8_t const pData[], uint32_t const dataSize)
Block update operation.
static bool areEqual(uint8_t const expected[MD5_HASH_SIZE], uint8_t const current[MD5_HASH_SIZE])
Compares two MD5 hashes and returns true if they are equal.
static constexpr size_t COUNT_SIZE
This is a application specific file which is used to configure Imt.Base.Core.Math.
unsigned __int32 uint32_t