Just take out the vowels and numbers that can look like vowels. Nixing 0 means no b00bs IDs, and avoids 0/O; I usually take out 1/I as well.
Re:You'll regret using natural keys
by fnordsensei on Wednesday June 05, 2024 @01:52PM
(#40588086)
That goes some of the way, but I can think of a few problematic sequences that are only consonants and/or numbers.
This can be solved in user space by regenerating if the character sequences are detected, but this a) skews the distribution, and b) potentially takes time, especially when the ID generator is made to not be “too fast”. I want to generate a single ID that passes the blocklist in a timeframe that is not too fast, if that makes sense.
Is there an ID generator that takes this into consideration?