This commit is contained in:
clowwindy
2014-10-31 21:49:22 +08:00
parent 5024b300f1
commit a502dd32fc
2 changed files with 2 additions and 2 deletions

View File

@ -204,4 +204,4 @@ def encrypt_all(password, method, op, data):
data = data[iv_len:]
cipher = m(method, key, iv, op)
result.append(cipher.update(data))
return ''.join(result)
return b''.join(result)