md5Calculate the md5 hash of a string
&reftitle.description;
stringmd5stringstrboolraw_outputfalse
Calculates the MD5 hash of str using the
RSA Data Security, Inc.
MD5 Message-Digest Algorithm, and returns that hash.
&reftitle.parameters;
str
The string.
raw_output
If the optional raw_output is set to &true;,
then the md5 digest is instead returned in raw binary format with a
length of 16.
&reftitle.returnvalues;
Returns the hash as a 32-character hexadecimal number.
&reftitle.changelog;
&Version;&Description;5.0.0
The raw_output parameter was added.
&reftitle.examples;
A md5 example
]]>
&reftitle.notes;
¬e.passwordhashing;
&reftitle.seealso;
md5_filesha1_filecrc32sha1hash