summaryrefslogtreecommitdiff
path: root/lib/Crypto/Util
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-06-18 23:00:47 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-06-18 23:00:47 +0200
commit5d6f522112ff8f13a622620df0b7c51e426a6579 (patch)
tree80e9a279c38102ddf496fffe4c13036bf62aa730 /lib/Crypto/Util
parentcb749c0a52cb20d6f9383492e3d2f160fc608bb0 (diff)
downloadpycrypto-5d6f522112ff8f13a622620df0b7c51e426a6579.tar.gz
AES was 1 byte too long in example
Diffstat (limited to 'lib/Crypto/Util')
-rw-r--r--lib/Crypto/Util/Counter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/Util/Counter.py b/lib/Crypto/Util/Counter.py
index d61b1a1..60e281c 100644
--- a/lib/Crypto/Util/Counter.py
+++ b/lib/Crypto/Util/Counter.py
@@ -46,7 +46,7 @@ An example of usage is the following:
>>>
>>> pt = b'X'*1000000
>>> ctr = Counter.new(128)
- >>> key = b'AES-128 symm. key'
+ >>> key = b'AES-128 symm key'
>>> cipher = AES.new(key, AES.MODE_CTR, counter=ctr)
>>> ct = cipher.encrypt(pt)