Home
last modified time | relevance | path

Searched refs:argon2i (Results 1 – 7 of 7) sorted by relevance

/PHP-8.3/ext/sodium/tests/
H A Dphp_password_hash_argon2i.phpt2 Test interoperability of password_hash('argon2i')
10 if (!in_array('argon2i', password_algos(), true /* strict */)) {
11 echo "skip - No argon2i support in password_hash()";
30 $hash = password_hash($password, 'argon2i', $opts);
43 Hash: string(96) "$argon2i$v=19$m=65536,t=4,p=1$%s$%s"
47 Hash: string(96) "$argon2i$v=19$m=65536,t=8,p=1$%s$%s"
51 Hash: string(97) "$argon2i$v=19$m=131072,t=4,p=1$%s$%s"
55 Hash: string(97) "$argon2i$v=19$m=131072,t=8,p=1$%s$%s"
H A Dpwhash_argon2i.phpt2 Check for libsodium argon2i
7 if (!defined('SODIUM_CRYPTO_PWHASH_SALTBYTES')) print "skip libsodium without argon2i"; ?>
18 $testHash = '$argon2i$v=19$m=4096,t=3,p=1$MzE4ODFiZWFlMjAzOWUAAA$FWUV6tsyJ32qThiLi1cCsLIbf3dIOG/RwX…
22 $testHash = '$argon2i$v=19$m=4096,t=0,p=1$c29tZXNhbHQAAAAAAAAAAA$JTBozgKQiCn5yKAm3Hz0vUSX/XgfqhZloN…
H A Dphp_password_verify.phpt11 // Depending on library version, libsodium may provide argon2i or argon2id hashes.
/PHP-8.3/ext/standard/tests/password/
H A Dpassword_hash_argon2.phpt14 'argon2i',
30 string(7) "argon2i"
32 string(7) "argon2i"
34 string(7) "argon2i"
H A Dpassword_get_info_argon2.phpt11 var_dump(password_get_info('$argon2i$v=19$m=65536,t=3,p=1$SWhIcG5MT21Pc01PbWdVZw$WagZELICsz7jlqOR2Y…
18 string(7) "argon2i"
20 string(7) "argon2i"
H A Dpassword_verify_argon2.phpt11 var_dump(password_verify('test', '$argon2i$v=19$m=65536,t=3,p=1$OEVjWWs2Z3YvWlNZQ0ZmNw$JKin7ahjmh8J…
13 var_dump(password_verify('argon2', '$argon2i$v=19$m=65536,t=3,p=1$OEVjWWs2Z3YvWlNZQ0ZmNw$JKin7ahjmh…
/PHP-8.3/ext/sodium/
H A Dsodium_pwhash.c174 zend_string *argon2i = ZSTR_INIT_LITERAL("argon2i", 1); in PHP_MINIT_FUNCTION() local
176 if (php_password_algo_find(argon2i)) { in PHP_MINIT_FUNCTION()
178 zend_string_release(argon2i); in PHP_MINIT_FUNCTION()
181 zend_string_release(argon2i); in PHP_MINIT_FUNCTION()

Completed in 14 milliseconds