summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.hash/implementation.rst
blob: d80ac56414cebb99a6c0baf68e06926e9381f456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
===================================================================
:mod:`passlib` - Implementing a Custom Crypt Algorithm
===================================================================

.. currentmodule:: passlib

New password algorithms can be implemented
by subclassing :class:`CryptHandler`,
which provides the underlying framework used
for all the password algorithms.

To create a new one,
you simple subclass CryptHandler,
and implement the identify, encrypt, and verify methods
(at the very least).

.. autoclass:: CryptHandler