Difference between revisions of "MD5String"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "===From the Scripting Manual=== ''function MD5String(Str: string): string;'' '''Parameter Info:''' Str (String): String to be encrypted '''Description:''' This func...")
 
(No difference)

Latest revision as of 08:52, 15 August 2012

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