note 100791 deleted from function.md5 by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Nov 2010 14:04:02 +0000 |
| Subject: | note 100791 deleted from function.md5 by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173832@lists.php.net to get a copy of this message | ||
Note Submitter: arturs dot daudiss at fabrica dot lv
----
If speed matters, use:
<?php
$result = hash('md5', $string);
?>
instead of:
<?php
$result = md5($string);
?>
First option is about twice faster.
Research was made to release http://www.md5-online.com/
project.