Welcome Guest, Not a member yet? Register   Sign In
Decrypting: authentication error when using the encryption library
#2

You should use base64_encode() and base64_decode() methods.

PHP Code:
$this->encrypter->encrypt(base64_encode($var));

$encrypter->decrypt(base64_decode($var)); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Decrypting: authentication error when using the encryption library - by InsiteFX - 08-11-2020, 04:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB