From acc787aebb30b311bcfbb49a569941d294ab94fc Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 10 Aug 2013 15:52:40 -0400 Subject: Fixed example --- docs/primitives/symmetric-encryption.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [...] -- cgit v1.2.3