summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/ucryptolib.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/library/ucryptolib.rst b/docs/library/ucryptolib.rst
index c9e0bb71f..79471c2e9 100644
--- a/docs/library/ucryptolib.rst
+++ b/docs/library/ucryptolib.rst
@@ -22,9 +22,11 @@ Classes
* *mode* is:
* ``1`` (or ``ucryptolib.MODE_ECB`` if it exists) for Electronic Code Book (ECB).
- * ``2`` (or ``ucryptolib.MODE_CBC`` if it exists) for Cipher Block Chaining (CBC)
+ * ``2`` (or ``ucryptolib.MODE_CBC`` if it exists) for Cipher Block Chaining (CBC).
+ * ``6`` (or ``ucryptolib.MODE_CTR`` if it exists) for Counter mode (CTR).
* *IV* is an initialization vector for CBC mode.
+ * For Counter mode, *IV* is the initial value for the counter.
.. method:: encrypt(in_buf, [out_buf])