summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-17 21:04:33 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-17 21:05:01 +0200
commit1eec0099f32e2ea3c9e350eab5b4fcb09e28038d (patch)
tree4b89af431e47495d5771e5b5a47bc3bb024e8324
parentc3aadee360d70ebd9d04660ae2c6b471be41981e (diff)
downloadpycrypto-1eec0099f32e2ea3c9e350eab5b4fcb09e28038d.tar.gz
Fixed 2 typos in documentation
-rw-r--r--lib/Crypto/Cipher/AES.py2
-rw-r--r--lib/Crypto/Cipher/blockalgo.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Crypto/Cipher/AES.py b/lib/Crypto/Cipher/AES.py
index a1b7bf4..6b870ac 100644
--- a/lib/Crypto/Cipher/AES.py
+++ b/lib/Crypto/Cipher/AES.py
@@ -64,7 +64,7 @@ def new(key, *args, **kwargs):
:Parameters:
key : byte string
The secret key to use in the symmetric cipher.
- It must be 16 (*AES-128*), 24 (*AES-192), or 32 (*AES-256*) bytes long.
+ It must be 16 (*AES-128*), 24 (*AES-192*), or 32 (*AES-256*) bytes long.
:Keywords:
mode : a *MODE_** constant
The chaining mode to use for encryption or decryption.
diff --git a/lib/Crypto/Cipher/blockalgo.py b/lib/Crypto/Cipher/blockalgo.py
index 70e8ca0..d8b1a8c 100644
--- a/lib/Crypto/Cipher/blockalgo.py
+++ b/lib/Crypto/Cipher/blockalgo.py
@@ -19,7 +19,7 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ===================================================================
-"""Module with definitions commont to all block ciphers."""
+"""Module with definitions common to all block ciphers."""
#: *Electronic Code Book (ECB)*.
#: This is the simplest encryption mode. Each of the plaintext blocks