summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwayne C. Litzenberger <dlitz@dlitz.net>2012-05-23 22:15:53 -0400
committerDwayne C. Litzenberger <dlitz@dlitz.net>2012-05-23 22:15:53 -0400
commit6ca6d21540b763073023136a964e489aee1d36c2 (patch)
tree1d4dbd020bdbd0c807aa6a64cb320db21b6cc6b5
parentcdcc48b064f298f7ea53b651ca726ed7f0aef81c (diff)
downloadpycrypto-6ca6d21540b763073023136a964e489aee1d36c2.tar.gz
Fix typos in docs
-rw-r--r--lib/Crypto/Cipher/blockalgo.py2
-rw-r--r--lib/Crypto/Hash/MD5.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Crypto/Cipher/blockalgo.py b/lib/Crypto/Cipher/blockalgo.py
index 8619a8a..dd183dc 100644
--- a/lib/Crypto/Cipher/blockalgo.py
+++ b/lib/Crypto/Cipher/blockalgo.py
@@ -111,7 +111,7 @@ MODE_OFB = 5
MODE_CTR = 6
#: OpenPGP. This mode is a variant of CFB, and it is only used in PGP and OpenPGP_ applications.
-#: A Initialization Vector (*IV*) is required.
+#: An Initialization Vector (*IV*) is required.
#:
#: Unlike CFB, the IV is not transmitted to the receiver. Instead, the *encrypted* IV is.
#: The IV is a random data block. Two of its bytes are duplicated to act as a checksum
diff --git a/lib/Crypto/Hash/MD5.py b/lib/Crypto/Hash/MD5.py
index e77c787..18e9e7b 100644
--- a/lib/Crypto/Hash/MD5.py
+++ b/lib/Crypto/Hash/MD5.py
@@ -28,7 +28,7 @@ MD5 is specified in RFC1321_ and produces the 128 bit digest of a message.
>>> h.update(b'Hello')
>>> print h.hexdigest()
-MD4 stand for Message Digest version 5, and it was invented by Rivest in 1991.
+MD5 stand for Message Digest version 5, and it was invented by Rivest in 1991.
This algorithm is insecure. Do not use it for new designs.