Created
March 28, 2021 18:18
-
-
Save bradsi/76d6a5953f57cb4c8d72f4bf8c3bddee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$password = "test123"; | |
// Password hashing | |
$hash = password_hash($password, PASSWORD_DEFAULT); | |
// Password de-hashing - returns boolean | |
$dehash = password_verify($password, $hash); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment