![]() |
CI 1.7. Encrypt class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CI 1.7. Encrypt class (/showthread.php?tid=12684) |
CI 1.7. Encrypt class - El Forum - 10-27-2008 [eluser]Unknown[/eluser] I have problem with Encrypt class i try to encode string, with cipher BLOWFISH my code: Code: $this->load->library("encrypt"); my result: Code: A PHP Error was encountered Tested mcrypt Code: echo ( ! function_exists('mcrypt_encrypt')) ? 'Nope' : 'Yup'; Tested crypt Code: echo crypt("secret", 'BLOWFISH'); CI 1.7. Encrypt class - El Forum - 10-28-2008 [eluser]Pascal Kriete[/eluser] The available mcrypt cyphers are constants: Code: $this->encrypt->set_cipher(MCRYPT_BLOWFISH); CI 1.7. Encrypt class - El Forum - 10-28-2008 [eluser]Unknown[/eluser] works! Thanks! |