diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-09 10:51:59 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-12 18:56:10 -0600 |
commit | bab0e1a4c6301b2a9d23840ae55af92730519edb (patch) | |
tree | d1d02e1364355bbab3d454ee9d617b41000187ee /docs/hazmat | |
parent | c423f635d16443b0ca7c9fea280575b9035328d0 (diff) | |
download | cryptography-bab0e1a4c6301b2a9d23840ae55af92730519edb.tar.gz cryptography-bab0e1a4c6301b2a9d23840ae55af92730519edb.tar.bz2 cryptography-bab0e1a4c6301b2a9d23840ae55af92730519edb.zip |
add cast5 docs
Diffstat (limited to 'docs/hazmat')
-rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst index 85d8e8e3..d9c0cefa 100644 --- a/docs/hazmat/primitives/symmetric-encryption.rst +++ b/docs/hazmat/primitives/symmetric-encryption.rst @@ -116,6 +116,16 @@ Algorithms ``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 the `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 ------------ @@ -469,3 +479,4 @@ Interfaces .. _`described by Colin Percival`: http://www.daemonology.net/blog/2009-06-11-cryptographic-right-answers.html .. _`recommends 96-bit IV length`: http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf .. _`NIST SP-800-38D`: http://csrc.nist.gov/publications/nistpubs/800-38D/SP-800-38D.pdf +.. _`Communications Security Establishment`: http://www.cse-cst.gc.ca |