田源
2023-12-05 ee6d006ef63ec8e6574c426ef7fb3308439d72e1
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)