/**
* 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 page, jsp page data transfer base64 encryption and decryption
Guess you like
Origin blog.csdn.net/qq_36161345/article/details/92606221
Recommended
Ranking