Re: [PROPOSED] password_hash RFC - Implementing simplified password hashing functions

From: Date: Mon, 16 Jul 2012 15:05:55 +0000
Subject: Re: [PROPOSED] password_hash RFC - Implementing simplified password hashing functions
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-61309@lists.php.net to get a copy of this message
On 16/07/12 08:04, Galen Wright-Watson wrote: > What about an approach like PDO, where the password functions would > generate errors by default, but could be configured to throw exceptions? > The ugliest aspects of this idea are the requirement for another function > (password_set_option?) and hidden state. On the plus side, if you stick > with errors for now it could be implemented down the road and be fully BC. PDO lets you set it per pdo object. In this case you would be manipulating a global. Which means integrating a new password module (for a shared login between different installed appplications) they could be warring on that option.

« previous php.internals (#61309) next »