In the code of Base64 http://xiaoqin00.blog.51cto.com/10468367/ 1713961, we say that the Base64 encoding is a 64 (2 6-square) ASCII character that represents 256 (2) ASCII characters, that is, 8-bit binary arrays are encoded into three-bit ASCII characters, the length is four higher than the original.
Similarly, the base32 is a 32 (2 of the 5-bit) of a specific ASCII code to represent 256 ASCII code. Therefore, 5 ASCII characters are BASE32 encoded and become 8 characters (Convention number 40), the length is increased by 3/5. Less than 8n with "=" Top up.
Base16 is the use of 16 (2 of the 4) of a specific ASCII code to represent 256 ASCII characters. 1 ASCII characters are BASE16 encoded and become 2 characters, increasing the length by a factor. Less than 2n with "=" complement
In the base family, there is Base64, and no 189 is base32,
The Base64 contains uppercase letters (A-Z), lowercase letters (A-Z), digital 0--9, and +/;
Base64 Index Table:
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/76/CF/wKiom1ZdBl7TmntCAABm9HpvYYE373.png "title=" Wkiol1zmay2qtn6daabm8jt-btu798.png "alt=" Wkiom1zdbl7tmntcaabm9hpvyye373.png "/>
Only uppercase letters (A-Z) and numbers 234567 in Base32
Base32 Index Table:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/76/CF/wKiom1ZdBISg6vx_AABuBZlOPKI733.png "title=" 20151201102210.png "alt=" Wkiom1zdbisg6vx_aabubzlopki733.png "/>
Base16 only the number 0-9 and the uppercase letter abcdef.
BASE16 Index Table:
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/76/CE/wKioL1ZdBoyS1GfDAAAPj7Mgg7E532.png "title=" 20151201102932.png "alt=" Wkiol1zdboys1gfdaaapj7mgg7e532.png "/>
It is only my understanding, if there is a mistake, please correct me.
This article from "The World is white, hum" blog, please be sure to keep this source http://xiaoqin00.blog.51cto.com/10468367/1718416
Base family: Base64, Base32 and Base16