diff --git a/src/utils/output.rs b/src/utils/output.rs index 098a8d5..91ecf68 100644 --- a/src/utils/output.rs +++ b/src/utils/output.rs @@ -78,7 +78,7 @@ impl Output { }, ); - let mut file = File::create_new(&self.path).unwrap(); + let mut file = File::create(&self.path).unwrap(); file.write_all(hex::encode(encrypted_data).as_bytes()).unwrap(); file.flush().unwrap();