function StrMD5(AStr: string; AIsUnicode: boolean = false): string;

 

Computes and returns the MD5 hash code of the AStr string parameter.

The AIsUnicode parameter is optional. If it's not specified or if it's false, then AStr will be assumed to be an ANSI string, otherwise if AIsUnicode is true then AStr will be assumed to be a Unicode string.