Encoding | Block Size | characters |
---|---|---|
Base 16 | 2 | 0-9a-f |
Base 32 | 8 | 0-9A-Z |
Base 64 | 4 | 0-9a-zA-z+/ |
Base 85 | 1 | 0-9a-zA-Z!#$%&()*+-;<=>?@^_{ |
Base64 : 64 values
= 6bits
=> we would require 4
characters to form a multiple of 8
, and hence each 4 character block decodes to 3
character block