Pascal Scripting: GetMD5OfUnicodeString

Prototype:

function GetMD5OfUnicodeString(const S: String): String;

Description:

Gets the MD5 sum of the specified string, as a string.

Causes an internal error if called by non Unicode Setup or Uninstall.

Example:
var
  MD5: String;
begin
  MD5 := GetMD5OfUnicodeString('Test');
  // MD5 = '8e06915d5f5d4f8754f51892d884c477'
end;