summaryrefslogtreecommitdiff
path: root/docs/lib
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-03-10 18:32:30 -0500
committerEli Collins <elic@assurancetechnologies.com>2012-03-10 18:32:30 -0500
commita4d76940ed6b03db079960473e756df4f03fd36b (patch)
tree5ce8b64f2b0e9717ee65e866d892fb1327ef8d13 /docs/lib
parent4b622bf43781a95dfecf42b1998d2fb78de90594 (diff)
downloadpasslib-a4d76940ed6b03db079960473e756df4f03fd36b.tar.gz
doc tweaks
Diffstat (limited to 'docs/lib')
-rw-r--r--docs/lib/passlib.hash.oracle10.rst7
-rw-r--r--docs/lib/passlib.utils.rst9
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/lib/passlib.hash.oracle10.rst b/docs/lib/passlib.hash.oracle10.rst
index 15deac3..2ef4124 100644
--- a/docs/lib/passlib.hash.oracle10.rst
+++ b/docs/lib/passlib.hash.oracle10.rst
@@ -41,7 +41,7 @@ a username for all encrypt/verify operations)::
True
>>> or10.verify("password", h, "somebody") #verify correct password w/ wrong username
False
- >>> or10.verify("password", h, "username") #verify incorrect password
+ >>> or10.verify("letmein", h, "username") #verify incorrect password
False
Interface
@@ -83,10 +83,10 @@ Oracle10 account passwords, due to the following flaws [#flaws]_:
weakening the effectiveness of the salt in foiling pre-computed tables.
* The fact that it is case insensitive, and simply concatenates the username
- and password, greatly reduces the keyspace that must be searched by
+ and password, greatly reduces the keyspace that must be searched by
brute-force or pre-computed attacks.
-* It's simplicity, and decades of research on high-speed DES
+* It's simplicity, and decades of research on high-speed DES
implementations, makes efficient brute force attacks much more feasible.
Deviations
@@ -118,4 +118,3 @@ There is only one known issue:
.. [#] Description of Oracle10g and Oracle11g algorithms -
`<http://www.notesbit.com/index.php/scripts-oracle/oracle-11g-new-password-algorithm-is-revealed-by-seclistsorg/>`_.
-
diff --git a/docs/lib/passlib.utils.rst b/docs/lib/passlib.utils.rst
index ca82c57..afd27de 100644
--- a/docs/lib/passlib.utils.rst
+++ b/docs/lib/passlib.utils.rst
@@ -117,16 +117,17 @@ Predefined Instances
was replaced by the the ``h64`` and ``h64big`` instances;
the interface remains mostly unchanged.
+Other
+-----
+.. autofunction:: ab64_encode
+.. autofunction:: ab64_decode
+
..
.. data:: AB64_CHARS
Variant of standard Base64 character map used by some
custom Passlib hashes (see :func:`ab64_encode`).
- Other
- -----
- .. autofunction:: ab64_encode
- .. autofunction:: ab64_decode
..
Host OS