diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-02-10 15:21:36 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-02-10 15:21:36 -0500 |
commit | 09828cd4d3136c3fbcf36e2a6cba7f2a26b3350d (patch) | |
tree | 5b08a871825c8cebfc6557feabe16b47c04e37ba /docs | |
parent | a0bef9dfde0e94bd1a01db1b4fa51632ac842ee7 (diff) | |
download | cryptography-09828cd4d3136c3fbcf36e2a6cba7f2a26b3350d.tar.gz cryptography-09828cd4d3136c3fbcf36e2a6cba7f2a26b3350d.tar.bz2 cryptography-09828cd4d3136c3fbcf36e2a6cba7f2a26b3350d.zip |
Clearly document that this is a good example
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst index 309c6fd0..d5884897 100644 --- a/docs/hazmat/primitives/symmetric-encryption.rst +++ b/docs/hazmat/primitives/symmetric-encryption.rst @@ -334,6 +334,9 @@ Modes :raises ValueError: This is raised if ``len(tag) < min_tag_length``. + An example of securely encrypting and decrypting data with ``AES`` in the + ``GCM`` mode looks like: + .. testcode:: import os |