Forum Discussion

vjjdev's avatar
vjjdev
Reel Rookie
10 years ago

roEVPCipher : Am I doing something wrong?

Hi,
I have to decrypt a aes-128-cbc ciphertext(encrypted json string) in my project.
I was successfully able to decrypt it using roEVPCipher but almost first 15 charcters are coming out as a garbage, rest of the data looks good.

I am able to successfully decrypt the whole string without any issues on open SSL and a .net application utility.

Wondering if anyone has any similar experience or am I missing any obvious step.

Thanks,
vjj

2 Replies

  • Thank you for your quick response Mark.
    My initialization vector is an empty string and I haven't use any iv in other utilities either.