note 76009 deleted from function.hash by danbrown
| From: | danbrown@php.net | Date: | Sat, 14 Mar 2009 14:48:41 +0000 |
| Subject: | note 76009 deleted from function.hash by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151894@lists.php.net to get a copy of this message | ||
Note Submitter: dani88elx at gmail dot com
----
Comparison between hash algorithms.
<?
$algos = hash_algos();
$word="hola";
foreach($algos as $algo)
{
echo $algo.": ";
$time=microtime(1);
echo hash($algo, $word);
echo "<br>".(microtime(1)-$time)."<br><hr>";
}
?>