Menu Riverview Church

MD5

Calculate the md5 hash of a string

SYNTAX

md5 ( string $str [, bool $raw_output = FALSE ] ) : string

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.

RETURN

Returns the hash as a 32-character hexadecimal number.

EXAMPLES

STR

8b1a9953c4611296a827abf8c47804d7

RAW_OUTPUT

8b1a9953c4611296a827abf8c47804d7

PHP