no message

This commit is contained in:
A1300399510 2024-11-08 15:52:42 +08:00
parent d08af60bbf
commit 32f238b938

View File

@ -82,15 +82,13 @@ function objectToQueryString(obj = {}) {
function decodeKey(encrypted, key) {
return new Promise((resolve, reject) => {
try {
var decodekey = "894e129983f3a898"
const encryptedData = CryptoJS.enc.Base64.parse(encrypted)
const decrypted = CryptoJS.AES.decrypt(
{
ciphertext: encryptedData,
},
CryptoJS.enc.Utf8.parse(decodekey),
CryptoJS.enc.Utf8.parse(key),
{
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7,