summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-13 14:54:53 +0200
committerRemi Collet <remi@php.net>2024-09-13 14:54:53 +0200
commit6c7eb261b7537e429719dd59b392c0421eaa5ce2 (patch)
tree6ee33554f0e6370834cc0036941682de229ca2e0
parent250f90c788673b3e089a47412cd82f74d6f5492d (diff)
improved description
-rw-r--r--README.md8
-rw-r--r--package.xml6
2 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index aa0b415..2cd1e7d 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,14 @@ This extension provides password hashing algorithms used by Linux distributions.
Notices: these can be fast, don't expect improved security level.
+It also provides additional functions from libxcrypt missing in core PHP:
+
+* crypt_preferred_method: get the prefix of the preferred hash method
+* crypt_gensalt: encode settings for passphrase hashing
+* crypt_checksalt: validate a crypt setting string
+
+See the Linux man pages.
+
**Computation time**
* bcrypt: 0.33"
diff --git a/package.xml b/package.xml
index 87398b0..f00ea28 100644
--- a/package.xml
+++ b/package.xml
@@ -9,6 +9,12 @@ distributions, using extended crypt library (libxcrypt):
* sha512 provided for legacy as used on some old distributions
* yescrypt used on modern distributions
+
+It also provides additional functions from libxcrypt missing in core PHP:
+
+* crypt_preferred_method
+* crypt_gensalt
+* crypt_checksalt
</description>
<lead>
<name>Remi Collet</name>