/* Base64 Encoded Encryption /
$enc_data = base64_encode( openssl_encrypt($data, $method, $password, true, $iv) );
/ Decode and Decrypt */
$dec_data = base64_decode( openssl_decrypt($enc_data, $method, $password, true, $iv) );
This way of doing the encryption and encoding would not work as p...