aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 18:53:12 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 18:53:12 -0700
commit3bdc6b61f64b8049284834681a2b1a43d057999f (patch)
treec9b681d832f1537c70da93542b204fa4f5ac9a34 /cryptography
parent7c1610af3e782380e74544637596d5bd2677321c (diff)
downloadcryptography-3bdc6b61f64b8049284834681a2b1a43d057999f.tar.gz
cryptography-3bdc6b61f64b8049284834681a2b1a43d057999f.tar.bz2
cryptography-3bdc6b61f64b8049284834681a2b1a43d057999f.zip
Removed name fro BlockCipher -- it's arbitrarily based on the format openssl uses for *some* ciphers
Diffstat (limited to 'cryptography')
-rw-r--r--cryptography/primitives/block/base.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/cryptography/primitives/block/base.py b/cryptography/primitives/block/base.py
index b84ca9c4..50e9e9e5 100644
--- a/cryptography/primitives/block/base.py
+++ b/cryptography/primitives/block/base.py
@@ -36,12 +36,6 @@ class BlockCipher(object):
self._ctx = api.create_block_cipher_context(cipher, mode)
self._operation = None
- @property
- def name(self):
- return "{0}-{1}-{2}".format(
- self.cipher.name, self.cipher.key_size, self.mode.name,
- )
-
def encrypt(self, plaintext):
if self._ctx is None:
raise ValueError("BlockCipher was already finalized")