Home
last modified time | relevance | path

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

/PHP-8.1/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()
7 var_dump(password_needs_rehash(''));
13 var_dump(password_needs_rehash('', []));
19 var_dump(password_needs_rehash(array(), PASSWORD_BCRYPT));
25 var_dump(password_needs_rehash("", PASSWORD_BCRYPT, "foo"));
33 password_needs_rehash() expects at least 2 arguments, 1 given
34 password_needs_rehash(): Argument #2 ($algo) must be of type string|int|null, array given
35 password_needs_rehash(): Argument #1 ($hash) must be of type string, array given
36 password_needs_rehash(): Argument #3 ($options) must be of type array, string given
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-8.1/ext/sodium/tests/
H A Dbug78516.phpt12 password_needs_rehash($pass, PASSWORD_ARGON2ID, ['memory_cost' => 8191]);
15 password_needs_rehash($pass, PASSWORD_ARGON2I, ['memory_cost' => 8191]);
/PHP-8.1/ext/standard/
H A Dpassword.c596 PHP_FUNCTION(password_needs_rehash) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1511 function password_needs_rehash(string $hash, string|int|null $algo, array $options = []): bool {} function
H A Dbasic_functions_arginfo.h2715 ZEND_FUNCTION(password_needs_rehash);
3358 ZEND_FE(password_needs_rehash, arginfo_password_needs_rehash)

Completed in 35 milliseconds