Root > Reference > All Functions > MD5Hash

Function MD5Hash

Previous pageReturn to chapter overviewNext page   

Calculates MD5 hash.

 

Unit

EHash

 

Syntax

 

Code (Delphi)

function MD5Hash(

const AData: Pointer;

const ADataSize: Cardinal

): TMD5Hash; overload;

 

function MD5Hash(

const AData: RawByteString

): TMD5Hash; overload;

 

Parameters

AData [in]

A data to calculate hash.

 

ADataSize [in]

Size of AData in bytes.

 

Return value

MD5 hash of the specified AData.

 

Remarks

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.

 

Important!

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".

 

Note

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

 

See also




Send feedback... Build date: 2024-12-19
Last edited: 2024-12-19
PRIVACY STATEMENT
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: https://www.eurekalog.com/help/eurekalog/topic_function_ehash_md5hash.php