for example
Code: Select all
encrypt pTokenText using "aes-128-cbc" with key tKeyHex and IV tIVHex at 128 bit
Code: Select all
$decrypted = openssl_decrypt($encrypted,'aes-128-cbc',$encryption_key, 0,$iv);
I have checked other example found on the forum they are using mcrypt_encrypt function of php which is deprecated from php 7 .2 version. Anyone have any working example of it?