summaryrefslogtreecommitdiff
path: root/passlib/utils
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-03-12 22:38:41 -0400
committerEli Collins <elic@assurancetechnologies.com>2012-03-12 22:38:41 -0400
commit4307162072d9b1c65f41990752b39ad4483c0a00 (patch)
tree5ff0359aecb90b8b2fd8d7a6fcf6d7743527ab5d /passlib/utils
parent3913a59ad033462e6a389544ffcdf8055db7ad9c (diff)
downloadpasslib-4307162072d9b1c65f41990752b39ad4483c0a00.tar.gz
doc tweaks
Diffstat (limited to 'passlib/utils')
-rw-r--r--passlib/utils/_blowfish/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/passlib/utils/_blowfish/base.py b/passlib/utils/_blowfish/base.py
index 22f6bbe..9be048b 100644
--- a/passlib/utils/_blowfish/base.py
+++ b/passlib/utils/_blowfish/base.py
@@ -19,7 +19,7 @@ def _init_constants():
global BLOWFISH_P, BLOWFISH_S
# NOTE: blowfish's spec states these numbers are the hex representation
- # of the fractional portion of PI, in order.
+ # of the fractional portion of PI, in order.
# Initial contents of key schedule - 18 integers
BLOWFISH_P = [
@@ -318,8 +318,8 @@ class BlowfishEngine(object):
#=========================================================
@staticmethod
def key_to_words(data, size=18):
- """convert data to tuple of integers, repeated or truncating data
- as needed to reach specified size"""
+ """convert data to tuple of <size> 4-byte integers, repeating or
+ truncating data as needed to reach specified size"""
assert isinstance(data, bytes)
dlen = len(data)
if not dlen: