PassLib provides cross-platform implementations of over 20 password hashing algorithms.
Can be used for:
- Quick-start password hashing for new python applications.
- Constructing a configurable hashing policy to match the needs of any python application.
- Reading & writing Apache htpasswd / htdigest files.
- Creating & verifying hashes used by MySQL, PostgreSQL, OpenLDAP, and other applications.
- Creating & verifying hashes found in Unix “shadow” files.
PassLib can be used with Python 2 and above. The library is also OS independent.
Here are some key features of "PassLib":
Archaic Unix Schemes:
· DES Crypt
· BSDi Crypt
· BigCrypt
· Crypt16
Standard Unix Schemes:
· MD5 Crypt
· BCrypt
· SHA-1 Crypt
· Sun MD5 Crypt
· SHA-256 Crypt
· SHA-512 Crypt
Other Modular Crypt Schemes:
· Apache’s MD5-Crypt variant
· PHPass’ Portable Hash
· Windows NT-HASH for Unix
· Generic PBKDF2 Hashes
· Cryptacular’s PBKDF2 hash
· Dwayne Litzenberger’s PBKDF2 hash
Standard LDAP Schemes:
· MD5 digest
· SHA1 digest
· Salted MD5 digest
· Salted SHA1 digest
· LDAP crypt() Wrappers
· LDAP-Aware Plaintext Handler
Non-Standard LDAP Schemes:
· Hex-encoded MD5 Digest
· Hex-encoded SHA1 Digest
· Generic PBKDF2 Hashes
· Atlassian’s PBKDF2-based Hash
· Fairly Secure Hashed Password
· Roundup-specific LDAP Plaintext Handler
Database Hashes:
· MySQL 3.2.3 password hash
· MySQL 4.1 password hash
· PostgreSQL MD5 password hash
· Oracle 10g password hash
· Oracle 11g password hash
Other Hashes:
· Django-specific Hashes
· Grub’s PBKDF2 Hash
· Generic Hexdecimal Digests
· Plaintext
What's New in This Release: [ read full changelog ]
· The release adds support for a number of new hash algorithms.