| hashGenerate a hash value (message digest) Description
   string hash
    ( string  $algo, string$data[, bool$raw_output= false
  ] )Parameters
 
 Return Values
   Returns a string containing the calculated message digest as lowercase hexits
   unless  Changelog
 
 Examples
 Example #1 A hash example 
<?phpThe above example will output: ec457d0a974c48d5685a7efa03d137dc8bbde7e3 
 Example #2 Calculate pre PHP-5.4 tiger hashes with PHP-5.4 and higher 
<?phpOutput of the above example in PHP 5.3: 146a7492719b3564094efe7abbd40a7416fd900179d02773 64359b7192746a14740ad4bb7afe4e097327d0790190fd16 Output of the above example in PHP 5.4: 64359b7192746a14740ad4bb7afe4e097327d0790190fd16 146a7492719b3564094efe7abbd40a7416fd900179d02773 See Also
 
 |