aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-30 17:03:54 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2013-10-31 18:10:20 -0500
commit6022d455d722d56f29fabad81da68de63c2203ab (patch)
treed2a2e901638f512684450026a6ab8f7fcbd872b7 /docs
parentb47f6e1a9f8389224b80b5c3489bafa9e0b57273 (diff)
downloadcryptography-6022d455d722d56f29fabad81da68de63c2203ab.tar.gz
cryptography-6022d455d722d56f29fabad81da68de63c2203ab.tar.bz2
cryptography-6022d455d722d56f29fabad81da68de63c2203ab.zip
add CAST5 docs
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 31ceea8a..5852dc21 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -107,6 +107,15 @@ Ciphers
``56`` bits long), they can simply be concatenated to
produce the full key. This must be kept secret.
+.. class:: CAST5(key)
+
+ CAST5 (also known as CAST-128) is a block cipher approved for use in the
+ Canadian government by their Communications Security Establishment. It is a
+ variable key length cipher and supports keys from 40-128 bits in length.
+
+ :param bytes key: The secret key, 40-128 bits in length (in increments of
+ 8). This must be kept secret.
+
Weak Ciphers
------------
@@ -126,7 +135,6 @@ Weak Ciphers
:param bytes key: The secret key, 32-448 bits in length (in increments of
8). This must be kept secret.
-
Modes
~~~~~