Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

base64


jQuery Crypt

This is a series of jquery functions I put together from a few source (listed in the source). the plugin easily encodes MD5 and SHA1 as well as encoding and decoding of Base64 and Xtea(128bit encrypted) strings.

I have often used xtea / b64 encoding in my cgi's for years to provide strong method of passing variables in cookies etc. as xtea returns non ascii data b64 is necessary in a text worlds

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:
$.base64.is_unicode = false/true;
Encode:
$.base64.encode('$.base64');
Decode:
$.base64.decode('JC5iYXNlNjQ=');

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

Base64 functions

Encodes and Decodes the given data in base64.
This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies.
Base64-encoded data takes about 33% more space than the original data.

This javascript code is used to encode / decode data using base64 (this encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean). Script is fully compatible with UTF-8 encoding. You can use base64 encoded data as simple encryption mechanism.
If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag).

Example

$.base64Encode("I'm Persian."); // return "SSdtIFBlcnNpYW4u"
$.base64Decode("SSdtIFBlcnNpYW4u"); // return "I'm Persian."