bcrypt |
(05-14-2020, 04:44 AM)thongminh Wrote: I am trying to use bcrypt and I know that the hash is always different when the bcrypt is used, but I am told that I should get the hashed password from the database, and use the non hashed password from the login form, use some method magic, and hey, it should work, right? Hash the password from input and save it. On login attempts, hash the attempted password and see if it matches. PHP has builtin password_hash() and password_verify() methods.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
|
Messages In This Thread |
RE: bcrypt - by albertleao - 05-14-2020, 09:35 AM
|