aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/primitives/ciphers
diff options
context:
space:
mode:
authorEhren Kret <ehren.kret@gmail.com>2015-11-28 02:16:15 -0800
committerEhren Kret <ehren.kret@gmail.com>2015-11-28 02:22:19 -0800
commitd01c20fb29dc3a6ba53accd3bd561c05715f62c9 (patch)
tree133958e1e32ba0c5ddd252f408f3a8daaf302ad3 /src/cryptography/hazmat/primitives/ciphers
parent7f7fab8f2bb48056149e2717f440b13c3ce5fcf8 (diff)
downloadcryptography-d01c20fb29dc3a6ba53accd3bd561c05715f62c9.tar.gz
cryptography-d01c20fb29dc3a6ba53accd3bd561c05715f62c9.tar.bz2
cryptography-d01c20fb29dc3a6ba53accd3bd561c05715f62c9.zip
Add support for 160 bit ARC4 keys
Diffstat (limited to 'src/cryptography/hazmat/primitives/ciphers')
-rw-r--r--src/cryptography/hazmat/primitives/ciphers/algorithms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/primitives/ciphers/algorithms.py b/src/cryptography/hazmat/primitives/ciphers/algorithms.py
index b71dddbb..c193f797 100644
--- a/src/cryptography/hazmat/primitives/ciphers/algorithms.py
+++ b/src/cryptography/hazmat/primitives/ciphers/algorithms.py
@@ -101,7 +101,7 @@ class CAST5(object):
@utils.register_interface(CipherAlgorithm)
class ARC4(object):
name = "RC4"
- key_sizes = frozenset([40, 56, 64, 80, 128, 192, 256])
+ key_sizes = frozenset([40, 56, 64, 80, 128, 160, 192, 256])
def __init__(self, key):
self.key = _verify_key_size(self, key)