aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorgdmnbt <gdmnbt@users.noreply.github.com>2017-03-24 01:19:20 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-03-23 20:19:20 -0400
commit2a0b834e906acdd6905d9b92acbe1f116b3e1258 (patch)
tree18d60f20667ea39d7e745f83516d234f68de4f51 /docs/hazmat/primitives/symmetric-encryption.rst
parent6cf66d69ef8fddf22eceb6801b7dafa865595d20 (diff)
downloadcryptography-2a0b834e906acdd6905d9b92acbe1f116b3e1258.tar.gz
cryptography-2a0b834e906acdd6905d9b92acbe1f116b3e1258.tar.bz2
cryptography-2a0b834e906acdd6905d9b92acbe1f116b3e1258.zip
Update symmetric-encryption.rst (#3479)
* Update symmetric-encryption.rst Import default_backend so the example works out-of-the-box. * Update symmetric-encryption.rst * newline nit
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index a3b9feae..17d91091 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -341,6 +341,7 @@ Modes
import os
+ from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives.ciphers import (
Cipher, algorithms, modes
)