Re: [DRAFT RFC] Adding Simplified Password Hashing API

From: Date: Thu, 12 Jul 2012 17:57:04 +0000
Subject: Re: [DRAFT RFC] Adding Simplified Password Hashing API
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-61185@lists.php.net to get a copy of this message
hi Anthony! On Mon, Jul 9, 2012 at 5:19 PM, Anthony Ferrara <ircmaxell@gmail.com> wrote: > I've added a pair of new functions to the RFC and implementation: > > password_needs_rehash($hash, $algo, array $options = array()) Not totally convinced about that one. I would prefer a password_rehash instead, then a simple comparison is needed to know if an update is necessary or not. > password_get_info($hash) Soungs good, to get all the details about the given hash. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#61185) next »