Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
pwhash is unavailable in
PyPM, because there aren't any builds for it in the
package repositories. Click the linked icons to find out why.
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
Lastest release
version 0.1.0 on Sep 20th, 2013
pwhash is a password hashing library, relying on well known and trusted implementations
of cryptographic hashing functions, making password hashing as simple as:
System Message: ERROR/3 (<string>, line 11)
Unknown directive type "code".
.. code:: python
from pwhash import PasswordHasher
pwhasher = PasswordHasher.from_config_file("pwhashc.json")
hash = pwhash.create(u"password")
verified, new_hash = pwhasher.verify_and_upgrade(u"password", hash)
if verified:
authenticate()
if new_hash is not None:
save_new_safer_hash(new_hash)
There is no reason to make password hashing more difficult or upgrading your
hash function less seamless.
Want to learn more or contribute? Take a look at our documentation.