Welcome Guest, Not a member yet? Register   Sign In
decrypt() returning incorrect result
#5

Oh, thank you for the investigation.
I got your situation.

Try:

PHP Code:
$config        = new Encryption();
$config->driver 'OpenSSL';
// Your CI3's encryption_key
$config->key            'Your Key';
$config->cipher        'AES-128-CBC'// Add this!
$config->rawData        false;
$config->encryptKeyInfo 'encryption';
$config->authKeyInfo    'authentication';

$encrypter Services::encrypter($configfalse); 
Reply


Messages In This Thread
RE: decrypt() returning incorrect result - by kenjis - 02-18-2023, 04:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB