Encrypt Library - RoverWire/codeigniter-utilities GitHub Wiki
Official Codeginiter documentation encrypt library reference
Trigger: cicryptenc
Results: $this->encrypt->encode()
Trigger: cicryptdec
Results: $this->encrypt->decode()
Trigger: cicryptcipher
Results: $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
Results: $this->encrypt->set_mode(MCRYPT_MODE_CBC)
the MCRYPT_MODE_CBC mode is default used and suggested, but you can use another one.