aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-06 11:24:50 -0800
committerDavid Reid <dreid@dreid.org>2013-11-20 09:50:18 -0800
commit846460ae25554cbf007c0b65f8d7997d543ea53e (patch)
treeacc0fff72afc9091ccbbdb675d5df653e89314c2 /docs/hazmat/primitives/symmetric-encryption.rst
parentef0fcf26c920c011948f078481739f4e2c31535f (diff)
downloadcryptography-846460ae25554cbf007c0b65f8d7997d543ea53e.tar.gz
cryptography-846460ae25554cbf007c0b65f8d7997d543ea53e.tar.bz2
cryptography-846460ae25554cbf007c0b65f8d7997d543ea53e.zip
Fix doctests.
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 42d2090c..e7d019da 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -36,7 +36,7 @@ an "encrypt-then-MAC" formulation as `described by Colin Percival`_.
.. doctest::
- >>> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, mode
+ >>> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
>>> cipher = Cipher(algorithms.AES(key), modes.CBC(iv), backend)
>>> encryptor = cipher.encryptor()
>>> ct = encryptor.update(b"a secret message") + encryptor.finalize()