aboutsummaryrefslogtreecommitdiffstats
path: root/docs/primitives
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-09-10 18:59:43 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-09-10 18:59:43 -0700
commitcd413a36d3716bf56df7b6e071e57071730d1386 (patch)
tree27ac647f631ff4b66107b6c559afc0da59c1f8a4 /docs/primitives
parentc9e91e8cc1d8a5e20ec4541328afabe5d633228b (diff)
downloadcryptography-cd413a36d3716bf56df7b6e071e57071730d1386.tar.gz
cryptography-cd413a36d3716bf56df7b6e071e57071730d1386.tar.bz2
cryptography-cd413a36d3716bf56df7b6e071e57071730d1386.zip
Cleaned up the docs for ECB
Diffstat (limited to 'docs/primitives')
-rw-r--r--docs/primitives/symmetric-encryption.rst14
1 files changed, 9 insertions, 5 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index d0429d4b..f028c755 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -72,11 +72,15 @@ Modes
Insecure Modes
--------------
-.. warning:: Do not use. This is an insecure mode.
+.. warning::
+
+ These modes are insecure. New applications should never make use of them,
+ and existing applications should strongly consider migrating away.
+
+
.. class:: cryptography.primitives.block.modes.ECB()
ECB (Electronic Code Book) is the simplest mode of operation for block
- ciphers. The data is separated into blocks and each block is encrypted
- separately. This means identical plaintext blocks will always result in
- identical encrypted blocks. Due to this property it is not recommended
- for use. Really, don't use it. Just. Don't.
+ ciphers. Each block of data is encrypted in the same way. This means
+ identical plaintext blocks will always result in identical ciphertext
+ blocks, and thus result in information leakage