From ec9ce80c1365a07b30e9b1f000428bfbff4d47a8 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期二, 05 十二月 2023 18:17:03 +0800 Subject: [PATCH] 1、修改批量更改由于key大小写转换问题导致新修改的数据被覆盖问题。 --- Source/UBCS-WEB/src/config/Decrypt.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/config/Decrypt.js b/Source/UBCS-WEB/src/config/Decrypt.js index dd0f735..a2217e9 100644 --- a/Source/UBCS-WEB/src/config/Decrypt.js +++ b/Source/UBCS-WEB/src/config/Decrypt.js @@ -12,10 +12,11 @@ const decryptedStr = decrypt.toString(enc.Utf8); return decryptedStr; } +//鍔犲瘑 Vue 浠g爜 // const plaintext = 'your plaintext'; // const key = 'your encryption key'; // const iv = 'your initialization vector'; -// + // const encrypted = CryptoJS.AES.encrypt(plaintext, key, { iv: iv }); // const ciphertext = encrypted.toString(); // console.log('ciphertext',ciphertext) -- Gitblit v1.9.3