elcodedocle / phpass
fork of Solar Designer's http://www.openwall.com/phpass/ with enhanced security updates
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Type:class
Requires
- php: >=3.0.18
This package is not auto-updated.
Last update: 2024-11-09 17:19:30 UTC
README
#####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
)