Hacker News new | ask | show | jobs
by benterix 530 days ago
The author mentions readability - if they care about it, they should eliminate all ambiguous characters like 0Oo1l.
2 comments

Base 32 does that for them, it excludes the lower case letters and I L O U.
They use Crockford Base32 encoding which does exactly that.
I don't think so since the sample key they present in the big image contains many of these. The caption is "An example API key generated by github.com/gofrs/uuid and encoded with github.com/agentstation/uuidkey." - so something is wrong.
You need to look harder at the encoding standard. After generation all o are mapped to 0 and all l are mapped to 1 so yes there are 0 and 1 but there are never o and l.
Ah, so you need to know that first, otherwise it's still ambiguous to people reading them.