ludc
2023-10-10 f31b1b0a442c83432de9bdf6bc4539bc68acaf6c
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)