Home
last modified time | relevance | path

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

/php-src/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-src/ext/standard/tests/password/
H A Dpassword_hash_argon2.phpt15 'argon2i',
31 string(7) "argon2i"
33 string(7) "argon2i"
35 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-src/ext/sodium/
H A Dsodium_pwhash.c164 zend_string *argon2i = ZSTR_INIT_LITERAL("argon2i", 1); in PHP_MINIT_FUNCTION() local
166 if (php_password_algo_find(argon2i)) { in PHP_MINIT_FUNCTION()
168 zend_string_release(argon2i); in PHP_MINIT_FUNCTION()
171 zend_string_release(argon2i); in PHP_MINIT_FUNCTION()
/php-src/ext/openssl/
H A Dopenssl_pwhash.c368 zend_string *argon2i = ZSTR_INIT_LITERAL("argon2i", 1); in PHP_MINIT_FUNCTION() local
370 if (php_password_algo_find(argon2i)) { in PHP_MINIT_FUNCTION()
372 zend_string_release(argon2i); in PHP_MINIT_FUNCTION()
375 zend_string_release(argon2i); in PHP_MINIT_FUNCTION()
/php-src/ext/openssl/tests/
H A Dopenssl_password.phpt24 foreach(['argon2i', 'argon2id'] as $algo) {

Completed in 16 milliseconds