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

It /can/ be smaller though, as the probability is linked to the number of global threads generating UUIDs in any given microsecond. Thus if you have enough machines generating UUIDs, you'll have more chances for a collision. Given that it is only possible to generate a collision in a given microsecond, and not globally across ALL TIME, over ∞ time, the probability of a collision(UUID) == 0, while a collision(sha256) == 100%.


Your counter rolls eventually. You're underappreciating how much larger 2^256 is than 2^80 or even 2^128.




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

Search: