diff options
Diffstat (limited to 'docs/primitives')
-rw-r--r-- | docs/primitives/symmetric-encryption.rst | 2 |
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 [...] |