feat: v0.7.0, add direct decrypt
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user