Browse Source

fix test

auth
clowwindy 10 years ago
parent
commit
4affb56d36
  1. 4
      shadowsocks/crypto/rc4_md5.py

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

Loading…
Cancel
Save