827dcb95 by 冯轩

MOD:去掉x0e

1 parent c2abe14c
......@@ -10,7 +10,7 @@ def aes_decrypt_cbc(data, key, iv):
try:
cipher = AES.new(key.encode(), AES.MODE_CBC, iv.encode())
res = cipher.decrypt(b64decode(data))
res = res.decode('utf-8')
res = res.decode('utf-8').replace('\x0e', '')
except Exception as e:
res = ''
return res
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!