ludc
2023-09-25 d461ab496723b4fdd04fe9df3e61eebe43caf72c
Source/UBCS-WEB/src/config/Decrypt.js
@@ -12,10 +12,11 @@
  const decryptedStr = decrypt.toString(enc.Utf8);
  return decryptedStr;
}
//加密 Vue 代码
// 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)