I am writing an encryption program. I am using fopen , fgetc and fput c to
open, read a block of data and write a block of encrypted.
Thus all the blocks are overwritten with the encrypted.
I use win 2000 / Xp and file sys FAT and NTFS.
My program will add a 512 byte header to the beginning.. so the end file
will be (original size + 512) rounded to the nearest 128 bit multiple
My question are :
*Is it guaranteed that the functions mentioned above will over write the
same sectors in the hard disk, and not wrie to a new block and change the
allocaton table?
*Also are there any other functions i can use to perform direct changes to
blocks of a file diretly onto the hard disk.?
*Are there any tools on the net that will tell me the exact ?