AES/CBC/PKCS5Padding implementation in Ruby (for rails)
I need to decrypt text encrypted using AES/CBC/PKCS5Padding scheme. The encrypted text I got was generated using some Java software. All values below are changed by me to something fictional. What I get is a Key aHjgYFutF672eGIUGGVlgSETyM9VJj0K (256-bit = 32-chars * 8-bit) and IV: rxYoks3c8hRRsL2P (16-bit) and (I supposed) Base64 encoded encrypted result ETlAHS5ZcshKxQUaHVB8== What I need is to decrypt in Ruby this ETlAHS5ZcshKxQUaHVB8== to get in the and a simple string, like 'blablablabla' I tried to decrypt what I got using both Ruby and just common linux console openssl command. NOTE: Key