aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-09-09 18:06:14 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-09-09 18:06:14 -0700
commitaeb714c5fb12e66a7e5e59150d38d8f083e7ebd4 (patch)
tree73e0da00953222c9c110a87dbc6404f5e7da666b /docs
parent2ed581ec4ab50db93f8b80a71992a8a6b71eefe8 (diff)
downloadcryptography-aeb714c5fb12e66a7e5e59150d38d8f083e7ebd4.tar.gz
cryptography-aeb714c5fb12e66a7e5e59150d38d8f083e7ebd4.tar.bz2
cryptography-aeb714c5fb12e66a7e5e59150d38d8f083e7ebd4.zip
Iinital work on 3DES. No tests and no implementation yet.
Diffstat (limited to 'docs')
-rw-r--r--docs/primitives/symmetric-encryption.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index 1b8d1d73..91f3b7aa 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -52,6 +52,25 @@ Ciphers
This must be kept secret.
+Insecure Ciphers
+----------------
+
+.. class:: cryptography.primitives.block.ciphers.TripleDES(key)
+
+ Triple DES (Data encryption standard), sometimes refered to as 3DES, is a
+ block cipher standardized by NIST. Triple DES should be considered to be
+ cryptographically broken and should not be used for new applications, old
+ applications should strongly consider moving away from it.
+
+ :param bytes key: The secret key, either ``64``, ``128``, or ``192`` bits
+ (note that DES functionally uses ``56``, ``112``, or
+ ``168`` bits of the key, there is a parity byte in each
+ component of the key), in some materials these are
+ referred to as being up to three separate keys (each
+ ``56`` bits long), they can simply be concatenated to
+ produce the full key. This must be kept secret.
+
+
Modes
~~~~~