note 59327 deleted from function.md5 by joey
| From: | joey@php.net | Date: | Sun, 17 Jul 2011 08:43:12 +0000 |
| Subject: | note 59327 deleted from function.md5 by joey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181613@lists.php.net to get a copy of this message | ||
Note Submitter: Jon Watte
----
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.