I have a detail with my decrypt. I have this text encrypted:
JRBaZHta0VEMIE4FEWuS9g==
And, with this app I excrated the text decryped:
AES Decrypted Output (Base64)
My decrypted text is this:
dGV4dG9BRW5jcmlwdGFy
I'm trying something like this:
CryptoJS.AES.decrypt({
ciphertext: 'JRBaZHta0VEMIE4FEWuS9g=='
}, 'asumakinaSecret1', {
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7
});
My last result is this:
{
"words": [
-1018515559,
-760093474,
953803896,
709829674
],
"sigBytes": -26
}
My problem is that I need to go from here JRBaZHta0VEMIE4FEWuS9g==
to here textoAEncriptar
, and I don't have a solution.
question from:
https://stackoverflow.com/questions/66050845/decrypt-aes-ecb-pkcs5padding-type-with-cryptojs 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…