[eluser]Gabi3xz[/eluser]
I want to encrypt cookie
Code:
$cookie = array(
'name' => 'gabi_cookie',
'value' => $this->input->post('email_address'),
'expire' => '86500',
'domain' => '.localhost',
'path' => '/',
'prefix' => '',
'secure' => FALSE
);
$this->input->set_cookie($cookie);
What string encrypted?
I thought to use $this->encrypt->sha1(), but it can decrypt after?