pyca/cryptography — pull request #112 by reaperhulk (2013-10-17 21:27:04+00:00)
Title: Block Cipher Decryption

This PR modifies the BlockCipher object to have two methods ```encryptor()``` and ```decryptor()```. These methods return a BlockCipherEncryptionContext or BlockCipherDecryptionContext object that has either the ```encrypt``` or ```decrypt``` method available.

This structure will be useful for GCM, where we will need to subclass these contexts to add the ```tag``` attribute and ```add_data``` method.