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

I agree; base58 or base62 (which KSUIDs use) have a lot to recommend them. Crockford's base32 works, but I don't love it.

My first choice would be to just use type-prefixed KSUIDs, which gives you 160-bit K-sortable IDs with base62 encoding, which works great unless you need 128-bit IDs for compatability reasons.



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

Search: