Skip to content
Advertisement

Tag: cryptojs

Decrypt Java AES/CBC/PKCS5Padding with CryptoJS

I have some problem decrypting text with CryptoJS that has been encrypted with Java. The decryption should be done with AES/CBC/PKCS5Padding. The encrypted string is base64 encoded and I decode it before trying to decrypt the string. This is how the Java code looks like: And this is how I attempt to decrypt it in CryptoJS. SharedSecretKey is both the

Advertisement