Skip to content

Instantly share code, notes, and snippets.

@fedir
Last active Feb 21, 2019
Embed
What would you like to do?
PHP Argon2i test
<?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