Skip to content

Base64 编码解码

实现原理

js
const b64Encode = () => {
    text.value = btoa(text.value)
}
const b64Decode = () => {
    text.value = atob(text.value)
    unzip()
}
const clean = () => {
    text.value = ''
}

最后更新于: