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

79
Views
Descifrar cadena DES-ECB usando cryptojs

Intenté usar esta herramienta en línea para descifrar mi cadena y funciona perfectamente, lo que quiero implementar en mi aplicación React.

cadena cifrada: "iPPGVzyogeiPwpro65A0eUaQggN+8+J4mteJdeaEeFiCL4nTGWnI3F16SIjtZBIxsc7WJNlKm0HtZ754aGgzDIPzFaL/aK97"

cadena descifrada: "http://aac.saavncdn.com/666/487fc075363611f93bb2a8bfc27635f6_96.mp4",

Cuando trato de codificar esto, la cadena cifrada sale diferente si intento cifrar y viceversa

Aquí está mi código:

 var encrypted = CryptoJS.DES.encrypt( "http://aac.saavncdn.com/666/487fc075363611f93bb2a8bfc27635f6_96.mp4", "38346591" ).toString();

esto da una salida diferente: U2FsdGVkX18ql9OPbTS4FRRHvl8Tvm7m2Vg5SkUdIM2p9OF6GU0wYmJQoitwGoPlKCx8tTfdcLGNc34V3sgw1EKlCeSYtJ6LFc2BDpdfNOw3XYoadapisA==

 var encrypted = "iPPGVzyogeiPwpro65A0eUaQggN+8+J4mteJdeaEeFiCL4nTGWnI3F16SIjtZBIxsc7WJNlKm0HtZ754aGgzDIPzFaL/aK97"; var decrypted = CryptoJS.DES.decrypt(encrypted, "38346591"); console.log(decrypted.toString());

es por eso que el descifrado tampoco funciona. ¿Me estoy perdiendo algo?

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!