Unverified Commit d34467d3 authored by 江麻妞's avatar 江麻妞 Committed by GitHub

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

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment