aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-17 13:13:34 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-17 13:13:34 -0800
commit740e43079dbc62ca7f5918284e90be386133f21b (patch)
tree279895454a38743f60047c9162477eb706d2b3d9 /docs
parentebf83a0fe61d991ac9c5c288d6005107b3292767 (diff)
parent668d4803571876c1cf803b33495ddcf4433a4d83 (diff)
downloadcryptography-740e43079dbc62ca7f5918284e90be386133f21b.tar.gz
cryptography-740e43079dbc62ca7f5918284e90be386133f21b.tar.bz2
cryptography-740e43079dbc62ca7f5918284e90be386133f21b.zip
Merge pull request #313 from dreid/block-cipher-algorithm
BlockCipherAlgorithm because we should document block_size and ARC4 shouldn't need block_size = 1.
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/interfaces.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/interfaces.rst b/docs/hazmat/primitives/interfaces.rst
index 11cff51a..361b723e 100644
--- a/docs/hazmat/primitives/interfaces.rst
+++ b/docs/hazmat/primitives/interfaces.rst
@@ -36,6 +36,17 @@ Symmetric Ciphers
The number of bits in the key being used.
+.. class:: BlockCipherAlgorithm
+
+ A block cipher algorithm.
+
+ .. attribute:: block_size
+
+ :type: int
+
+ The number of bits in a block.
+
+
Cipher Modes
------------