[php-src] PR #17093: add more bindings from libxcrypt 4.4

From: Date: Mon, 09 Dec 2024 12:58:12 +0000
Subject: [php-src] PR #17093: add more bindings from libxcrypt 4.4
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29950@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/17093 Author: remicollet This PR add 3 functions * crypt_gensalt (since libxcrypt 4.0) * crypt_checksalt (since libxcrypt 4.3) * crypt_preferred_method (since libxcrypt 4.4) And make new algo usable (providing the expecting salt, with algo options, may be complex) * $y$ (yescrypt) (since libxcrypt 4.2.0) * $gy$ (ghost-yescrypt) (since libxcrypt 4.3.0) Examples ``` $hash = crypt("secret", crypt_gensalt()); $hash = crypt("secret", crypt_gensalt(crypt_preferred_method())); $hash = crypt("secret", crypt_gensalt(CRYPT_PREFIX_BLOWFISH)); ``` Target is libxcrypt 4.4 only, released in 2018

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