3 ms·
I see where you're coming from. On the other hand, since they were after base32, they were able to choose an additional letter to omit. By omitting the U, the
by tyingq 10y ago
I see where you're coming from. On the other hand, since they were after base32, they were able to choose an additional letter to omit. By omitting the U, they happen to exclude the most popular english language expletives.
These things can and do end up in, for example, urls. Think something like an ecommerce store order id. While not likely to happen, the below could happen in an email, and might invite unneeded controversy:
"Dear Mr Customer, Please Click Here to see your order status: http://example.com/status/FUCKUP6433432334234 http://example.com/status/FUCKUP6433432334234 "
- joshuak 10y agoAh yes ok I can understand that. I can see from a marketing point of view that you might want to simply and quietly avoid the (roughly) 1 in 1,000,000 ids which start with 4 specific characters. Still, it's a bit culturally specific. It gives the impression of solving a problem that is doesn't. Depending on your market/language a different character might be a better choice. Plus there are quite a few 'bad' words that can still appear. Filtering and rejecting proposed IDs based on a list of objectionable words seems like a far more realistic solution, then baking a very specific exclusion into the plumbing.
- emmelaich 10y agoOmitting U is great bang for your buck. When I wrote a simple password generator as well as omitting u or U I also omitted all of 1iIlL and oO0. Then I thought - the hell with it, I'll leave out all vowels to reduce the chance of offending someone. I had to increase the length to compensate. By how much I'll leave as an exercise for the reader.