Welcome Guest, Not a member yet? Register   Sign In
general md5 hashing question ... not CI specific
#5

[eluser]skattabrain[/eluser]
[quote author="Rick Jolly" date="1231631900"]waldmeister is right, there could be collisions. Instead of md5, you could use uniqid(). It uses microtime and optionally a prefix (which could be a random number) and entrophy (which is just more random characters). As soon as you md5 a "unique" string, you make it less unique.[/quote]

posted then saw your post ... good to know ... can't believe i've never used that function before!!


Messages In This Thread
general md5 hashing question ... not CI specific - by El Forum - 01-10-2009, 11:09 AM
general md5 hashing question ... not CI specific - by El Forum - 01-10-2009, 11:39 AM
general md5 hashing question ... not CI specific - by El Forum - 01-10-2009, 11:58 AM
general md5 hashing question ... not CI specific - by El Forum - 01-10-2009, 11:58 AM
general md5 hashing question ... not CI specific - by El Forum - 01-10-2009, 12:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB