diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2012-08-02 15:09:18 -0400 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2012-08-02 15:09:18 -0400 |
commit | 088ab58f2062be474f1e8075ac86a8b9417f7b56 (patch) | |
tree | 8bb719a7f0a184a4565716590e20a3f926928876 | |
parent | 2754f78bc1bd5aa826d0385aef85fdb4005a2ffb (diff) | |
download | passlib-088ab58f2062be474f1e8075ac86a8b9417f7b56.tar.gz |
documentation tweaks
-rw-r--r-- | docs/lib/passlib.hash.bcrypt.rst | 4 | ||||
-rw-r--r-- | docs/lib/passlib.hash.hex_digests.rst | 2 |
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 |