PHP
Syntax
string md5(string $str, bool $raw)
Parameter | Description |
---|---|
$str | Required. The string to be hashed. |
$raw | Optional. Default FALSE returns 32 character hex number. TRUE returns 16 character binary format. |
Example
Code
var $hashed = md5(“Hello World!”);
echo $hashed;
echo $hashed;
Output
ed076287532e86365e841e92bfc50d8c