diff options
author | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2012-06-18 23:00:47 +0200 |
---|---|---|
committer | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2012-06-18 23:00:47 +0200 |
commit | 5d6f522112ff8f13a622620df0b7c51e426a6579 (patch) | |
tree | 80e9a279c38102ddf496fffe4c13036bf62aa730 /lib/Crypto/Util | |
parent | cb749c0a52cb20d6f9383492e3d2f160fc608bb0 (diff) | |
download | pycrypto-5d6f522112ff8f13a622620df0b7c51e426a6579.tar.gz |
AES was 1 byte too long in example
Diffstat (limited to 'lib/Crypto/Util')
-rw-r--r-- | lib/Crypto/Util/Counter.py | 2 |
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) |