From 4affb56d36467260de6f87d8e25127601f4562f8 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 1 Nov 2014 13:24:40 +0800 Subject: [PATCH] fix test --- shadowsocks/crypto/rc4_md5.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks/crypto/rc4_md5.py b/shadowsocks/crypto/rc4_md5.py index b9cd72b..ee421b6 100644 --- a/shadowsocks/crypto/rc4_md5.py +++ b/shadowsocks/crypto/rc4_md5.py @@ -60,8 +60,8 @@ ciphers = { def test(): from shadowsocks.crypto import util - cipher = create_cipher(b'salsa20-ctr', b'k' * 32, b'i' * 8, 1) - decipher = create_cipher(b'salsa20-ctr', b'k' * 32, b'i' * 8, 1) + cipher = create_cipher(b'rc4-md5', b'k' * 32, b'i' * 16, 1) + decipher = create_cipher(b'rc4-md5', b'k' * 32, b'i' * 16, 1) util.run_cipher(cipher, decipher)