password-validator
password-validator copied to clipboard
Validates passwords against PHP's password_hash function using PASSWORD_DEFAULT. Will rehash when needed, and will upgrade legacy passwords with the Upgrade decorator.
# Changed log - update the PHPUnit namespace. - to keep ```5.3``` test, using matrix config in ```.travis.yml``` setting file.
This allows to use the new Argon2i algorithm introduced in PHP 7.2 (https://wiki.php.net/rfc/argon2_password_hash). Since this feature only makes sense for PHP 7.2, it's also fine to bump the minimum version...
Report via this tweet: https://twitter.com/devbrilliance/status/683447669709271040. (Moved from https://github.com/jeremykendall/slim-auth/issues/34 to here, the correct repo.)
See discussion in #7. > > what would people learn that they wouldn't learn from what I already wrote? > > I'm a big fan of examples of practical application....