evo-crypter
 
Loading...
Searching...
No Matches
mod.h File Reference

Defines the main file processing function for evo-crypter. More...

#include <stdbool.h>

Go to the source code of this file.

Functions

void evolve_file (const char *input_file, const char *output_file, const char *generations, int threads, bool decrypt)
 Encrypts or decrypts a file using the specified mutations.
 

Detailed Description

Defines the main file processing function for evo-crypter.

Function Documentation

◆ evolve_file()

void evolve_file ( const char *  input_file,
const char *  output_file,
const char *  generations,
int  threads,
bool  decrypt 
)

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_fileThe path to the input file.
output_fileThe path to the output file.
generationsThe generation sequence string.
threadsThe number of threads to use for processing.
decryptA flag indicating whether to decrypt (true) or encrypt (false).