>> GB> Is there any way that the same hash could have been generated more
>> than
>> GB> once?
>>
>> It's extremely unlikely (I cannot give you any stats as to how
>> unlikely though, sorry).
As I understand it (or don't, rather) the odds are one in 2,147,...,... (2
billion)
But that's only in th
Thanks for the tip... I have now implemented a while loop to make sure
that it goes into the db, as you say this should never actually loop,
but if it does it should only loop once..
kind of extra security..
cheers
Richard Davey wrote:
Hello Guy,
Thursday, December 9, 2004, 11:39:27 AM, you wrot
Hi,
I know this is highly unlikely... but I have this code:
$hash = md5(uniqid($message));
where message is a string that the user will input.
How likely is it that this hash might be repeated?
I'm using the hash as a primary key in a database - the user gets sent
the hash as part of a url to retr
Hello Guy,
Thursday, December 9, 2004, 11:39:27 AM, you wrote:
GB> $hash = md5(uniqid($message));
GB> where message is a string that the user will input.
GB> How likely is it that this hash might be repeated?
GB> I'm using the hash as a primary key in a database - the user gets sent
GB> the ha
4 matches
Mail list logo