fixed bug on decrypt
This commit is contained in:
@@ -72,7 +72,7 @@ class AESCipherFile:
|
||||
last_16_bytes_in_piece = None
|
||||
for piece in read_in_chunks(self.f,self.size_limit_reading_os):
|
||||
if last_16_bytes_in_piece != None:
|
||||
self.d.write(aes_decrypt_state.decrypt(last_16_bytes_in_piece))
|
||||
self.d.write(last_16_bytes_in_piece)
|
||||
steps = int(len(piece) / 16)
|
||||
if steps > 1 :
|
||||
for i in range(steps - 1):
|
||||
|
||||
Reference in New Issue
Block a user