From aca86f86851b725c7a037839bda23e95f2f6bf28 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Wed, 5 Nov 2014 16:54:51 +0800 Subject: [PATCH] encrypt.py: port table to support python 3 --- shadowsocks/encrypt.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/shadowsocks/encrypt.py b/shadowsocks/encrypt.py index 336f455..c60318d 100644 --- a/shadowsocks/encrypt.py +++ b/shadowsocks/encrypt.py @@ -65,9 +65,10 @@ def get_table(key): m.update(key) s = m.digest() (a, b) = struct.unpack('