Privacy Notice: I use a website analytics software. If you do not agree with its use, please leave this website.

This is the message for any blind and visually-impaired person visiting this site. This website is designed to be as screen-reader-friendly as possible to ensure that the website is equally accessible to everyone. Although the quality of the screen-reading varies from one screen reader software to another, this website is designed in a way that attempts to aid the screen-reader softwares to the greatest degree. I believe that everyone should be able to access this site, regardless of your disability.


Back to Home Page

File Encryptor

This JAVA code will encrypt your personal file of any file type using an algorithm that is rather difficult to solve. Seriously, even if you encrypt your file with this code, I would not be able to decrypt your file, so your file will be safe and sound. To use it you will need a JAVA IDE software that doesn't ask you to create a project. I recommend either CodeRunner, JGRASP, Eclipse, or DrJava (You can download any of them by clicking on the name of the program; note that CodeRunner is not free, the rest are free). To encrypt your file, download and open the Encryptor.java with any of the aforementioned JAVA IDE software, then answer a few questions. Then when prompted, copy the file you want to encrypt to the folder where Encryptor.java is located, then type the name of the file, including filetype into the JAVA window, after that you are all set. No matter, how you try to open it, the file will simply not open or will open up as a bunch of Gibberish. Good Luck to any hackers trying to decrypt that. Now that your file is safe and sound, you can take your file to any folder.

When it comes time to decrypt your file, download and run Decryptor.java using any of the aforementioned JAVA IDE software, then when prompted, drag the file you want to decrypt into the folder where Decryptor.java is located. Afterward, type the file name, including filetype into the JAVA window, answer the security questions you set yourself when encrypting the files and you are all set, the file in question is now openable again. A word of warning though, you will be given three chances to answer the security questions right, if you don't within the three attempts given, your encrypted files will be overwritten with zeros, and ask any programmer and they will tell you your file is forever gone! The File Encryptor and Decryptor can be downloaded below.