note 59327 added to function.md5
| From: | JonWatte at osu1 dot php dot net | Date: | Sat, 03 Dec 2005 04:11:55 +0000 |
| Subject: | note 59327 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99506@lists.php.net to get a copy of this message | ||
Scrambling the md5 adds no security, because it only adds obscurity. md5 is a reasonably strong hash
function, although it's recently been shown to be weaker than previously thought. If hashing
your password with md5 isn't good enough for you, then you should use a stronger hash like
Tiger instead -- not apply amateurish obfuscation that only serves to give you a false sense of
security.
I don't know of an implementation of Tiger for PHP, but the algorithm is pretty simple (and
secure) so you could probably write it in plain PHP code.
----
Manual Page -- http://www.php.net/manual/en/function.md5.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59327
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59327&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59327&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59327&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59327&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59327&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59327&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59327&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59327&report=yes
Search -- http://master.php.net/manage/user-notes.php