aboutsummaryrefslogtreecommitdiffstats
path: root/docs/primitives
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-08-10 13:12:53 -0400
committerDonald Stufft <donald@stufft.io>2013-08-10 13:12:53 -0400
commita02d4ed5ed81c54a3c57e3ab62ab92ebbbc856a5 (patch)
tree53f7bdfb739f9c604c5714686da2d82996cbd593 /docs/primitives
parent80bb237b06ce5cf5180e4a44874685e3571e813c (diff)
downloadcryptography-a02d4ed5ed81c54a3c57e3ab62ab92ebbbc856a5.tar.gz
cryptography-a02d4ed5ed81c54a3c57e3ab62ab92ebbbc856a5.tar.bz2
cryptography-a02d4ed5ed81c54a3c57e3ab62ab92ebbbc856a5.zip
Removing padding from the encryption API
* Padding is fundamentally an operation that occurs prior to encryption to make plaintext suitable. * Even though wether it's regarded is dependent on the mode, it can be used safely regardless. * Moving it out of this API makes the API's simpler and more composable. * Moving it out of this API makes it simpler for backends that don't work exactly like OpenSSL's EVP. * Move it out of this API makes it simpler to include padding that OpenSSL's EVP API doesn't expose.
Diffstat (limited to 'docs/primitives')
-rw-r--r--docs/primitives/symmetric-encryption.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/primitives/symmetric-encryption.rst b/docs/primitives/symmetric-encryption.rst
index fe074f3e..821e8e0f 100644
--- a/docs/primitives/symmetric-encryption.rst
+++ b/docs/primitives/symmetric-encryption.rst
@@ -61,9 +61,3 @@ Modes
``block_size`` of the cipher. Do not
reuse an ``initialization_vector`` with
a given ``key``.
- :param padding: One of the paddings described below.
-
-Paddings
-~~~~~~~~
-
-.. class:: cryptography.primitives.block.padding.PKCS7()