From 6c7eb261b7537e429719dd59b392c0421eaa5ce2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Sep 2024 14:54:53 +0200 Subject: improved description --- README.md | 8 ++++++++ package.xml | 6 ++++++ 2 files changed, 14 insertions(+) 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 Remi Collet -- cgit