Hacker News new | ask | show | jobs
by Terr_ 3130 days ago
> the number 0 since it looks so close to the letter 0.

Just throwing this out there in case the problem comes up again: https://en.wikipedia.org/wiki/Base58

3 comments

It's also worth skipping out the letters S and number 5, the letter G and number 6, and the letter B and number 8. I also omit vowels to avoid accidentally creating words in serial codes.
I autogenerate passwords exclusively using lower case 'L's, the letter i in both cases, the number 1, and pipe characters.
There's room for improvement. What about the "!"? Gotta catch those folks with poor eyesight.
Also Base32, which has more out-of-the-box support:

https://en.wikipedia.org/wiki/Base32#Crockford.27s_Base32

That's a good start, but if the string is meant to be typed by hand it would be better to be case insensitive. Some kind of base 32 encoding would be appropriate.