note 74335 deleted from function.sha1 by philip
| From: | philip@php.net | Date: | Fri, 06 Apr 2007 08:02:27 +0000 |
| Subject: | note 74335 deleted from function.sha1 by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125135@lists.php.net to get a copy of this message | ||
Note Submitter: B@z
----
a function to minimize the risk of collisions by using 2 hash techniques.
<?php
function SecureHash($string) {
return md5($string).sha1($string);
}
?>