Searched refs:password_hash (Results 1 – 14 of 14) sorted by relevance
/PHP-7.2/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 argon2 5 if (!defined('PASSWORD_ARGON2I')) die('skip password_hash not built with Argon2'); 9 var_dump(password_hash('test', PASSWORD_ARGON2I, ['memory_cost' => 0])); 10 var_dump(password_hash('test', PASSWORD_ARGON2I, ['time_cost' => 0])); 11 var_dump(password_hash('test', PASSWORD_ARGON2I, ['threads' => 0])); 14 Warning: password_hash(): Memory cost is outside of allowed memory range in %s on line %d 17 Warning: password_hash(): Time cost is outside of allowed time range in %s on line %d 20 Warning: password_hash(): Invalid number of threads in %s on line %d
|
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.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_hash_argon2.phpt | 2 Test normal operation of password_hash() with argon2 5 if (!defined('PASSWORD_ARGON2I')) die('skip password_hash not built with Argon2'); 11 $hash = password_hash($password, PASSWORD_ARGON2I);
|
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_needs_rehash_argon2.phpt | 10 $hash = password_hash('test', PASSWORD_ARGON2I);
|
/PHP-7.2/ext/standard/ |
H A D | php_password.h | 25 PHP_FUNCTION(password_hash);
|
H A D | password.c | 412 PHP_FUNCTION(password_hash) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 2909 PHP_FE(password_hash, arginfo_password_hash)
|
/PHP-7.2/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.2/ |
H A D | UPGRADING | 225 . password_hash() can generate Argon2i hashes when the algorithm is set to PASSWORD_ARGON2I.
|
H A D | NEWS | 320 . Fixed bug #78269 (password_hash uses weak options for argon2). (Remi)
|
Completed in 71 milliseconds