diff options
author | Donald Stufft <donald@stufft.io> | 2013-08-10 13:12:53 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2013-08-10 13:12:53 -0400 |
commit | a02d4ed5ed81c54a3c57e3ab62ab92ebbbc856a5 (patch) | |
tree | 53f7bdfb739f9c604c5714686da2d82996cbd593 /docs | |
parent | 80bb237b06ce5cf5180e4a44874685e3571e813c (diff) | |
download | cryptography-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')
-rw-r--r-- | docs/primitives/symmetric-encryption.rst | 6 |
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() |