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 scheme that represents binary data in an ASCII string format.[1][2]

123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz
= 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, and thus are not used in the base58 encoding scheme.

Base62 table

The Base62 index table:

DecimalBinaryBase62 DecimalBinaryBase62 DecimalBinaryBase62 DecimalBinaryBase62
0000000016010000G32100000W48110000m
1000001117010001H33100001X49110001n
2000010218010010I34100010Y50110010o
3000011319010011J35100011Z51110011p
4000100420010100K36100100a52110100q
5000101521010101L37100101b53110101r
6000110622010110M38100110c54110110s
7000111723010111N39100111d55110111t
8001000824011000O40101000e56111000u
9001001925011001P41101001f57111001v
10001010A26011010Q42101010g58111010w
11001011B27011011R43101011h59111011x
12001100C28011100S44101100i60111100y
13001101D29011101T45101101j61111101z
14001110E30011110U46101110k
15001111F31011111V47101111l

See also

References

  1. Kejing He; Xiancheng Xu; Qiang Yue (November 19, 2008). "A secure, lossless, and compressed Base62 encoding". 2008 11th IEEE Singapore International Conference on Communication Systems. Institute of Electrical and Electronics Engineers. pp. 761–765. doi:10.1109/ICCS.2008.4737287. ISBN 978-1-4244-2423-8. S2CID 10831128. Retrieved 12 August 2020. This base62 compressed encoding has been tested & The 62 alphanumeric characters (A-Z, a-z, 0–9)
  2. Wu, Pei‐Chi (June 18, 2001). "A base62 transformation format of ISO 10646 for multilingual identifiers". Software: Practice and Experience. 31 (12): 1125–1130. doi:10.1002/spe.408. S2CID 32472727. 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.