Base62

The base62 encoding scheme uses 62 characters. The characters consist of the capital letters A-Z, the lower case letters a-z and the numbers 0–9. It is a binary-to-text encoding schemes that represent binary data in an ASCII string format.[1][2]

 123456789ABCDEFGH JKLMN PQRSTUVWXYZabcdefghijk mnopqrstuvwxyz
= 58 characters = base58

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
= 62 characters = base62

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/
= 64 characters = base64

In some fonts the 0 (zero), I (capital i), O (capital o) and l (lower case L) characters look the same. The 0OIl characters are not used in the base58 encoding scheme.

Base62 table

The Base62 index table:

IndexBinaryChar IndexBinaryChar IndexBinaryChar IndexBinaryChar
0000000A16010000Q32100000g48110000w
1000001B17010001R33100001h49110001x
2000010C18010010S34100010i50110010y
3000011D19010011T35100011j51110011z
4000100E20010100U36100100k521101000
5000101F21010101V37100101l531101011
6000110G22010110W38100110m541101102
7000111H23010111X39100111n551101113
8001000I24011000Y40101000o561110004
9001001J25011001Z41101001p571110015
10001010K26011010a42101010q581110106
11001011L27011011b43101011r591110117
12001100M28011100c44101100s601111008
13001101N29011101d45101101t611111019
14001110O30011110e46101110u
15001111P31011111f47101111v

See also

References

  1. "A secure, lossless, and compressed Base62 encoding". Institute of Electrical and Electronics Engineers. November 19, 2008. Retrieved 12 August 2020. This base62 compressed encoding has been tested & The 62 alphanumeric characters (A-Z, a-z, 0–9)
  2. "A base62 transformation format of ISO 10646 for multilingual identifiers". Wiley-Blackwell. June 18, 2001. Retrieved August 13, 2020. within a [0–9][A–Z][a–z] range, a total of 62 base characters
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.