# API Reference

The reference section contains documentation of Passlib’s public API. These chapters are focused on providing detailed reference of the individual functions and classes; they will generally be cross-linked to any related walkthrough documentation (which tries to provide a higher-level synthetic view).

Note

Primary modules:

The primary modules that will be of interest are:

- `passlib.hash`

- `passlib.context`

- `passlib.totp`

- `passlib.exc`

Caution

Internal modules:

The following modules are mainly used internally, may change structure between releases, and are documented mainly for completeness:

- `passlib.crypto`

- `passlib.registry`

- `passlib.utils`

Alphabetical module list:

- `passlib.apache` - Apache Password Files
- `passlib.apps` - Helpers for various applications
- `passlib.context` - CryptContext Hash Manager
- `passlib.crypto` - Cryptographic Helper Functions
- `passlib.exc` - Exceptions and warnings
- `passlib.ext.django` - Django Password Hashing Plugin
- `passlib.hash` - Password Hashing Schemes
- `passlib.hosts` - OS Password Handling
- `passlib.ifc` – Password Hash Interface
- `passlib.pwd` – Password generation helpers
- `passlib.registry` - Password Handler Registry
- `passlib.totp` – TOTP / Two Factor Authentication
- `passlib.utils` - Helper Functions