note 53642 deleted from function.uniqid by nlopess
| From: | nlopess@php.net | Date: | Wed, 08 Jun 2005 12:48:22 +0000 |
| Subject: | note 53642 deleted from function.uniqid by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90110@lists.php.net to get a copy of this message | ||
Note Submitter: bosh at vp dot pl
----
Hi, I think, that if the space of possible values of hash function has n elements, then generating
sqrt(n) gives quite big probability of collision.
Also that's know fact that md5 collisions where already found, and can be generated quite fast.
However still I don't understand the connection between this and this function.