note 49190 added to function.md5

From: Date: Wed, 19 Jan 2005 14:12:20 +0000
Subject: note 49190 added to function.md5
Groups: php.notes 
Request: Send a blank email to php-notes+get-83628@lists.php.net to get a copy of this message
An earlier poster suggested using md5 multiple times and strrev. I cannot stress enough that this is an incredibly bad idea: when you md5 a md5 hash you're vastly increasing the chance of a collision. The only possible security here is through obscurity -- and that's no security at all. If you're worried about md5's collisions, try looking at the sha1 function and/or enforcing password restrictions on your system ---- Manual Page -- http://www.php.net/manual/en/function.md5.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49190 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49190&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49190&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49190&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49190&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49190&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49190&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83628) next »