MD5 Method

Get MD5 code from a string

Unit: u_md5
function MD5(const AString: string): string

Parameters

AString
Type: System.string

String to encode

Return Value

Type: System.string

The function return the MD5 of the AString string.

Before Delphi 10 Seattle this function uses IdHashMessageDigest from Iny. Since Delphi 10 Seattle it uses System.Hash.THashMD5 from Embarcadero.