Conditions:
- Packaging must be reversible, of course.
- Characters - from a set of non-coded for URIs
- Under no circumstances can the length of the result string be greater than the length of the text representation of the source number.
Such an option is proposed: to transfer to the 36-th SS. 36 simply because there are so many characters in the set "0-9,az"
. That is, for example, the number 1234567890987654321
will turn into 9do1sjhjpekg
. You can increase the base by introducing the "numbers" . (dot), - (hyphen) etc, but in principle it will change a little.
More versions?
n
, wheren
is the total number of non-encoded characters for URIs. Is not it so? - VladD