Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
Decrypt AES 256 CBC using crypto-js

i have the following key to decrypt erUF9SRCNQZPCBezVGzYYnUVgwAKZTvXzS5Zhgw6B/4= into "54545fwfwefweffvfdv", I tried searching for similar question but the lack of my knowledge in encryption prevent me from solving this from my own.

function getDecryptedCode() {
var key = CryptoJS.enc.Utf8.parse('JM@q@MM8AAxVV');
var iv = CryptoJS.enc.Utf8.parse('');
var ciphertext = CryptoJS.enc.Base64.parse("erUF9SRCNQZPCBezVGzYYnUVgwAKZTvXzS5Zhgw6B/4=");
var encryptedCP = CryptoJS.lib.CipherParams.create({
  ciphertext: ciphertext,
  formatter: CryptoJS.format.OpenSSL
});
var decryptedWA = CryptoJS.AES.decrypt(encryptedCP, key, {
  iv: iv
});
var decryptedUtf8 = decryptedWA.toString(CryptoJS.enc.Utf8);

return decryptedUtf8;

}

console.log(getDecryptedCode());

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!