This commit is contained in:
clowwindy 2014-11-01 13:24:40 +08:00
parent 13c6c393db
commit 4affb56d36

View file

@ -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)