Base36 and Base62 implementation without limitation on min/max value
These are also used for shortening a number (usually in base-10) or making a GUID shorter.
Another point is to produce a shorter string from result of encryption method, like AES.