Browse Source

try to find the problem

auth
clowwindy 10 years ago
parent
commit
cbbc880f44
  1. 2
      shadowsocks/encrypt.py

2
shadowsocks/encrypt.py

@ -181,8 +181,8 @@ def test_encryptor():
for method in CIPHERS_TO_TEST:
logging.warn(method)
encryptor = Encryptor(b'key', method)
cipher = encryptor.encrypt(plain)
decryptor = Encryptor(b'key', method)
cipher = encryptor.encrypt(plain)
plain2 = decryptor.decrypt(cipher)
assert plain == plain2

Loading…
Cancel
Save