Repository navigation
Symmetric Cipher Documentation Improvements - #394
reaperhulk wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
Gonna be a lot of those :D. Let me push up a fix to all that.
|
Test PASSed. |
|
Test PASSed. |
There was a problem hiding this comment.
Examples using ECB mode violate our recommendation that all examples should use strong algorithm choices. Dangers of using ECB mode at a minimum need to be caleld out.
There was a problem hiding this comment.
This example is why I opened the issue for vectors around CAST non-ECB. :)
On Fri, Jan 3, 2014 at 5:45 PM, Alex Gaynor [email protected]
wrote:
@@ -198,6 +178,22 @@ Algorithms
:param bytes key: The secret key, 40-128 bits in length (in increments of
8). This must be kept secret.
- Example encryption and decryption using
- :class:
~cryptography.hazmat.primitives.ciphers.modes.ECBmode:
Examples using ECB mode violate our recommendation that all examples should use strong algorithm choices. Dangers of using ECB mode at a minimum need to be caleld out.
Reply to this email directly or view it on GitHub:
https://github.com/pyca/cryptography/pull/394/files#r8648870
|
Test PASSed. |
|
closing to split into 2 PRs |
Enable tests to pass when MD5 verification disabled in OpenSSL.
Reorganize the symmetric documentation to move the CipherContext section to the bottom, explicitly generate IV, and add a pile of (very similar) examples to demonstrate each mode and algorithm.
Refs #374