summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-02-08 23:32:13 -0500
committerEli Collins <elic@assurancetechnologies.com>2012-02-08 23:32:13 -0500
commitdcd2dcc7243052b2d5bd7d9f4abbedbb01911e13 (patch)
treea154bbd8263d86e0f39617bf14eb0cff0fa622b3 /docs
parent4712bcd50e12e8ed2e8c135d88ed49951dd45bdf (diff)
downloadpasslib-dcd2dcc7243052b2d5bd7d9f4abbedbb01911e13.tar.gz
renamed calc_checksum() -> _calc_checksum(), hiding the last of the private methods of most handlers
Diffstat (limited to 'docs')
-rw-r--r--docs/lib/passlib.utils.handlers.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/lib/passlib.utils.handlers.rst b/docs/lib/passlib.utils.handlers.rst
index 385e5a2..be4c008 100644
--- a/docs/lib/passlib.utils.handlers.rst
+++ b/docs/lib/passlib.utils.handlers.rst
@@ -52,7 +52,7 @@ workflow for hashes is some combination of the following:
2. validate constituent parts - performed by :class:`!GenericHandler`'s constructor,
and the normalization functions such as :meth:`~GenericHandler._norm_checksum` and :meth:`~HasSalt._norm_salt`
which are provided by it's related mixin classes.
-3. calculate the raw checksum for a specific password - performed by :meth:`~GenericHandler.calc_checksum`.
+3. calculate the raw checksum for a specific password - performed by :meth:`~GenericHandler._calc_checksum`.
4. assemble hash, including new checksum, into a new string - performed by :meth:`~GenericHandler.to_string`.
With this in mind, :class:`!GenericHandler` provides implementations
@@ -85,7 +85,7 @@ In order to use :class:`!GenericHandler`, just subclass it, and then do the foll
(such as returned by :meth:`from_string`), returning
a hash string.
- * provide an implementation of the :meth:`calc_checksum` instance method.
+ * provide an implementation of the :meth:`_calc_checksum` instance method.
this is the heart of the hash; this method should take in the password
as the first argument, then generate and return the digest portion