jQuery plugin base64 encode and decode

Posted by Hpyer on 2008-09-16, 星期二

Reload page to: English简体中文繁體中文

Summary

Base64 encoder and decoder write by JavaScript. This script was a plugin of jQeury, so you must load jQuery library first if you want to use this script.
After encode by this script, you can decode it with PHP, and vice versa
Support Unicode library
This script was collected from the network, I just rewrite it as the plugin of jQuery, the copyright belongs to original work(s).

Demo

 

 

Download

Usage

Whether or not to use UNICODE library:

$.base64.is_unicode = false/true;

Encode:

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

Decode:

$.base64.decode('JC5iYXNlNjQ=');
Did you enjoy this article? Share it or give it a bump!
10,491 Views

5 Comments on “jQuery plugin base64 encode and decode”

  • 学习笔记 wrote on 2008-10-11, 01:35 Reply to this comment

    It’s so great,I like it,too match

  • Erick wrote on 2009-11-26, 10:08 Reply to this comment

    Too huge!

  • 四五六美女 wrote on 2009-11-26, 22:08 Reply to this comment

    支持楼主。。

    四五六美女http://www.456mn.com

  • yespao wrote on 2010-06-19, 23:28 Reply to this comment

    aee mlk ke porra essa , ta tirando memo esa fita ae … pensei era algo

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

Welcome to Hpyer 的未知空间

  哈咯~很高兴您能在浩瀚的网络中找到本站,虽然本站只是个博客,但是它却不仅仅是一个博客。在这里你将会了解到一些网页制作方面的知识,同时也可以获得一些实用的程序源码。但愿您在这次短暂的访问中可以有所收获。【了解更多】 【联系 Hpyer

Search

Search posts by Google engine. FROM:    

Advertisement