note 17385 added to function.mhash
| From: | paulj at 5emedia dot net | Date: | Thu, 06 Dec 2001 15:02:23 +0000 |
| Subject: | note 17385 added to function.mhash | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21712@lists.php.net to get a copy of this message | ||
Many digest algorithms (especially MD5) are less secure if you are hashing data that is smaller than
the algorithm's output. I recommend either hashing a secret key/salt with the original data to
increase it's security.
--
http://www.php.net/manual/en/function.mhash.php
http://master.php.net/manage/user-notes.php?action=edit+17385
http://master.php.net/manage/user-notes.php?action=delete+17385
http://master.php.net/manage/user-notes.php?action=reject+17385