diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-05-12 15:17:06 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-05-12 15:17:06 -0400 |
commit | 056c9ddc412fb23b81d3192f9f4e2403982ef09a (patch) | |
tree | e28eee7ddfe607788cd70a10db7d84735841ec3f /docs/hazmat/primitives/aead.rst | |
parent | 590692fe6a071b3c694ae8966b84b45ece9b1a07 (diff) | |
download | cryptography-056c9ddc412fb23b81d3192f9f4e2403982ef09a.tar.gz cryptography-056c9ddc412fb23b81d3192f9f4e2403982ef09a.tar.bz2 cryptography-056c9ddc412fb23b81d3192f9f4e2403982ef09a.zip |
switch to py3 on docs job (#4230)
* switch to py3 on docs job
* somehow unicode isn't a word
Diffstat (limited to 'docs/hazmat/primitives/aead.rst')
-rw-r--r-- | docs/hazmat/primitives/aead.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/aead.rst b/docs/hazmat/primitives/aead.rst index 7b01f745..ee4214a1 100644 --- a/docs/hazmat/primitives/aead.rst +++ b/docs/hazmat/primitives/aead.rst @@ -34,7 +34,7 @@ also support providing integrity for associated data which is not encrypted. >>> nonce = os.urandom(12) >>> ct = chacha.encrypt(nonce, data, aad) >>> chacha.decrypt(nonce, ct, aad) - 'a secret message' + b'a secret message' .. classmethod:: generate_key() @@ -99,7 +99,7 @@ also support providing integrity for associated data which is not encrypted. >>> nonce = os.urandom(12) >>> ct = aesgcm.encrypt(nonce, data, aad) >>> aesgcm.decrypt(nonce, ct, aad) - 'a secret message' + b'a secret message' .. classmethod:: generate_key(bit_length) @@ -181,7 +181,7 @@ also support providing integrity for associated data which is not encrypted. >>> nonce = os.urandom(13) >>> ct = aesccm.encrypt(nonce, data, aad) >>> aesccm.decrypt(nonce, ct, aad) - 'a secret message' + b'a secret message' .. classmethod:: generate_key(bit_length) |