Base64简介:
在RFC2045(http://www.ietf.org/rfc/rfc2045.txt)中Base64被定义为:Base64内容传送编码被设计用来把任意序列的8位字节描述为一种不易被人直接识别的形式(The Base64 Content-Transfer-Encoding is designed to representarbitrary sequences of octets in a form that need not be humanlyreadable.)。
注意:用 Base64 变换后的字符串,一定比原来的要长,否则就不对。