note 47822 added to function.md5
| From: | KevinL at osu1 dot php dot net | Date: | Wed, 01 Dec 2004 18:58:39 +0000 |
| Subject: | note 47822 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81231@lists.php.net to get a copy of this message | ||
Correction regarding MD5's security:
A method of producing collisions in MD5 and related algorithms has been discovered that is more
efficient than brute-force. What this means is that an attacker can produce two strings that hash
to the same result in a "reasonable" amount of time.
This does NOT mean that an attacker can a) decrypt an MD5 hash or b) find another string that will
MD5 to the same value. So MD5 protected passwords cannot be attacked by this method.
Note that all hashes have collisions in them-- reducing an infinite set of inputs to a finite set of
outputs must have duplicates.
----
Manual Page -- http://www.php.net/manual/en/function.md5.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47822
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47822&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47822&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47822&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47822&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47822&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47822&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47822&report=yes
Search -- http://master.php.net/manage/user-notes.php