note 9592 added to md5

From: Date: Tue, 14 Nov 2000 12:00:41 +0000
Subject: note 9592 added to md5
Groups: php.notes 
Request: Send a blank email to php-notes+get-7667@lists.php.net to get a copy of this message
If you want some numbers that are actually unique, don't reley on md5 or any other kind of checksum. If you think about it, if all binary sequences can be collapsed to a 32 character md5 checksum you are going to get a lot of repeats. Why not use uniqid? It does generate uniqid's; md5 does not. The good thing about md5 and other checksum's is tht it is hard to calculate what the dat was that could have generated the checksum. Sam http://www.php.net/manual/function.md5.php

« previous php.notes (#7667) next »