/**
* string to base64
*/
function _btoa(str) {
return window.btoa(unescape(encodeURIComponent(str)));
}
/**
* base64 to string
*/
function _atob(str) {
return decodeURIComponent(escape(window.atob(str)));
}
html页面,jsp页面数据传递base64加密解密
猜你喜欢
转载自blog.csdn.net/qq_36161345/article/details/92606221
今日推荐
周排行