aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-10 15:52:40 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-10 15:52:40 -0400
commitacc787aebb30b311bcfbb49a569941d294ab94fc (patch)
treea0cf615be3da81e6d2e0665993732f578820f648 /docs
parent641a3a0e42f39c171afb7dd68ace4a3e84898552 (diff)
downloadcryptography-acc787aebb30b311bcfbb49a569941d294ab94fc.tar.gz
cryptography-acc787aebb30b311bcfbb49a569941d294ab94fc.tar.bz2
cryptography-acc787aebb30b311bcfbb49a569941d294ab94fc.zip
Fixed example
Diffstat (limited to 'docs')
-rw-r--r--docs/primitives/symmetric-encryption.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index 05aea0fa..0812f6b9 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -13,7 +13,7 @@ where the encrypter and decrypter both use the same key.
.. code-block:: pycon
>>> from cryptography.primitives.block import BlockCipher, ciphers, modes
- >>> cipher = BlockCipher(cipher.AES(key), mode.CBC(iv))
+ >>> cipher = BlockCipher(ciphers.AES(key), modes.CBC(iv))
>>> cipher.encrypt("my secret message") + cipher.finalize()
# The ciphertext
[...]