ludc
2023-10-27 8f9f020bde3c7a5cecdad867e1034d570a8e8eb1
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)