3 ms·
Why is it bad to use case sensitive alpha plus digits plus two punctuation? The article already uses 62 chars (minus the two punctuation.) If you encode fewer
by jwatte 10y ago
Why is it bad to use case sensitive alpha plus digits plus two punctuation? The article already uses 62 chars (minus the two punctuation.)
If you encode fewer bits per character, you get a longer key but no more security.)
Raw binary: 16 bytes
Base64: 22 bytes
Base32: 26 bytes
Base16: 32 bytes
The only reason to use base 32 is codes that a human may enter (promo, verification, serial) to remove case and O/0 ambiguities.
The only reason to use base 16 is laziness (some APIs generate this for you.)
API keys are presumably copied from the generation page and pasted into the local app config file.