modify https://www.freelancer.com/projects/C-Programming-NET/Encryption-Decryption-Software.html
1- open the file i want to encrypt in binary then for each 0's or 1's change the string bigger than 2 bits (00, or 11) as follow:
- 0's i.e. 000 change to A4, change 000000 into A6
- 1's i.e. 111 change to B4, change 111111 into B6
- change 00 into C
- change 11 into D
- leave 0 or 1 as it
- stream the changes directly into a temp file (don't read all change to binary and into above in memory since system will halt in big files)
- save the temp file in the same directory.
2- open the temp file for reading and change the stings as to the xml we built earlier then save it in a name the user desire.
3- delete the temp file.
in decryption reverse the whole thing.
please guarantee speed and efficient working for any file size.
some minor changes could pop ups during testing phase
payment 3 days after full delivery.
Thanks