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

It's pretty unlikely that you'll get a collision if you grab enough digits, but hex is only 16 digits. One easily has 62ish characters available (ShortUUID removes lookalikes so people can still read and type the codes), so why not squeeze as much randomness in them as you can? That's pretty much why I wrote it.


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

Search: