Generate a hash value (message digest) in PHP

Description

The following code shows how to generate a hash value (message digest).

Example


<?php
echo hash('ripemd160', 'The quick brown fox jumped over the lazy dog.');
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Development »




Environment
Error
Hash
Include
Locale
Math
Network
Output
Reflection
PHP Regular Expressions