aboutsummaryrefslogtreecommitdiffstats
path: root/docs/primitives
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-08 15:26:55 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-08 15:26:55 -0700
commit09515f00076fa9cc709183d3e15393a9ce579974 (patch)
treee654bd93ebe48953d0e49235bcb56dd00f5cad51 /docs/primitives
parente62aa40353e34dcbccd55cc8bf62e6453ca203c4 (diff)
downloadcryptography-09515f00076fa9cc709183d3e15393a9ce579974.tar.gz
cryptography-09515f00076fa9cc709183d3e15393a9ce579974.tar.bz2
cryptography-09515f00076fa9cc709183d3e15393a9ce579974.zip
Descriptive text
Diffstat (limited to 'docs/primitives')
-rw-r--r--docs/primitives/symmetric-encryption.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index 7b67bee0..fb1a7cfc 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -21,6 +21,9 @@ where the encrypter and decrypter both use the same key.
:param cipher: One of the ciphers described below.
:param mode: One of the modes described below.
+ ``encrypt()`` should be called repeatedly with new plaintext, and once the
+ full plaintext is fed in, ``finalize()`` should be called.
+
.. method:: encrypt(plaintext)
:param bytes plaintext: The text you wish to encrypt.