Utilities/crypto/py3AES.py

changeset 1682
0eefcc28fa74
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
--- a/Utilities/crypto/py3AES.py	Sun Feb 26 19:43:27 2012 +0100
+++ b/Utilities/crypto/py3AES.py	Mon Feb 27 19:33:51 2012 +0100
@@ -617,7 +617,7 @@
         @param input data to be encrypted (bytes)
         @param mode mode of operation (0, 1 or 2)
         @param key key to be used (bytes)
-        @param size length of the key (integer)
+        @param size length of the key (16, 24 or 32)
         @param IV initialisation vector (bytearray)
         @return tuple with mode of operation, length of the input and
             the encrypted data (integer, integer, bytes)
@@ -709,7 +709,7 @@
             (integer)
         @param mode mode of operation (0, 1 or 2)
         @param key key to be used (bytes)
-        @param size length of the key (integer)
+        @param size length of the key (16, 24 or 32)
         @param IV initialisation vector (bytearray)
         @return decrypted data (bytes)
         """

eric ide

mercurial