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