Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

321
Vistas
Decrypt AES/CBC/PKCS5Padding in Rhino JS

I am trying to decrypt the below value in my js script. The engine is Rhino javascript 1.7.13.

"{$crypto={type=x-simple-encryption, value={cipher=AES/CBC/PKCS5Padding, stableId=openidm-sym-default, salt=MQja0/re0ddXVHf3Pf58pw==, data=g6D0VXvFWO9Qps6LG09lA3D0q4RA3GiRPRHxGXZem0oRStkxXOEgg0XELZgRgCmd, keySize=16, purpose=idm.password.encryption, iv=6QcQD7WcXvVT3IkzSuX6Cg==, mac=HRqJ4zkL12coq3VU/q9W9g==}}}"

The expected decrypt value is below.

{SHA}6QFhU67ig5W6XPTzQbBT/7raZIo=

Is there a way in Rhino we can achieve this? Any api we can utilise for this purpose.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Rhino doesn't offer any specific api's for cryptography: Rhino is a JavaScript engine and as such exposes standard JavaScript APIs.

Depending on how you're using Rhino, you can interact with available Java classes. So you need to look at how you can achieve what you need using Java and then, from JavaScript invoke the required Java apis

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda