mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 02:00:22 +08:00
parent
ec3d51d69b
commit
d34467d3f4
@ -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…
Reference in New Issue
Block a user