aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-11-28 13:23:34 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-11-28 13:23:34 -0600
commit5dcdd10b0ce56da1d7088d80b4e24c66e5407e35 (patch)
treefb8eb099222e2fd33ead0c090808a6277d94f2ec /src
parent7f7fab8f2bb48056149e2717f440b13c3ce5fcf8 (diff)
parent6c83cc6d867ee8060b4826ca160770fb6968d784 (diff)
downloadcryptography-5dcdd10b0ce56da1d7088d80b4e24c66e5407e35.tar.gz
cryptography-5dcdd10b0ce56da1d7088d80b4e24c66e5407e35.tar.bz2
cryptography-5dcdd10b0ce56da1d7088d80b4e24c66e5407e35.zip
Merge pull request #2495 from eakret/master
Add support for 160 bit ARC4 keys
Diffstat (limited to 'src')
-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)