/PHP-8.1/ext/standard/tests/password/ |
H A D | password_hash_error.phpt | 2 Test error operation of password_hash() 8 var_dump(password_hash("foo")); 14 password_hash("foo", array()); 20 var_dump(password_hash("foo", 19, new StdClass)); 26 var_dump(password_hash("foo", PASSWORD_BCRYPT, "baz")); 32 var_dump(password_hash(array(), PASSWORD_BCRYPT)); 39 password_hash() expects at least 2 arguments, 1 given 40 password_hash(): Argument #2 ($algo) must be of type string|int|null, array given 41 password_hash(): Argument #3 ($options) must be of type array, stdClass given 42 password_hash(): Argument #3 ($options) must be of type array, string given [all …]
|
H A D | password_hash_error_argon2.phpt | 2 Test error operation of password_hash() with Argon2i and Argon2id 5 if (!defined('PASSWORD_ARGON2I')) die('skip password_hash not built with Argon2'); 6 if (!defined('PASSWORD_ARGON2ID')) die('skip password_hash not built with Argon2'); 12 password_hash('test', PASSWORD_ARGON2I, ['memory_cost' => 0]); 18 password_hash('test', PASSWORD_ARGON2I, ['time_cost' => 0]); 24 password_hash('test', PASSWORD_ARGON2I, ['threads' => 0]); 30 password_hash('test', PASSWORD_ARGON2ID, ['memory_cost' => 0]); 36 password_hash('test', PASSWORD_ARGON2ID, ['time_cost' => 0]); 42 password_hash('test', PASSWORD_ARGON2ID, ['threads' => 0]);
|
H A D | password_bcrypt_errors.phpt | 2 Test error operation of password_hash() with bcrypt hashing 7 password_hash("foo", PASSWORD_BCRYPT, array("cost" => 3)); 13 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => 32))); 19 var_dump(password_hash("null\0password", PASSWORD_BCRYPT));
|
H A D | password_removed_salt_option.phpt | 8 var_dump(strlen(password_hash("rasmuslerdorf", PASSWORD_BCRYPT, array("cost" => 7, "salt" => "useso… 10 var_dump(strlen(password_hash("test", PASSWORD_BCRYPT, array("salt" => "123456789012345678901" . ch… 15 Warning: password_hash(): The "salt" option has been ignored, since providing a custom salt is no l… 18 Warning: password_hash(): The "salt" option has been ignored, since providing a custom salt is no l…
|
H A D | password_hash.phpt | 2 Test normal operation of password_hash() 7 var_dump(strlen(password_hash("foo", PASSWORD_BCRYPT))); 16 $hash = password_hash("foo", $algo);
|
H A D | password_hash_argon2.phpt | 2 Test normal operation of password_hash() with Argon2i and Argon2id 5 if (!defined('PASSWORD_ARGON2I')) die('skip password_hash not built with Argon2'); 6 if (!defined('PASSWORD_ARGON2ID')) die('skip password_hash not built with Argon2'); 21 $hash = password_hash($password, $algo);
|
H A D | password_needs_rehash_argon2.phpt | 6 if (!defined('PASSWORD_ARGON2ID')) die('skip password_hash not built with Argon2'); 11 $hash = password_hash('test', PASSWORD_ARGON2I); 16 $hash = password_hash('test', PASSWORD_ARGON2ID);
|
H A D | bug75221.phpt | 5 if (!defined('PASSWORD_ARGON2I')) die('skip password_hash not built with Argon2'); 9 $hash = password_hash(
|
H A D | password_bcrypt_short.phpt | 2 Test that password_hash() does not overread buffers when a short hash is passed
|
H A D | password_verify_argon2.phpt | 6 if (!defined('PASSWORD_ARGON2ID')) die('skip password_hash not built with Argon2');
|
/PHP-8.1/ext/sodium/tests/ |
H A D | bug78516.phpt | 2 Bug #78516 (password_hash(): Memory cost is not in allowed range) 11 $pass = password_hash('secret', PASSWORD_ARGON2ID, ['memory_cost' => 8191]); 14 $pass = password_hash('secret', PASSWORD_ARGON2I, ['memory_cost' => 8191]);
|
H A D | php_password_hash_argon2i.phpt | 2 Test interoperability of password_hash('argon2i') 11 echo "skip - No argon2i support in password_hash()"; 30 $hash = password_hash($password, 'argon2i', $opts);
|
H A D | php_password_hash_argon2id.phpt | 2 Test interoperability of password_hash('argon2id') 11 echo "skip - No argon2id support in password_hash()"; 29 $hash = password_hash($password, 'argon2id', $opts);
|
/PHP-8.1/Zend/tests/ |
H A D | bug79668.phpt | 4 disable_functions=sha1_file,password_hash 8 foreach (['sha1', 'sha1_file', 'hash', 'password_hash'] as $funcname) {
|
/PHP-8.1/ext/oci8/ |
H A D | oci8.c | 1001 zend_ulong password_hash; in php_oci_do_connect_ex() local 1002 password_hash = zend_hash_func(password, password_len); in php_oci_do_connect_ex() 1003 smart_str_append_unsigned_ex(&hashed_details, password_hash, 0); in php_oci_do_connect_ex() 2145 zend_ulong password_hash; in php_oci_get_spool() local 2146 password_hash = zend_hash_func(password, password_len); in php_oci_get_spool() 2147 smart_str_append_unsigned_ex(&spool_hashed_details, password_hash, 0); in php_oci_get_spool()
|
/PHP-8.1/ext/standard/ |
H A D | password.c | 645 PHP_FUNCTION(password_hash) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 1509 function password_hash(string $password, string|int|null $algo, array $options = []): string {} function
|
H A D | basic_functions_arginfo.h | 2714 ZEND_FUNCTION(password_hash); 3357 ZEND_FE(password_hash, arginfo_password_hash)
|