I am using following snippet to do AES encryption for CBC 256 mode in PHP.
$iv_real = "ahc/2u6F0Yvww12fyQiZWA=="; $decoded_iv = base64_decode($iv_r