summaryrefslogtreecommitdiff
path: root/docs/lib
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2016-06-17 18:47:56 -0400
committerEli Collins <elic@assurancetechnologies.com>2016-06-17 18:47:56 -0400
commit9a70f30e42dfb35efcea0f38d11597cfb22bd7a3 (patch)
treea722b66e206565f280f67d5ca431316eac724490 /docs/lib
parent5ba50c98026b18b9f8c697c857a1dcd0030dabe3 (diff)
downloadpasslib-9a70f30e42dfb35efcea0f38d11597cfb22bd7a3.tar.gz
docs: replaced a bunch of :meth:`encrypt` references
Diffstat (limited to 'docs/lib')
-rw-r--r--docs/lib/passlib.context-tutorial.rst2
-rw-r--r--docs/lib/passlib.context.rst2
-rw-r--r--docs/lib/passlib.hash.bcrypt.rst4
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/lib/passlib.context-tutorial.rst b/docs/lib/passlib.context-tutorial.rst
index f9a5fce..b513c5a 100644
--- a/docs/lib/passlib.context-tutorial.rst
+++ b/docs/lib/passlib.context-tutorial.rst
@@ -116,7 +116,7 @@ While encrypting and verifying hashes is useful enough, it's not much
more than could be done by importing the objects into a list.
The next feature of the :class:`!CryptContext` class is that it
can store various customized settings for the different algorithms,
-instead of hardcoding them into each :meth:`!encrypt` call.
+instead of hardcoding them into each :meth:`!hash` call.
As an example, the :class:`sha256_crypt <passlib.hash.sha256_crypt>`
algorithm supports a ``rounds`` parameter which defaults to 80000,
and the :class:`ldap_salted_md5 <passlib.hash.ldap_salted_md5>` algorithm uses
diff --git a/docs/lib/passlib.context.rst b/docs/lib/passlib.context.rst
index bd692e9..a7ed687 100644
--- a/docs/lib/passlib.context.rst
+++ b/docs/lib/passlib.context.rst
@@ -299,7 +299,7 @@ in ``schemes``, and :samp:`{option}` one of the parameters below:
:samp:`{scheme}__{other-option}`
Finally, any other options are assumed to correspond to one of the
- that algorithm's :meth:`!encrypt` :attr:`settings <~passlib.ifc.PasswordHash.setting_kwds>`,
+ that algorithm's :meth:`!hash` :attr:`settings <~passlib.ifc.PasswordHash.setting_kwds>`,
such as setting a ``salt_size``.
.. seealso:: the :ref:`context-default-settings-example` example in the tutorial.
diff --git a/docs/lib/passlib.hash.bcrypt.rst b/docs/lib/passlib.hash.bcrypt.rst
index a9af17e..e5a7a56 100644
--- a/docs/lib/passlib.hash.bcrypt.rst
+++ b/docs/lib/passlib.hash.bcrypt.rst
@@ -8,7 +8,7 @@ BCrypt was developed to replace :class:`~passlib.hash.md5_crypt` for BSD systems
It uses a modified version of the Blowfish stream cipher. Featuring
a large salt and variable number of rounds, it's currently the default
password hash for many systems (notably BSD), and has no known weaknesses.
-It is one of the three hashes Passlib :ref:`recommends <recommended-hashes>`
+It is one of the four hashes Passlib :ref:`recommends <recommended-hashes>`
for new applications. This class can be used directly as follows::
>>> from passlib.hash import bcrypt
@@ -57,7 +57,7 @@ This class will use the first available of five possible backends:
(primarily BSD-derived systems).
5. A pure-python implementation of BCrypt, built into Passlib.
-If no backends are available, :meth:`encrypt` and :meth:`verify`
+If no backends are available, :meth:`hash` and :meth:`verify`
will throw :exc:`~passlib.exc.MissingBackendError` when they are invoked.
You can check which backend is in use by calling :meth:`!bcrypt.get_backend()`.