File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ From the sources tree
4444 php > var_dump(password_verify("secret", $hash));
4545 bool(true)
4646
47+ ## supported options
48+
49+ * ` cost ` controls the CPU time cost of the hash. If ` cost ` is 0, a low default cost will be selected.
50+
4751# LICENSE
4852
4953Author: Remi Collet
Original file line number Diff line number Diff line change 55 <summary >Extended password extension</summary >
66 <description >
77This extension provides password hashing algorithms used by Linux
8- distributions, using extended crypt library (libxcrypt).
8+ distributions, using extended crypt library (libxcrypt):
99
1010* sha512 provided for legacy as used on some old distributions
1111* yescrypt used on modern distributions
Original file line number Diff line number Diff line change @@ -41,9 +41,10 @@ PHP_RINIT_FUNCTION(xpass)
4141PHP_MINFO_FUNCTION (xpass )
4242{
4343 php_info_print_table_start ();
44- php_info_print_table_header (2 , "xpass support" , "enabled" );
44+ php_info_print_table_header (2 , "Extended password support" , "enabled" );
4545 php_info_print_table_row (2 , "Extension version" , PHP_XPASS_VERSION );
46- php_info_print_table_row (2 , "Author" , PHP_XPASS_VERSION );
46+ php_info_print_table_row (2 , "libxcrypt version" , XCRYPT_VERSION_STR );
47+ php_info_print_table_row (2 , "Author" , PHP_XPASS_AUTHOR );
4748 php_info_print_table_row (2 , "License" , PHP_XPASS_LICENSE );
4849#ifdef HAVE_CRYPT_SHA512
4950 php_info_print_table_row (2 , "sha512 hash" , "yes" );
You can’t perform that action at this time.
0 commit comments