6
【笔记】JS实现Base64编解码
source link: https://loli.fj.cn/2023/02/27/JS%E5%AE%9E%E7%8E%B0Base64%E7%BC%96%E8%A7%A3%E7%A0%81/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
【笔记】JS实现Base64编解码
2023-02-27
JS实现Base64编解码
Base64编码
<str>
:未编码的字符串
window.btoa("<str>");
Base64解码
<str>
:已编码的字符串
window.atob("<str>");
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK