summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/lib/passlib.hash.bcrypt.rst4
-rw-r--r--docs/lib/passlib.hash.scram.rst3
-rw-r--r--docs/lib/passlib.utils.rst11
3 files changed, 11 insertions, 7 deletions
diff --git a/docs/lib/passlib.hash.bcrypt.rst b/docs/lib/passlib.hash.bcrypt.rst
index 0bfd9c7..9c7b339 100644
--- a/docs/lib/passlib.hash.bcrypt.rst
+++ b/docs/lib/passlib.hash.bcrypt.rst
@@ -52,12 +52,12 @@ Interface
2. `bcryptor <https://bitbucket.org/ares/bcryptor/overview>`_, if installed.
3. stdlib's :func:`crypt.crypt()`, if the host OS supports BCrypt
(primarily BSD-derived systems).
- 4. A *slow* pure-python implementation of BCrypt, built into Passlib.
+ 4. A pure-python implementation of BCrypt, built into Passlib (disabled by default).
It should be noted that the pure-python implementation (#4) is too slow
to be useable, given the number of rounds currently required for security.
Because of this, it is disabled by default, unless the environment variable
- ``PASSLIB_BUILTIN_BCRYPT="enabled"`` is set before Passlib is first loaded.
+ ``PASSLIB_BUILTIN_BCRYPT="enabled"`` is set.
If the first three backends are not available, and the builtin
backend has not been enabled, :meth:`encrypt` and :meth:`verify`
diff --git a/docs/lib/passlib.hash.scram.rst b/docs/lib/passlib.hash.scram.rst
index e9c0205..a186685 100644
--- a/docs/lib/passlib.hash.scram.rst
+++ b/docs/lib/passlib.hash.scram.rst
@@ -57,6 +57,9 @@ This class can be used like any other Passlib hash, as follows::
See the generic :ref:`PasswordHash usage examples <password-hash-examples>`
for more details on how to use the common hash interface.
+
+----
+
Additionally, this class provides a number of useful methods for SCRAM-specific actions:
* You can override the default list of digests, and/or the number of iterations::
diff --git a/docs/lib/passlib.utils.rst b/docs/lib/passlib.utils.rst
index 9ecafda..dc9a12f 100644
--- a/docs/lib/passlib.utils.rst
+++ b/docs/lib/passlib.utils.rst
@@ -128,12 +128,13 @@ Predefined Instances
the :class:`Base64Engine` class;
the interface remains mostly unchanged.
-..
- Other
- -----
- .. autofunction:: ab64_encode
- .. autofunction:: ab64_decode
+Other
+-----
+.. autofunction:: ab64_encode
+.. autofunction:: ab64_decode
+
+..
.. data:: AB64_CHARS
Variant of standard Base64 character map used by some