note 53642 added to function.uniqid

From: Date: Wed, 08 Jun 2005 08:05:57 +0000
Subject: note 53642 added to function.uniqid
Groups: php.notes 
Request: Send a blank email to php-notes+get-90097@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.uniqid.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+53642 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53642&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53642&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53642&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53642&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53642&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+53642&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90097) next »