Skip to content

Commit 74e9e46

Browse files
committed
Release 1.0.0RC1
1 parent 80fdfd8 commit 74e9e46

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

4953
Author: Remi Collet

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<summary>Extended password extension</summary>
66
<description>
77
This 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

xpass.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ PHP_RINIT_FUNCTION(xpass)
4141
PHP_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");

0 commit comments

Comments
 (0)