MD5 Method

Definition

Get MD5 code from a string

Delphi
function MD5(const AString: string): string

Parameters

AString
string

String to encode

Returns

string

The function return the MD5 of the AString string.

Remarks

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