2 ms·
Base62? That seems strictly worse than base64 to me. Why that choice?
by Dylan16807 6y ago
Base62? That seems strictly worse than base64 to me. Why that choice?
- zamalek 6y agoThe two (or three if you retain padding) additional characters are symbols and can cause issues in many places. Base64-url and other variants exist for this reason, but there is no single base64 that works everywhere.
- Dylan16807 6y agoThere's no "single base62 that works everywhere" either. So while there's valid criticism to be had of base64, I still don't see how this choice is better.
- cuspycode 6y ago62 is the number of letters and digits in ASCII, so it's the most compact encoding that doesn't need special punctuation characters (which aren't always safe to use).
- Dylan16807 6y agoHow many situations don't let you use _ and -? URLs certainly do.