summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.hash.sha256_crypt.rst
blob: d709c847fbc83a9b55a841b62838e430e9d01bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
==================================================================
:mod:`passlib.hash.sha256_crypt` - SHA-256 Crypt
==================================================================

.. module:: passlib.hash.sha526_crypt
    :synopsis: SHA-256 Crypt

This scheme is identical to :mod:`~passlib.hash.sha512_crypt` in almost every way,
they are defined by the same specification and have the same design and structure,
except the following differences:

* it uses the prefix ``$5$`` where the SHA-512-Crypt uses ``$6$``.
* it uses SHA-256 as it's internal hash function instead of SHA-512.
* it's output hash is correspondingly smaller.

For details about this module, see :mod:`~passlib.hash.sha512_crypt`.