@@ -11,7 +11,9 @@ File Encryptor is a command-line tool written in Go that provides secure file en
11
11
- Automatically preserve and restore the original file extensions
12
12
- Detailed logging for transparency and debugging
13
13
- Support for ** all file types** : text, images (JPG, PNG), videos, spreadsheets, and more
14
- - Parallel processing for faster encryption and decryption of large files
14
+ - ** Concurrent processing** with worker pool for faster encryption and decryption of multiple files
15
+ - ** Graceful cancellation** with timeout support and signal handling (Ctrl+C)
16
+ - Robust command-line interface with improved multi-file handling
15
17
16
18
** File Support Note** :
17
19
- The tool supports all file types, including:
@@ -122,6 +124,15 @@ Example:
122
124
./file-encryptor -d -f document.pdf.enc -p myStrongPassword123
123
125
` ` `
124
126
127
+ # ## Additional Options
128
+
129
+ # ### Setting a timeout:
130
+ You can set a maximum time for the operation to complete with the timeout flag:
131
+ ` ` ` bash
132
+ ./file-encryptor -e -f large_file.mp4 -p myPassword --timeout 10m
133
+ ` ` `
134
+ Supported time units: s (seconds), m (minutes), h (hours)
135
+
125
136
---
126
137
127
138
# # Security Notes
@@ -135,6 +146,12 @@ Example:
135
146
- HMAC for integrity verification.
136
147
- File extensions are preserved automatically during encryption and restored after decryption.
137
148
149
+ # # Performance Features
150
+
151
+ - ** Concurrent Processing** : The tool uses a worker pool to process multiple files in parallel
152
+ - ** Cancellation Support** : All operations can be safely cancelled with Ctrl+C
153
+ - ** Resource Management** : The program automatically limits concurrency based on the number of files
154
+
138
155
# # Contributing
139
156
140
157
Contributions are welcome! Please feel free to submit a Pull Request.
0 commit comments