PHP function openssl_encrypt cipher operation failing
I have a PHP script that will encrypt data to store in a database, but when I run the script, the openssl_encrypt returns false with the error: "error:1C800066:Provider routines::cipher operation failed". $cipher = str_replace("n", "", file_get_contents("/key/cipher")); $iv_length = openssl_cipher_iv_length($cipher); $options…