aboutsummaryrefslogtreecommitdiffstats
path: root/docs/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-08 11:29:06 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-08 11:29:06 -0700
commita4f529e2dbbe5e30b77c1f41ea203012f49b064b (patch)
tree1a6cfa890034bc641b3b4c830e09aa3ba65e948a /docs/primitives/symmetric-encryption.rst
parent1c1bad6b334ed18e5b8bb5dd21d33730503e4227 (diff)
downloadcryptography-a4f529e2dbbe5e30b77c1f41ea203012f49b064b.tar.gz
cryptography-a4f529e2dbbe5e30b77c1f41ea203012f49b064b.tar.bz2
cryptography-a4f529e2dbbe5e30b77c1f41ea203012f49b064b.zip
fix spelling errors, move module
Diffstat (limited to 'docs/primitives/symmetric-encryption.rst')
-rw-r--r--docs/primitives/symmetric-encryption.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index be6ed2ba..7c77f295 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -13,8 +13,8 @@ or GCM). A simple example of encrypting content with AES is:
.. code-block:: pycon
- >>> from cryptography.primitives import BlockCipher, CBC
>>> from cryptography.primitives.aes import AES
+ >>> from cryptography.primitives.block import BlockCipher, CBC
>>> cipher = BlockCipher(AES(key), CBC(iv))
>>> cipher.encrypt("my secret message") + cipher.finalize()
# The ciphertext
@@ -45,7 +45,7 @@ Ciphers
Modes
~~~~~
-.. class:: cryptographically.primitives.CBC(initialization_vector)
+.. class:: cryptography.primitives.block.CBC(initialization_vector)
CBC (Cipher block chaining) is a mode of operation for block ciphers. It is
considered cryptographically strong.