Base64 encode and decode

联合创作 · 2023-10-02 15:44

After encode by this script, you can decode it with PHP, and vice versa.
Support Unicode library.

This code was collected from the network, I just rewrite it as the plugin of jQuery, the copyright belongs to original work(s).

Usage
Whether or not to use UNICODE library:
$.base64.is_unicode = false/true;
Encode:
$.base64.encode('$.base64');
Decode:
$.base64.decode('JC5iYXNlNjQ=');

Demo
http://www.hpyer.cn/codes/jquery-plugin-base64-encode-and-decode

浏览 4
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报