Root > Reference > All Functions > MD5Hash

Function MD5Hash

Previous pageReturn to chapter overviewNext page   

Calculates MD5 hash.







Code (Delphi)

function MD5Hash(

const AData: Pointer;

const ADataSize: Cardinal

): TMD5Hash; overload;


function MD5Hash(

const AData: RawByteString

): TMD5Hash; overload;



AData [in]

A data to calculate hash.


ADataSize [in]

Size of AData in bytes.


Return value

MD5 hash of the specified AData.



The MD5 message-digest algorithm is a widely used cryptographic hash function producing a 128-bit (16-byte) hash value, typically expressed in text format as a 32 digit hexadecimal number. MD5 has been utilized in a wide variety of cryptographic applications, and is also commonly used to verify data integrity.



The security of the MD5 hash function is severely compromised. As of 2010, the CMU Software Engineering Institute considers MD5 "cryptographically broken and unsuitable for further use".



This routine is used for generating encryption keys from password for TEA cipher (password-protected debug information). 


See also

Send feedback... Build date: 2023-05-05
Last edited: 2023-05-05
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.

Permanent link to this article: