diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-01 16:37:16 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-01 16:37:16 -0700 |
commit | eca9f36c66274928cc8d113ab114c55b2f05b621 (patch) | |
tree | 0922a83820bca0950af8d59c9cca0d45a1e693f1 /docs/hazmat/primitives/symmetric-encryption.rst | |
parent | 2c58bbe5fa222fed3d917252a64868171443def9 (diff) | |
parent | 33675c3c1d08507ca73b01428ae99b5200af830e (diff) | |
download | cryptography-eca9f36c66274928cc8d113ab114c55b2f05b621.tar.gz cryptography-eca9f36c66274928cc8d113ab114c55b2f05b621.tar.bz2 cryptography-eca9f36c66274928cc8d113ab114c55b2f05b621.zip |
Merge branch 'master' into fernet
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r-- | docs/hazmat/primitives/symmetric-encryption.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst index 1e047b7c..5852dc21 100644 --- a/docs/hazmat/primitives/symmetric-encryption.rst +++ b/docs/hazmat/primitives/symmetric-encryption.rst @@ -107,6 +107,33 @@ 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 +------------ + +.. warning:: + + These ciphers are considered weak for a variety of reasons. New + applications should avoid their use and existing applications should + strongly consider migrating away. + +.. class:: Blowfish(key) + + Blowfish is a block cipher developed by Bruce Schneier. It is known to be + susceptible to attacks when using weak keys. The author has recommended + that users of Blowfish move to newer algorithms like + :class:`AES`. + + :param bytes key: The secret key, 32-448 bits in length (in increments of + 8). This must be kept secret. Modes ~~~~~ |