My company implements Vme checkout on our website. Visa provided us with a php helper function file to decrypt the data, but one of them uses openssl_decrypt with the OPENSSL_RAW_DATA parameter, which became available only in PHP 5.4.something.
return openssl_decrypt($data, 'aes-256-cbc', hashKey($key), OPENSSL_RAW_DATA, $iv);
We are running PHP 5.3, and there is no way to upgrade. How can I change this function so that it still performs what it was intended without this global parameter?
php encryption php-openssl
EmmyS
source share