[php-src] PR #15870: extend libxcrypt bindings

From: Date: Fri, 13 Sep 2024 07:25:50 +0000
Subject: [php-src] PR #15870: extend libxcrypt bindings
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28575@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15870 Author: remicollet Take benefit of latest lilbxcrypt 4.x Add 3 functions: * crypt_gensalt * crypt_preferred_method * crypt_checksalt (libxcrypt >= 4.3) Change CRYPT constants from integer (always 1) to string (algo prefix value) Add 3 more hashing methods * scrypt * yescrypt * gost_yescript This make using crypt much easier, without any mess about salt $hash = crypt($secret, crypt_gensalt()); This is compatible, when algo exists, with password_hash methods. ONly a PoC for now TODO: - check function availability - check algo availability - Windows ?

« previous php.git-pulls (#28575) next »