Download the PHP package elcodedocle/phpass without Composer
On this page you can find all versions of the php package elcodedocle/phpass. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elcodedocle/phpass
More information about elcodedocle/phpass
Files in elcodedocle/phpass
Package phpass
Short Description fork of Solar Designer's http://www.openwall.com/phpass/ with enhanced security updates
License MIT
Homepage https://github.com/elcodedocle/phpass
Informations about the package phpass
phpass by elcodedocle
A phpass portable PHP password hashing framework upgrade for these modern times we're living in
Copyright (C) 2013 Gael Abadin
License: MIT Expat
How to use
The same way as regular phpass; check out the embedded phpdoc for info on the extras.
Motivation
I wanted to implement proper hashing on my web app. password_hash seemed the way to go, but it's only supported by the most recent versions of PHP (at the time of writing this, PHP 5.5.0 was realeased just a few months ago...).
So I did some research and the most reasonably fast and tested library was phpass, but it lacked support for, guess what, password_hash. Since password_hash should be the default option (at last, a sane way to use crypt!) and none of the other phpass hacks I checked (Drupal, WordPress) had it I decided to add it myself.
In the process, adding also support for sha512 and sha256 on portable methods seemed easy enough, so I beefed that up too.
Acks
Solar Designer, author of the original library at http://www.openwall.com/phpass/
Enjoy!
(
And, if you're happy with this by-product, donate!
bitcoin: 1P4AFJMt5VbWq6o49BEwxk4kAkkHFm9Jv7
dogecoin: DEZrHzf6ajynL3XfLHDzjT9WpoR4eszxNA
paypal: http://goo.gl/5xzM7D
)