Official Codeginiter documentation encrypt library reference
Trigger: cicryptenc
cicryptenc
Results: $this->encrypt->encode()
$this->encrypt->encode()
Trigger: cicryptdec
cicryptdec
Results: $this->encrypt->decode()
$this->encrypt->decode()
Trigger: cicryptcipher
cicryptcipher
Results: $this->encrypt->set_cipher(MCRYPT_RIJNDAEL_256)
$this->encrypt->set_cipher(MCRYPT_RIJNDAEL_256)
the MCRYPT_RIJNDAEL_256 cipher is the default option used in codeigniter, and is suggested by the snippet, but you can use other as you need.
Trigger: cicryptmode
cicryptmode
Results: $this->encrypt->set_mode(MCRYPT_MODE_CBC)
$this->encrypt->set_mode(MCRYPT_MODE_CBC)
the MCRYPT_MODE_CBC mode is default used and suggested, but you can use another one.
There was an error while loading. Please reload this page.