Base64 encode and decode

Base64 encode and decode
 点击下载

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:

  1. $.base64.is_unicode = false/true; 

Encode:

  1. $.base64.encode('$.base64'); 

Decode:

  1. $.base64.decode('JC5iYXNlNjQ='); 

 

转载请注明:代码家园 » Base64 encode and decode

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)