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

> * 128 bits is a good rule of thumb for "will never ever collide"

It depends.

True random number are slow. Fast PRNG are prone to collision. That's why we have different specs and versions of UUIDs.



> True random number are slow. Fast PRNG are prone to collision.

Not in this decade. You can slam out a million securely random 128 bit numbers per second per core. For numbers you will store, the effort to store them is orders of magnitude greater than the effort to generate securely.




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

Search: