Re: [RFC][Discussion] Add PASSWORD_BCRYPT_WRAP

From: Date: Sun, 22 Nov 2026 20:28:11 +0000
Subject: Re: [RFC][Discussion] Add PASSWORD_BCRYPT_WRAP
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-133188@lists.php.net to get a copy of this message
Hi, On Thu, Oct 29, 2026 at 9:09 PM Andrey Andreev <narf@devilix.net> wrote: > Hi all, > > I'd like to open the discussion on a new password hashing algorithm that > I've been working on, named bcrypt-wrap. > > RFC link: https://wiki.php.net/rfc/password_bcrypt_wrap > Pull request: https://github.com/php/php-src/pull/25040 (just > pushed it, > CI still running) > > I don't think we should be creating our own password hashing algorithm. This seems completely out of scope for PHP IMHO and I don't think the length "problem" is something that major that it needs this. > P.S. Thanks to Sjoerd for honoring my request to delay his bcrypt-sha256 > proposal while I finished this. > > If anything, I would support that bcrypt-sha256 which is at least used in passlib and seems much simpler. Kind regards, Jakub

« previous php.internals (#133188) next »