Unverified 提交 d34467d3 作者: 江麻妞 提交者: GitHub

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

上级 ec3d51d6
...@@ -43,7 +43,7 @@ export class AesEncryption { ...@@ -43,7 +43,7 @@ export class AesEncryption {
} }
export function encryptByBase64(cipherText: string) { export function encryptByBase64(cipherText: string) {
return Base64.parse(cipherText).toString(UTF8); return UTF8.parse(cipherText).toString(Base64);
} }
export function decodeByBase64(cipherText: string) { export function decodeByBase64(cipherText: string) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论