Encrypts or decrypts a file using the specified mutations.
This function is the main entry point for file processing. It takes an input file, an output file, a generation sequence, the number of threads to use, and a flag indicating whether to decrypt or encrypt. It then applies the specified mutations iteratively to the input file and writes the result to the output file.
- Parameters
-
input_file | The path to the input file. |
output_file | The path to the output file. |
generations | The generation sequence string. |
threads | The number of threads to use for processing. |
decrypt | A flag indicating whether to decrypt (true ) or encrypt (false ). |