#include "../includes/woody.h" void encrypt(char *file, unsigned long int offset, unsigned long int size) { size_t i = 0; while (i < size) { file[offset + i] = file[offset + i];// - 1; ++i; } printf("\nENCRYPTION : \n"); printf(" File encrypted from %ld (%lx) to %ld (%lx)\n", offset, offset, offset + size, offset + size); printf(" Size of encryption = %ld (%lx)\n", size, size); printf("\n"); }