aboutsummaryrefslogtreecommitdiffstats
path: root/docs/primitives
Commit message (Collapse)AuthorAgeFilesLines
* Move primtives into a hazmat packageDonald Stufft2013-10-283-287/+0
|
* Merge pull request #171 from dreid/use-currentmoduleAlex Gaynor2013-10-222-19/+29
|\ | | | | Make use of currentmodule to maybe reduce redundant module definitions a...
| * Make use of currentmodule to maybe reduce redundant module definitions and ↵David Reid2013-10-222-19/+29
| | | | | | | | also get source links.
* | md5 is 128-bit. The person responsible for this mistake has been shotPaul Kehrer2013-10-221-1/+1
|/
* Don't try to fit the type into the :return: declaration instead describe it ↵David Reid2013-10-221-2/+6
| | | | in the prose where it'll be properly linked.
* Merge pull request #112 from reaperhulk/block-cipher-decryptDavid Reid2013-10-221-9/+27
|\ | | | | Block Cipher Decryption
| * more docsPaul Kehrer2013-10-221-4/+3
| |
| * fix doc test failurePaul Kehrer2013-10-221-1/+1
| |
| * fix typo and show result of decryption in docsPaul Kehrer2013-10-221-2/+2
| |
| * Create CipherContext interface & document itPaul Kehrer2013-10-211-7/+22
| | | | | | | | | | | | | | * Rename BlockCipherEncryption/DecryptionContexts to just CipherEncryption/DecryptionContext * Moved register to interfaces.py from modes.py since it is generic and can be used to decorate the _CipherEncryption/DecryptionContexts
| * rename variables in encrypt/decrypt examplePaul Kehrer2013-10-211-4/+4
| |
| * address review commentsPaul Kehrer2013-10-211-3/+6
| | | | | | | | | | | | * inline some methods * refactor enc/dec classes * modify docs
| * update docs to reflect new encryptor APIPaul Kehrer2013-10-211-1/+2
| |
* | grammarAlex Gaynor2013-10-221-1/+1
| |
* | Merge branch 'master' into triple-desAlex Gaynor2013-10-221-1/+3
|\ \
| * | Document this parameter to the constructorAlex Gaynor2013-10-211-1/+3
| |/
* | Merge branch 'master' into triple-desAlex Gaynor2013-10-213-0/+108
|\|
| * Small fixups for the docsAlex Gaynor2013-10-201-2/+2
| |
| * fix doc formatting and rename update param to "data"Paul Kehrer2013-10-191-6/+5
| |
| * Simplify documentationMatthew Iversen2013-10-191-99/+24
| |
| * MD5 support + documentation for all hashesPaul Kehrer2013-10-192-0/+165
| |
| * additional doc work on ctrPaul Kehrer2013-10-171-8/+7
| |
| * ctr doc language take 3Paul Kehrer2013-10-171-8/+14
| |
| * remove confusing explanation about reusing nonce in counter mode docsPaul Kehrer2013-10-171-3/+1
| |
| * update docs to roughly describe many time pad attack & link cbcPaul Kehrer2013-10-171-2/+5
| |
| * AES Counter supportPaul Kehrer2013-10-171-0/+13
| | | | | | | | | | * vectors from RFC 3686 * Documentation for the mode
* | Fixed huge inaccuracies in the docsAlex Gaynor2013-10-161-6/+4
| |
* | Merge branch 'master' into triple-desAlex Gaynor2013-10-161-0/+52
|\| | | | | | | | | | | | | | | | | Also moved most of the tests to the new format except for one which doesn't yet have an obvious translation Conflicts: cryptography/primitives/block/ciphers.py tests/primitives/test_nist.py
| * Camellia block cipher supportPaul Kehrer2013-10-061-0/+9
| | | | | | | | | | | | | | | | * Tests for CBC, OFB, CFB, and ECB * Tests will be automatically skipped if camellia support is not present in your OpenSSL library (e.g. OS X 10.8 with default OpenSSL) * Test for unsupported cipher in create_block_cipher_context * Docs for the cipher
| * OFB uses an initialization vector instead a nonce.David Reid2013-09-111-6/+8
| |
| * add CFB to documentationPaul Kehrer2013-09-111-0/+13
| |
| * Merge pull request #57 from reaperhulk/ofb-supportDonald Stufft2013-09-101-0/+11
| |\ | | | | | | Output feedback mode support + test vectors (aes)
| | * change OFB iv to nonce to reflect dstufft nomenclature pitchPaul Kehrer2013-09-101-8/+6
| | | | | | | | | | | | | | | | | | * Namely, we should try to call things IV if reuse leaks a small amount of data and nonce if reuse can result in a complete break. This can be somewhat ambiguous, but we'll track in #58
| | * add output feedback mode support + test vectors (aes)Paul Kehrer2013-09-101-0/+13
| | |
| * | Cleaned up the docs for ECBAlex Gaynor2013-09-101-5/+9
| |/
| * remove unneeded init in ECB class, add warning to docs for ECB modePaul Kehrer2013-09-101-0/+1
| |
| * Add ECB class + docs + testsPaul Kehrer2013-09-101-0/+12
| | | | | | | | | | * Slightly refactors test_nist to allow fetching of data that has no IV * Does not modify create_block_cipher_context (next commit)
* | These are capitalizedAlex Gaynor2013-09-091-1/+1
| |
* | Iinital work on 3DES. No tests and no implementation yet.Alex Gaynor2013-09-091-0/+19
|/
* Test the symmetric encryption doc snippets using doctestDonald Stufft2013-08-121-3/+9
|
* Make the example error freeDonald Stufft2013-08-111-1/+1
| | | | | Without padding b"my secret message" is not divisible by AES's block size and thus would throw an error.
* Fixed exampleAlex Gaynor2013-08-101-1/+1
|
* Fully excised padding from the docsAlex Gaynor2013-08-101-4/+4
|
* Removing padding from the encryption APIDonald Stufft2013-08-101-6/+0
| | | | | | | | | | | | | * 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.
* Typo fixAlex Gaynor2013-08-081-2/+2
|
* A padding exampleAlex Gaynor2013-08-081-2/+4
|
* This is where padding goesAlex Gaynor2013-08-081-1/+5
|
* Descriptive textAlex Gaynor2013-08-081-0/+3
|
* Describe the methods more explicitlyAlex Gaynor2013-08-081-8/+11
|
* Document this as a classAlex Gaynor2013-08-081-18/+17
|