blob: 0b3595fbf2ae4abce7a6514a5857992deaba9c90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
==================================================================
:class:`passlib.hash.sha256_crypt` - SHA-256 Crypt
==================================================================
.. currentmodule:: passlib.hash
This scheme is identical to :class:`~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 :class:`~passlib.hash.sha512_crypt`.
.. autoclass:: sha256_crypt
|