MD5String

From Soldat Community Wiki
Jump to: navigation, search

From the Scripting Manual

function MD5String(Str: string): string;

Parameter Info:
 Str (String): String to be encrypted

Description:
 This function will perform a one-way(cannot be decrypted) encryption on Str.
 NOTE: Using this function is HIGHLY recommended for passwords!

Examples

var
  MyString: String;
begin
  MyString := MD5String('password');
  WriteLn(MyString);         // Will output the MD5 of 'password' (5f4dcc3b5aa765d61d8327deb882cf99)
end;

External Links