note 50163 added to function.md5
| From: | Anonymous at osu1 dot php dot net | Date: | Sun, 20 Feb 2005 12:06:49 +0000 |
| Subject: | note 50163 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85267@lists.php.net to get a copy of this message | ||
In response to the person who suggested concatenation of hashes, I believe that the hashing of a
hash would be a better option.
$str = "secret";
$doublehash = sha1(md5($str));
----
Manual Page -- http://www.php.net/manual/en/function.md5.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50163
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50163&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50163&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50163&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50163&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50163&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50163&report=yes
Search -- http://master.php.net/manage/user-notes.php