note 47215 added to function.uniqid
| From: | php-general at lists dot php dot net | Date: | Sat, 06 Nov 2004 19:54:19 +0000 |
| Subject: | note 47215 added to function.uniqid | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80201@lists.php.net to get a copy of this message | ||
"Therefore, the chance of finding 2 matching hashes increases with every hash generated. Taking
into account that md5 has been around for 12 years, we may already have passed the magic
number."
I think instead of 'finding', which implies recognition, you mean 'generating',
don't you? And what practical difference would it make? It seems intuitively likely that at
least 2 people somewhere in the world over the past 12 years have already got back exactly the same
hash because of what they fed in to be digested. But so what? It's only meaningful if the two
hashes collide in some way, really.
----
Manual Page -- http://www.php.net/manual/en/function.uniqid.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47215
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47215&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47215&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47215&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47215&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47215&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47215&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47215&report=yes
Search -- http://master.php.net/manage/user-notes.php