no message
This commit is contained in:
parent
d08af60bbf
commit
32f238b938
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user