How to decrypt the password of ion_auth library in codeigniter?

633 Views Asked by At

Can i decrypt the password of ion_auth library? i am trying to create a change password module, but instead of just updating their password, i am just gonna show them their password as decrypt.

password : $2y$08$Zc0AwIMQ/rlc67jK18HNqeGt8i7zZOuTpFzcMhaGzjP5UmUHMENY6

$salt       = $this->store_salt ? $this->salt() : FALSE;
$password   = $this->hash_password($password, $salt);

here is how ion_auth encrypt the post password, but can i reciprocate this to instead of encrypting my password, i will decrypt the password that i have in my database?.

any help would be really appreciated.

0

There are 0 best solutions below