From a3323b36abf16fa432f046bc17add463b4575686 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sun, 7 Jul 2013 21:26:11 +0800 Subject: [PATCH] fix rc2 key length --- shadowsocks/encrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/encrypt.py b/shadowsocks/encrypt.py index 0ce2342..09a6db6 100644 --- a/shadowsocks/encrypt.py +++ b/shadowsocks/encrypt.py @@ -98,7 +98,7 @@ method_supported = { 'cast5-cfb': (16, 8), 'des-cfb': (8, 8), 'idea-cfb': (16, 8), - 'rc2-cfb': (8, 8), + 'rc2-cfb': (16, 8), 'rc4': (16, 0), 'seed-cfb': (16, 16), }