Base64是网络上最常见的用于传输8Bit字节代码的编码方式之一。Base64编码可用于在HTTP环境下传递较长的标识信息,可以加密一些数据,如电子邮件数据、下载地址等。而且由于字符在不同设备传递会有一些处理损失,所以用Base64编码成可见字符,这样出错的可能性就大大降低了。