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

Defines utility functions for file operations in evo-crypter. More...

#include <setjmp.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

void reverse_generations (char *generations)
 Reverses the order of characters in a string.
 
bool file_exists (const char *filename)
 Checks if a file exists.
 

Detailed Description

Defines utility functions for file operations in evo-crypter.

Function Documentation

◆ file_exists()

bool file_exists ( const char *  filename)

Checks if a file exists.

Parameters
filenameThe path to the file to check.
Returns
true if the file exists, false otherwise.

◆ reverse_generations()

void reverse_generations ( char *  generations)

Reverses the order of characters in a string.

This function is used to reverse the generation sequence during decryption.

Parameters
generationsThe string to reverse (modified in place).