Base64加密/解密

下面框中为脚本显示区
解决了对中文的不支持问题.
先用escape()对中文进行编码.然后再进行base64编码.
解码时,再加入unescape()对中文进行解码

Type in the message you want to encode in base64, or paste base64 encoded text into the text field, select Encode or Decode, and click the button!