diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/password.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/password.php b/www/password.php new file mode 100644 index 0000000..2808fe4 --- /dev/null +++ b/www/password.php @@ -0,0 +1,8 @@ +<? + +$hash = password_hash($_GET["password"], PASSWORD_DEFAULT); +if(password_verify($_GET["password"], $hash)){ + echo $hash; +} else { + echo "Not verified."; +} |
