HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by joombaga | Hacker News Reader
Parent
Full thread
joombaga
·
I think it's usually base62.
View on HN
natdempk
·
You can also use an alternate alphabet like this one
https://base64.guru/standards/base64url
which replaces +/ with -_ which are URL safe characters.
rascul
·
Probably is. Base64 includes + and / which I believe need to be URL encoded, plus the = padding can mean an extra step if you want to remove them to make the URL pretty.
https://en.wikipedia.org/wiki/Base64#Base64_table
______-
·
https://www.kerstner.at/2012/07/shortening-strings-using-bas...
Reply on news.ycombinator.com