未验证 提交 d34467d3 编写于 作者: 江麻妞 提交者: GitHub

fix(cipher): fix #587 (#588)

上级 ec3d51d6
......@@ -43,7 +43,7 @@ export class AesEncryption {
}
export function encryptByBase64(cipherText: string) {
return Base64.parse(cipherText).toString(UTF8);
return UTF8.parse(cipherText).toString(Base64);
}
export function decodeByBase64(cipherText: string) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册