Navigation
index
modules
toc
next
Passlib 1.6 Documentation
»
Table Of Contents
ΒΆ
Front Page
Welcome
Content Summary
Introductory Materials
Password Hashing Algorithms
CryptContext Objects
Application Helpers
Other Documents
Online Resources
Installation
Supported Platforms
Optional Libraries
Installation Instructions
Testing
Building the Documentation
Library Overview
Password Hashes
Password Contexts
Application Helpers
Utility Functions
New Application Quickstart Guide
Really Quick Start
Choosing a Hash
Detailed Comparison of Choices
BCrypt
SHA512-Crypt
PBKDF2
What about SCrypt?
Creating and Using a CryptContext
passlib.hash
- Password Hashing Schemes
Overview
Usage
Password Hash Interface
Overview
Usage Examples
Primary Methods
Crypt Methods
Support Methods
Informational Attributes
Choosing the right rounds value
Unix & “Modular Crypt” Hashes
Archaic Unix Schemes
passlib.hash.des_crypt
- DES Crypt
passlib.hash.bsdi_crypt
- BSDi Crypt
passlib.hash.bigcrypt
- BigCrypt
passlib.hash.crypt16
- Crypt16
Standard Unix Schemes
passlib.hash.md5_crypt
- MD5 Crypt
passlib.hash.bcrypt
- BCrypt
passlib.hash.sha1_crypt
- SHA-1 Crypt
passlib.hash.sun_md5_crypt
- Sun MD5 Crypt
passlib.hash.sha256_crypt
- SHA-256 Crypt
passlib.hash.sha512_crypt
- SHA-512 Crypt
Other Modular Crypt Schemes
passlib.hash.apr_md5_crypt
- Apache’s MD5-Crypt variant
passlib.hash.phpass
- PHPass’ Portable Hash
passlib.hash.pbkdf2_
digest
- Generic PBKDF2 Hashes
passlib.hash.cta_pbkdf2_sha1
- Cryptacular’s PBKDF2 hash
passlib.hash.dlitz_pbkdf2_sha1
- Dwayne Litzenberger’s PBKDF2 hash
passlib.hash.scram
- SCRAM Hash
passlib.hash.unix_disabled
- Unix Disabled Account Helper
LDAP / RFC2307 Hashes
Standard LDAP Schemes
passlib.hash.ldap_
crypt
- LDAP crypt() Wrappers
Non-Standard LDAP Schemes
passlib.hash.ldap_pbkdf2_
digest
- Generic PBKDF2 Hashes
passlib.hash.atlassian_pbkdf2_sha1
- Atlassian’s PBKDF2-based Hash
passlib.hash.fshp
- Fairly Secure Hashed Password
SQL Database Hashes
passlib.hash.mssql2000
- MS SQL 2000 password hash
Interface
Format & Algorithm
Security Issues
passlib.hash.mssql2005
- MS SQL 2005 password hash
Interface
Format & Algorithm
Security Issues
passlib.hash.mysql323
- MySQL 3.2.3 password hash
Interface
Format & Algorithm
Security Issues
passlib.hash.mysql41
- MySQL 4.1 password hash
Interface
Format & Algorithm
Security Issues
passlib.hash.postgres_md5
- PostgreSQL MD5 password hash
Interface
Format & Algorithm
Security Issues
passlib.hash.oracle10
- Oracle 10g password hash
Interface
Format & Algorithm
Security Issues
Deviations
passlib.hash.oracle11
- Oracle 11g password hash
Interface
Format & Algorithm
Deviations
MS Windows Hashes
passlib.hash.lmhash
- LanManager Hash
Interface
Format & Algorithm
Security Issues
Deviations
passlib.hash.nthash
- Windows’ NT-HASH
Interface
Format & Algorithm
FreeBSD Variant
Security Issues
passlib.hash.msdcc
- Windows’ Domain Cached Credentials
Interface
Format & Algorithm
Security Issues
passlib.hash.msdcc2
- Windows’ Domain Cached Credentials v2
Interface
Format & Algorithm
Security Issues
Deviations
Other Hashes
passlib.hash.cisco_pix
- Cisco PIX hash
Interface
Format & Algorithm
Security Issues
Deviations
passlib.hash.cisco_type7
- Cisco “Type 7” hash
Interface
Format & Algorithm
Deviations
passlib.hash.django_
digest
- Django-specific Hashes
Django 1.4 Hashes
Django 1.0 Hashes
Des Crypt Wrapper
Other Hashes
passlib.hash.grub_pbkdf2_sha512
- Grub’s PBKDF2 Hash
Interface
Format & Algorithm
passlib.hash.hex_
digest
- Generic Hexdecimal Digests
Interface
Format & Algorithm
passlib.hash.plaintext
- Plaintext
Interface
passlib.context
- CryptContext Overview & Tutorial
Overview
Tutorial / Walkthrough
Basic Usage
Using Default Settings
Loading & Saving a CryptContext
Deprecation & Hash Migration
Deprecating Algorithms
Integrating Hash Migration
Settings Rounds Limitations
Full Integration Example
Policy Configuration File
Initializing the CryptContext
Encrypting New Passwords
Verifying & Migrating Existing Passwords
passlib.context
- CryptContext Reference
The CryptContext Class
Constructor Keywords
Context Options
Algorithm Options
Global Algorithm Options
User Categories
Primary Methods
“crypt”-style methods
Hash Migration
Alternate Constructors
Changing the Configuration
Examining the Configuration
Saving the Configuration
Configuration Errors
Other Helpers
The CryptPolicy Class (deprecated)
passlib.apps
- Helpers for various applications
Usage Example
Django
LDAP
MySQL
PHPass
PostgreSQL
Roundup
Custom Applications
passlib.hosts
- OS Password Handling
Usage Example
Unix Password Hashes
Predefined Contexts
Current Host OS
passlib.apache
- Apache Password Files
Htpasswd Files
Htdigest Files
passlib.ext.django
- Django Password Hashing Plugin
Installation
Configuration
Module Contents
passlib.exc
- exceptions and warnings raised by Passlib
Exceptions
Warnings
Minor Warnings
Critical Warnings
passlib.registry
- Password Handler Registry
Interface
Usage
passlib.utils
- Helper Functions
Constants
Unicode Helpers
Bytes Helpers
Encoding Helpers
Base64 Encoding
Base64Engine Class
Common Character Maps
Predefined Instances
Other
Randomness
Interface Tests
Submodules
passlib.utils.handlers
- Framework for writing password hashes
Implementing Custom Handlers
The GenericHandler Class
The StaticHandler class
Other Constructors
Testing Hash Handlers
passlib.utils.des
- DES routines
passlib.utils.pbkdf2
- PBKDF2 key derivation algorithm
PKCS#5 Key Derivation Functions
Helper Functions
Modular Crypt Format
History
Requirements
Identifiers & Platform Support
OS Defined Hashes
Additional Platforms
Application-Defined Hashes
Release History
1.6.1
(2012-08-02)
1.6
(2012-05-01)
Overview
Deprecated APIs
New Hashes
Existing Hashes
CryptContext
Other Modules
Bugfixes
Internal Changes
1.5.3
(2011-10-08)
1.5.2
(2011-09-19)
1.5.1
(2011-08-17)
1.5
(2011-07-11)
Hashes
CryptContext
Documentation
Internal Changes
1.4
(2011-05-04)
Hashes
CryptContext
Documentation
Internals
Other
1.3.1
(2011-03-28)
1.3
(2011-03-25)
1.2
(2011-01-06)
1.0
(2009-12-11)
0.5
(2008-05-10)
Copyrights & Licenses
License for Passlib
Licenses for incorporated software
MD5-Crypt
DES
jBCrypt
General Index
Module List
Next topic
Passlib 1.6.1 documentation
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
toc
next
Passlib 1.6 Documentation
»