codeigniter class to encrypt and decrypt user passwords for authentication