refactor table into a single cipher plugin

This commit is contained in:
clowwindy 2014-11-05 18:27:18 +08:00
parent 2519fb9abe
commit cbf8c6705b
7 changed files with 239 additions and 106 deletions

View file

@ -54,7 +54,7 @@ def main():
else:
config['port_password'][str(server_port)] = config['password']
encrypt.init_table(config['password'], config['method'])
encrypt.test_cipher(config['password'], config['method'])
tcp_servers = []
udp_servers = []
dns_resolver = asyncdns.DNSResolver()