Hacker News new | past | comments | ask | show | jobs | submit login

See also Douglas Crockford's Base 32: https://www.crockford.com/base32.html

This takes the approach of allowing ambiguous characters by decoding them to the same value, and also considers the problem of accidental obscenities.




Interesting, I did different choices:

5-bit base-32 oi23456789 abcdefghkl mnpqrstuvw y

o = 0 i = 1 j, x and z removed.

I like that you can fit 6 characters in an 32-bit integer and still have to bits to spare... makes for compact usernames and network bandwidth.


I believe an implementation is here:

https://godocs.io/encoding/base32





Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: