Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They are not theoretically guaranteed they are in practice though. 2^128 and 122 are big numbers. Even if you are producing a billion per second you have a 50% chance of not getting a collision for 100 years.


I've used 128 secure-random bits for ages, not caring for any of the UUID version nonsense. Per the birthday paradox, I need to have 2*64 entries in my tables to reach 50% collision probability, and it will be a while before I can afford that much storage anyhow.


Should have been 2*64.


And of course the sanest person gets downvoted, as always




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: