summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/lib/passlib.hash.bcrypt.rst4
-rw-r--r--docs/lib/passlib.hash.hex_digests.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/lib/passlib.hash.bcrypt.rst b/docs/lib/passlib.hash.bcrypt.rst
index 45eda31..6b68d4c 100644
--- a/docs/lib/passlib.hash.bcrypt.rst
+++ b/docs/lib/passlib.hash.bcrypt.rst
@@ -62,12 +62,12 @@ Interface
.. warning::
The pure-python backend (#4) is disabled by default!
- This backend is currently too slow to be usuable given the number of rounds required
+ That backend is currently too slow to be usuable given the number of rounds required
for security. That said, if you have no other alternative and need to use it,
set the environmental variable ``PASSLIB_BUILTIN_BCRYPT="enabled"``
before importing Passlib.
- In detail: Passlib's :ref:`rounds selection guidelines <rounds-selection-guidelines>`
+ What's "too slow"? Passlib's :ref:`rounds selection guidelines <rounds-selection-guidelines>`
currently require BCrypt be able to do >= 12 cost in <= 300ms. By this standard
the pure-python backend is 128x too slow under CPython 2.7, and 16x too slow under PyPy 1.8.
(speedups are welcome!)
diff --git a/docs/lib/passlib.hash.hex_digests.rst b/docs/lib/passlib.hash.hex_digests.rst
index de13bca..aea7ea2 100644
--- a/docs/lib/passlib.hash.hex_digests.rst
+++ b/docs/lib/passlib.hash.hex_digests.rst
@@ -55,7 +55,7 @@ Interface
.. note::
- Oracle VirtualBox's :cmd:`VBoxManager internalcommands passwordhash` command
+ Oracle VirtualBox's :command:`VBoxManager internalcommands passwordhash` command
uses :class:`hex_sha256`.
Format & Algorithm