diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-21 19:43:42 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-21 19:43:42 -0700 |
commit | f988a9ebc594bf1e5c996164befe69f1225dd564 (patch) | |
tree | 2c98cc6e053142b984a45fb56f8d01df4d62a9d6 | |
parent | 7a3338b9c27397ac9dff5331c3390c83d3139938 (diff) | |
download | cryptography-f988a9ebc594bf1e5c996164befe69f1225dd564.tar.gz cryptography-f988a9ebc594bf1e5c996164befe69f1225dd564.tar.bz2 cryptography-f988a9ebc594bf1e5c996164befe69f1225dd564.zip |
This is a frozenset these days
-rw-r--r-- | cryptography/primitives/block/ciphers.py | 4 |
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__() |