aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-13 20:43:54 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-13 20:43:54 -0800
commitd83c5909c9de44dd523f057edffbdb33a9ae89e6 (patch)
tree036bbb0908283660ab7b6f1781dea8e13a62e62d /docs
parent989061d070bdee122b07633e9a19e737fa816256 (diff)
downloadcryptography-d83c5909c9de44dd523f057edffbdb33a9ae89e6.tar.gz
cryptography-d83c5909c9de44dd523f057edffbdb33a9ae89e6.tar.bz2
cryptography-d83c5909c9de44dd523f057edffbdb33a9ae89e6.zip
Need to include the imports
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index f3def845..55b2dcd4 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -269,6 +269,7 @@ Modes
.. doctest::
>>> import os
+ >>> from cryptography.hazmat.primitives.ciphers.modes import CBC
>>> iv = os.urandom(16)
>>> mode = CBC(iv)
@@ -276,6 +277,7 @@ Modes
.. doctest::
+ >>> from cryptography.hazmat.primitives.ciphers.modes import CBC
>>> iv = "a" * 16
>>> mode = CBC(iv)