FileEncryption is a Java application that provides a simple GUI interface for encrypting and decrypting files using XOR-based encryption. This application allows you to select a file, specify an encryption/decryption key, and perform the encryption or decryption operation.
- User-friendly GUI interface for easy file selection and key input.
- XOR-based encryption/decryption algorithm.
- Supports encryption and decryption of various file types.
- Instant feedback on the encryption/decryption process.
- Cross-platform compatibility.
To use the FileEncryption application, you need to have Java Development Kit (JDK) installed on your system.
- Clone or download the project from the GitHub repository.
- Open the project in your favorite Java IDE.
- Run the
FileEncryption
class, which contains the main method. - A window titled "File Encryption" will appear.
- Enter the encryption/decryption key in the provided text field.
- Click the "Select File" button to choose the file you want to encrypt or decrypt.
- The selected file will be encrypted or decrypted using the specified key.
- Once the process is complete, a message dialog will display "Done!".
Note: Encryption and decryption use the same key. Make sure to remember the key used for encryption to decrypt the file successfully.
Here's an example scenario to demonstrate how to use the FileEncryption application:
- Launch the FileEncryption application.
- Enter the key "123" in the text field.
- Click the "Select File" button and choose a file named "example.txt".
- The file "example.txt" will be encrypted using the key "123".
- To decrypt the file, run the application again, enter the key "123", and select the encrypted file.
- The application will decrypt the file, and the original content will be restored.
You can find a live video demonstration of the FileEncryption application here.
This project is licensed under the MIT License. See the LICENSE file for more information.
Thank you for using FileEncryption! We hope this application provides you with a convenient way to encrypt and decrypt your files.