phstc / base62 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jtzemp/base62
Base62 monkeypatches Integer to add an Integer#base62_encode instance method to encode an integer in the character set of 0-9 + A-Z + a-z. It also monkeypatches String to add String#base62_decode to take the string and turn it back into a valid integer.