aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/primitives/block/ciphers.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cryptography/primitives/block/ciphers.py b/cryptography/primitives/block/ciphers.py
index 5d32772a..4143b89d 100644
--- a/cryptography/primitives/block/ciphers.py
+++ b/cryptography/primitives/block/ciphers.py
@@ -57,9 +57,7 @@ class Camellia(object):
class TripleDES(object):
name = "3DES"
block_size = 64
- # TODO: is there a better way to represent the fact that the effective key
- # size is 56 bits?
- key_sizes = set([64, 128, 192])
+ key_sizes = frozenset([64, 128, 192])
def __init__(self, key):
super(TripleDES, self).__init__()