The Base62 is an encoding scheme that use 62 characters, consists in capital letters A to Z, the lower case letters and the numbers 0 to 9
Characters: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
Is useful when you need to convert a number to a short string characters, is used commonly for URL shorteners like tinyurl
Example the number 11157 is converted to "2TX"
- encode: Encode a number to a string representation
- decode: Decode the string to retrieve the number