encryp with codeigniter 3
Load the encryption library in CodeIgniter by loading it in the controller or the autoload configuration file.
Initialize the encryption library and set a secret key for encrypting and decrypting data.
encrypt function to encrypt the data you want to protect, passing the data as an argument.
To decrypt the encrypted data, use the
decrypt function with the encrypted data as an argument.
Remember to handle any errors that may occur during the encryption or decryption process.