Hello!
Please give an example of simple file encryption on delphi. It is necessary to encrypt some files. I decided to write a console program for this purpose, but I have never come across encryption.
So, at the entrance of the program must have a path to the file and key. Maybe something else missed? The output is a completely modified source file, without the possibility of reading, so that inside there was any abra-cadabra.
What type of files will need to be encrypted, obviously unknown, maybe jpg, and maybe exe or even py.
Conclusion: please, give some detailed source code with comments. Thank.
XOR
in your hands, the easiest way to encrypt - Alex Kapustin