feat: v0.7.0, add direct decrypt

This commit is contained in:
2023-10-29 00:38:00 +08:00
parent fa5d01a7d5
commit 9e46d11e89
6 changed files with 131 additions and 4 deletions

View File

@@ -230,8 +230,8 @@ fn decrypt_file(file_in: &mut File, file_len: u64, file_out: &mut impl Write,
last_block
};
opt_result!(file_out.write_all(&last_block), "Write file failed: {}");
debugging!("Decrypt finished, total: {} byte(s)", total_len);
progress.finish();
debugging!("Decrypt finished, total: {} byte(s)", total_len);
break;
} else {
total_len += len as u64;