summaryrefslogtreecommitdiff
path: root/docs/modular_crypt_format.rst
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2013-12-26 10:50:07 -0500
committerEli Collins <elic@assurancetechnologies.com>2013-12-26 10:50:07 -0500
commit0db4ea7949997265fcaae406a26070af86d4bb65 (patch)
treed2ddbef22b700f7e97075c15e9e94b700732955e /docs/modular_crypt_format.rst
parent1fe99e524b5d6120b2994b94c2ed9ef2cb3437ad (diff)
downloadpasslib-0db4ea7949997265fcaae406a26070af86d4bb65.tar.gz
added passlib.hash.bcrypt_sha256
* not too much trouble, and definitely needed. after considering options, decided to use sha256 + base64. * added note re: bcrypt password truncation * HasBackend mixin -- changed to use _calc_checksum_backend() as the attribute it patches, instead of _calc_checksum(). makes it easier to consolidate code common to all backends (e.g. bcrypt) * test_60_secret_size: changed hardcoded exception list to a class flag * added registry test to make sure all hashes are being tested (with a few known exceptions) * clarified names inside builtin bcrypt backend * updated changelog
Diffstat (limited to 'docs/modular_crypt_format.rst')
-rw-r--r--docs/modular_crypt_format.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/modular_crypt_format.rst b/docs/modular_crypt_format.rst
index 55e9aa3..a0f0cc0 100644
--- a/docs/modular_crypt_format.rst
+++ b/docs/modular_crypt_format.rst
@@ -159,7 +159,7 @@ by the following operating systems and platforms:
**MacOS X** Darwin's native :func:`!crypt` provides limited functionality,
supporting only :class:`~passlib.hash.des_crypt` and
:class:`~passlib.hash.bsdi_crypt`. OS X uses a separate
- system for it's own password hashes.
+ system for it's own password hashes.
**Google App Engine** As of 2011-08-19, Google App Engine's :func:`!crypt`
implementation appears to match that of a typical Linux
@@ -181,6 +181,7 @@ These hashes can be found in various libraries and applications
Scheme Prefix Primary Use (if known)
=========================================== =================== ===========================
:class:`~passlib.hash.apr_md5_crypt` ``$apr1$`` Apache htdigest files
+ :class:`~passlib.hash.bcrypt_sha256` ``$bcrypt-sha256$`` Passlib-specific
:class:`~passlib.hash.phpass` ``$P$``, ``$H$`` PHPass-based applications
:class:`~passlib.hash.pbkdf2_sha1` ``$pbkdf2$`` Passlib-specific
:class:`~passlib.hash.pbkdf2_sha256` ``$pbkdf2-sha256$`` Passlib-specific