On Thu, Oct 29, 2026, at 21:06, Andrey Andreev wrote:
> RFC link: https://wiki.php.net/rfc/password_bcrypt_wrap

> Supports two prehash primitives, chosen through a prehash option: cshake256 
> (default) and sha512 (using HMAC construct).

PASSWORD_BCRYPT_WRAP supports two prehash algorithms. The prehash can be 
supplied in a hash option. Another possible solution is to create two 
password_hash algorithms, e.g. PASSWORD_BCRYPT_CSHAKE and 
PASSWORD_BCRYPT_SHA512.

Regards,

Sjoerd Langkemper

Reply via email to