Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


How to hash password correctly in PHP? filter_list
Author
Message
RE: How to hash password correctly in PHP? #29
this is how my passwords are encrypted

$unhashedPassword = "test";
$hashedPassword = password_hash($unhashedPassword, PASSWORD_BCRYPT);
$user->update("users", array("password"=>self:Confusedanitize($hashedPassword), "id", $_SESSION['id']);

Reply





Messages In This Thread
How to hash password correctly in PHP? - by Sikom - 05-29-2017, 10:10 PM
RE: How to hash password correctly in PHP? - by PhucedMODZ - 01-31-2018, 05:43 PM



Users browsing this thread: 1 Guest(s)