aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.