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

I am sorry but that is bad advice.

A GUID has much superior collision resistance than a bare random integer.

The GUID includes a part that is a random (like the int), a time component (prevents collision for hashes generate at different microsecond) and network information (prevent collision across host names).



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

Search: