Recently I tried Hashing a password on insert in CodeIgniter as follows,
$this->load->library('PasswordHash',array(8, FALSE));
$psw = '1234';
$hash = $this->PasswordHash->HashPassword($psw);
But I met with an Error saying "Unable to load the requested class: passwordhash". Please help me with this, or what is the best way to do it.