Searched refs:password_hash (Results 1 – 16 of 16) sorted by relevance
/PHP-7.3/ext/standard/tests/password/ |
H A D | password_hash_error.phpt | 2 Test error operation of password_hash() 7 var_dump(password_hash()); 9 var_dump(password_hash("foo")); 11 var_dump(password_hash("foo", array())); 13 var_dump(password_hash("foo", 19, new StdClass)); 15 var_dump(password_hash("foo", PASSWORD_BCRYPT, "baz")); 17 var_dump(password_hash(array(), PASSWORD_BCRYPT)); 19 var_dump(password_hash("123", PASSWORD_BCRYPT, array("salt" => array()))); 22 var_dump(password_hash('123', PASSWORD_BCRYPT, array('salt' => 1234))); 44 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in %s on line … [all …]
|
H A D | password_bcrypt_errors.phpt | 2 Test error operation of password_hash() with bcrypt hashing 7 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => 3))); 9 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => 32))); 11 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("salt" => "foo"))); 15 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("salt" => 123))); 17 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => "foo"))); 21 Warning: password_hash(): Invalid bcrypt cost parameter specified: 3 in %s on line %d 27 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in %s on line … 29 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in %s on line %d 32 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in %s on line … [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'); 10 var_dump(password_hash('test', PASSWORD_ARGON2I, ['memory_cost' => 0])); 11 var_dump(password_hash('test', PASSWORD_ARGON2I, ['time_cost' => 0])); 12 var_dump(password_hash('test', PASSWORD_ARGON2I, ['threads' => 0])); 13 var_dump(password_hash('test', PASSWORD_ARGON2ID, ['memory_cost' => 0])); 14 var_dump(password_hash('test', PASSWORD_ARGON2ID, ['time_cost' => 0])); 15 var_dump(password_hash('test', PASSWORD_ARGON2ID, ['threads' => 0])); 24 Warning: password_hash(): Invalid number of threads in %s on line %d [all …]
|
H A D | password_deprecated_salts.phpt | 2 Test deprecated operation of password_hash() 8 var_dump(password_hash("rasmuslerdorf", PASSWORD_BCRYPT, array("cost" => 7, "salt" => "usesomesilly… 10 var_dump(password_hash("test", PASSWORD_BCRYPT, array("salt" => "123456789012345678901" . chr(0)))); 15 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in %s on line … 18 Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in %s on line …
|
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'); 12 $hash = password_hash($password, PASSWORD_ARGON2I); 15 $hash = password_hash($password, PASSWORD_ARGON2ID);
|
H A D | password_hash.phpt | 2 Test normal operation of password_hash() 7 var_dump(strlen(password_hash("foo", PASSWORD_BCRYPT))); 9 $hash = password_hash("foo", PASSWORD_BCRYPT);
|
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_verify_argon2.phpt | 6 if (!defined('PASSWORD_ARGON2ID')) die('skip password_hash not built with Argon2');
|
/PHP-7.3/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-7.3/ext/standard/ |
H A D | php_password.h | 23 PHP_FUNCTION(password_hash);
|
H A D | password.c | 444 PHP_FUNCTION(password_hash) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 2929 PHP_FE(password_hash, arginfo_password_hash)
|
/PHP-7.3/ext/oci8/ |
H A D | oci8.c | 1758 zend_ulong password_hash; in php_oci_do_connect_ex() local 1759 password_hash = zend_inline_hash_func(password, password_len); in php_oci_do_connect_ex() 1760 smart_str_append_unsigned_ex(&hashed_details, password_hash, 0); in php_oci_do_connect_ex() 2913 zend_ulong password_hash; in php_oci_get_spool() local 2914 password_hash = zend_inline_hash_func(password, password_len); in php_oci_get_spool() 2915 smart_str_append_unsigned_ex(&spool_hashed_details, password_hash, 0); in php_oci_get_spool()
|
/PHP-7.3/ |
H A D | UPGRADING | 258 both Argon2i and Argon2id hashes in the password_hash(), password_verify(),
|
H A D | NEWS | 883 . Fixed bug #78269 (password_hash uses weak options for argon2). (Remi)
|
Completed in 66 milliseconds