aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-03-11 14:25:26 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-03-11 14:25:26 -0700
commit80b8cfa2f31fb3a19308e7aebce58fb8d1bc0f4a (patch)
tree44c656d4ccb1f9fb8544e58e2fb94032e8eecdb9 /docs/hazmat/primitives/symmetric-encryption.rst
parentcc23b5b3ea1a3f72a8739c5ea0140211b635a961 (diff)
parent7ba0c011880d7b346615aad246e0e72e4c9b4691 (diff)
downloadcryptography-80b8cfa2f31fb3a19308e7aebce58fb8d1bc0f4a.tar.gz
cryptography-80b8cfa2f31fb3a19308e7aebce58fb8d1bc0f4a.tar.bz2
cryptography-80b8cfa2f31fb3a19308e7aebce58fb8d1bc0f4a.zip
Merge pull request #782 from reaperhulk/enable-idea-cipher
Enable IDEA cipher
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 2ee5085b..741091b2 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -165,6 +165,16 @@ Weak Ciphers
>>> decryptor.update(ct)
'a secret message'
+.. class:: IDEA(key)
+
+ IDEA (`International Data Encryption Algorithm`_) is a block cipher created
+ in 1991. It is an optional component of the `OpenPGP`_ standard. This cipher
+ is susceptible to attacks when using weak keys. It is recommended that you
+ do not use this cipher for new applications.
+
+ :param bytes key: The secret key This must be kept secret. ``128`` bits in
+ length.
+
.. _symmetric-encryption-modes:
@@ -468,3 +478,5 @@ Interfaces
.. _`encrypt`: https://ssd.eff.org/tech/encryption
.. _`CRYPTREC`: http://www.cryptrec.go.jp/english/
.. _`significant patterns in the output`: http://en.wikipedia.org/wiki/Cipher_block_chaining#Electronic_codebook_.28ECB.29
+.. _`International Data Encryption Algorithm`: https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
+.. _`OpenPGP`: http://www.openpgp.org