Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/password/
H A Dpassword_needs_rehash.phpt2 Test normal operation of password_needs_rehash()
8 var_dump(password_needs_rehash('', PASSWORD_BCRYPT));
9 var_dump(password_needs_rehash('', 1));
10 var_dump(password_needs_rehash('', '2y'));
13 var_dump(password_needs_rehash('', PASSWORD_DEFAULT));
14 var_dump(password_needs_rehash('', 0));
15 var_dump(password_needs_rehash('', NULL));
18 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
31 var_dump(password_needs_rehash('$2y$'.$cost.'$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y…
37 var_dump(password_needs_rehash(crypt('Example', '$1$'), PASSWORD_DEFAULT));
[all …]
H A Dpassword_needs_rehash_error.phpt2 Test error operation of password_needs_rehash()
6 var_dump(password_needs_rehash());
8 var_dump(password_needs_rehash(''));
10 var_dump(password_needs_rehash('', []));
12 var_dump(password_needs_rehash(array(), PASSWORD_BCRYPT));
14 var_dump(password_needs_rehash("", PASSWORD_BCRYPT, "foo"));
19 Warning: password_needs_rehash() expects at least 2 parameters, 0 given in %s on line %d
22 Warning: password_needs_rehash() expects at least 2 parameters, 1 given in %s on line %d
26 Warning: password_needs_rehash() expects parameter 1 to be string, array given in %s on line %d
29 Warning: password_needs_rehash() expects parameter 3 to be array, string given in %s on line %d
H A Dpassword_needs_rehash_argon2.phpt2 Test normal operation of password_needs_rehash() with Argon2i and Argon2id
5 if (!defined('PASSWORD_ARGON2I')) die('skip password_needs_rehash not built with Argon2');
12 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2I));
13 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2I, ['memory_cost' => PASSWORD_ARGON2_DEFAULT_M…
14 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2I, ['time_cost' => PASSWORD_ARGON2_DEFAULT_TIM…
17 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2ID));
18 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2ID, ['memory_cost' => PASSWORD_ARGON2_DEFAULT_…
19 var_dump(password_needs_rehash($hash, PASSWORD_ARGON2ID, ['time_cost' => PASSWORD_ARGON2_DEFAULT_TI…
/PHP-7.4/ext/sodium/tests/
H A Dbug78516.phpt11 password_needs_rehash($pass, PASSWORD_ARGON2ID, ['memory_cost' => 8191]);
14 password_needs_rehash($pass, PASSWORD_ARGON2I, ['memory_cost' => 8191]);
/PHP-7.4/ext/standard/
H A Dphp_password.h25 PHP_FUNCTION(password_needs_rehash);
H A Dpassword.c678 PHP_FUNCTION(password_needs_rehash) in PHP_FUNCTION() argument
H A Dbasic_functions.c2925 PHP_FE(password_needs_rehash, arginfo_password_needs_rehash)
/PHP-7.4/
H A DUPGRADING497 . password_needs_rehash() now accepts nullable string and int as $algo
H A DNEWS1699 . Fixed bug #78208 (password_needs_rehash() with an unknown algo should always

Completed in 38 milliseconds