blob: 017ff31927c503560000a3548ead57c0314160a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
==================================================================
:mod:`passlib.hash.apr_md5_crypt` - Apache MD5-Crypt password hash
==================================================================
.. module:: passlib.hash.apr_md5_crypt
:synopsis: Apache MD5-Crypt variant
This format is a variation of :mod:`~passlib.hash.md5_crypt`,
primarily used by the Apache webserver in ``htpasswd`` files.
It contains only minor changes to md5-crypt, and should
be considered just as strong / weak as md5-crypt itself.
Format & Algorithm
==================
This format is identical to md5-crypt, except for two things:
it uses ``$apr1$`` as a prefix where md5-crypt uses ``$1$``,
and inserts ``$apr1$`` where md5-crypt inserts ``$1$`` into
it's internal hash calculation. Thus, hashes generated
by this and md5-crypt are in no way compatible with eachother
(they will not even have the same checksum for the same salt).
For details about usage & algorithm, see :mod:`~passlib.hash.md5_crypt`.
References
==========
* `<http://httpd.apache.org/docs/2.2/misc/password_encryptions.html>`_
|