A JavaFX desktop application for securely encrypting and decrypting files using AES encryption with password-based access control.
- AES Encryption – Industry-standard symmetric encryption for strong file security
- Password Protection – Files can only be decrypted with the correct password
- JavaFX GUI – Clean, interactive desktop interface
- Any File Type – Encrypt/decrypt any file format
Encrypting a file:
- Launch the application
- Select the file you want to encrypt
- Enter a password
- The encrypted file is saved securely
Decrypting a file:
- Launch the application
- Select the encrypted file
- Enter the correct password
- The original file is restored
- Java – Core logic
- JavaFX – Desktop UI
- AES – Encryption algorithm (
javax.crypto)
src/
└── (JavaFX controllers, encryption logic, FXML views)
Prerequisites: Java 11+ with JavaFX SDK
# Clone the repo
git clone https://github.com/BasithMrasak/File-Encryption-and-Decryption-Tool.git
# Open in your IDE (IntelliJ / Eclipse / VS Code with Java extensions)
# Configure JavaFX SDK in VM options:
# --module-path /path/to/javafx-sdk/lib --add-modules javafx.controls,javafx.fxml
# Build and run the main class