aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-10 15:54:57 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-10 15:54:57 -0400
commite9d8a777f2db59b11f745eb38d44f7257b40f5ab (patch)
tree830d1c621a6dd74427c7f84a14dcfbab17a9550d
parent3cae1d6421c3203e85401913aff1a7e02c8f6873 (diff)
parentccc5062166f673c0b572c4e3344c8f5a61661d50 (diff)
downloadcryptography-e9d8a777f2db59b11f745eb38d44f7257b40f5ab.tar.gz
cryptography-e9d8a777f2db59b11f745eb38d44f7257b40f5ab.tar.bz2
cryptography-e9d8a777f2db59b11f745eb38d44f7257b40f5ab.zip
Merge branch 'master' into simple-symmetric-encryption
Conflicts: docs/primitives/symmetric-encryption.rst
-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
[...]