RE: How to hash password correctly in PHP? 01-31-2018, 05:43 PM
#29
this is how my passwords are encrypted
$unhashedPassword = "test";
$hashedPassword = password_hash($unhashedPassword, PASSWORD_BCRYPT);
$user->update("users", array("password"=>self:
anitize($hashedPassword), "id", $_SESSION['id']);
$unhashedPassword = "test";
$hashedPassword = password_hash($unhashedPassword, PASSWORD_BCRYPT);
$user->update("users", array("password"=>self:
