aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-10 20:52:46 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-10 20:52:46 +0200
commit829b2ba16a38807b30e92d6565c5ad196e7f0102 (patch)
tree9d8c8d56a970c0255c01a9221571ade536ab1416
parentm (diff)
downloadsha3sum-829b2ba16a38807b30e92d6565c5ad196e7f0102.tar.gz
sha3sum-829b2ba16a38807b30e92d6565c5ad196e7f0102.tar.bz2
sha3sum-829b2ba16a38807b30e92d6565c5ad196e7f0102.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--python2/sha3.py2
-rw-r--r--python3/sha3.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python2/sha3.py b/python2/sha3.py
index 649ee74..a79fd79 100644
--- a/python2/sha3.py
+++ b/python2/sha3.py
@@ -326,7 +326,7 @@ class SHA3:
@param msg:bytes The message to pad
@param r:int The bitrate
- @return :str The message padded
+ @return :bytes The message padded
'''
nnn = len(msg) << 3
diff --git a/python3/sha3.py b/python3/sha3.py
index 117530b..a2e301d 100644
--- a/python3/sha3.py
+++ b/python3/sha3.py
@@ -319,7 +319,7 @@ class SHA3:
@param msg:bytes The message to pad
@param r:int The bitrate
- @return :str The message padded
+ @return :bytes The message padded
'''
nnn = len(msg) << 3