I have a login and sign up form and use the encrypt library to encrypt the password.. I am using Xampp for my server and my system works correctly..
code to encrypt
Best solution is (only available for CI 3 and up):
change
$this->load->library('encrypt');
to
$this->load->library('encryption');