2024-02-21 12:54:33 +00:00
|
|
|
#include "../includes/woody.h"
|
|
|
|
|
|
|
|
void encrypt(char *file, unsigned long int offset, unsigned long int size)
|
|
|
|
{
|
|
|
|
size_t i = 0;
|
|
|
|
while (i < size)
|
|
|
|
{
|
2024-04-17 10:14:08 +00:00
|
|
|
file[offset + i] = file[offset + i] - 1;
|
2024-02-21 12:54:33 +00:00
|
|
|
++i;
|
|
|
|
}
|
|
|
|
}
|