Browse Source

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

pull/605/head
江麻妞 5 years ago
committed by GitHub
parent
commit
d34467d3f4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/utils/cipher.ts

2
src/utils/cipher.ts

@ -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) {

Loading…
Cancel
Save