Last active
February 21, 2019 10:37
-
-
Save fedir/888295a0a8b7145b09744767cb3088e8 to your computer and use it in GitHub Desktop.
PHP Argon2i test
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 | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
echo password_hash("test", PASSWORD_ARGON2I) . "\n"; | |
// expected output: | |
// $argon2i$v=19$m=1024,t=2,p=2$Si9YUTV5Mk50clRPckJmNg$iiaHUvfJpx2fwVJLUDr2J0XePR31gxxIu5VHlgFMA/k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment