PHP Manualhash(PHP 5 >= 5.1.2, PECL hash:1.1-1.5) hash — Generate a hash value (message digest) Description
string hash
( string $algo
, string $data
[, bool $raw_output
] )
Parameters
Return ValuesReturns a string containing the calculated message digest as lowercase hexits unless raw_output is set to true in which case the raw binary representation of the message digest is returned. Examples
Example#1 A hash() example
<?phpThe above example will output:
|
PHP-Index
New Tutorial entries
|






