---
title: "(转)jquery的base64 "
author: "strayly"
date: "2017-10-19T14:54:32Z"
tags: []
categories: ["编程语言"]
slug: "jquery-base64"
draft: false
lastmod: "2017-10-19T14:54:32Z"
id: 2396941
url: "https://strayly.iteye.com/blog/2396941"
---

https://github.com/yckart/jquery.base64.js
var a="123";
var b=$.base64.btoa(a);
console.log(a===$.base64.atob(b))