Welcome to the Cipher Text and Image Cryptography repository! This project focuses on the encryption and decryption of text and images using well-known algorithms: RSA for text and AES for images. Built in Java, this application aims to provide a secure way to handle sensitive data.
- Text Encryption and Decryption: Secure your text data using the RSA algorithm.
- Image Encryption and Decryption: Protect your images with AES encryption.
- User-Friendly Interface: Built with Java Swing for a smooth user experience.
- Cross-Platform Compatibility: Works on any system that supports Java.
- Simple Setup: Easy to download and run.
- Java 8: The primary programming language for this application.
- JavaFX: For building rich desktop applications.
- Swing Components: To create the graphical user interface.
- RSA Algorithm: Used for text cryptography.
- AES Algorithm: Used for image cryptography.
To get started with this project, follow these steps:
-
Clone the Repository:
git clone https://github.com/ghadahafez/Cipher-Text-and-Image-Cryptography-.git
-
Navigate to the Project Directory:
cd Cipher-Text-and-Image-Cryptography-
-
Download the Latest Release: Visit the Releases section to download the latest version of the application. Make sure to execute the downloaded file.
Once you have downloaded and set up the application, follow these steps to use it:
- Open the Application: Launch the application by running the main Java file.
- Select Encryption or Decryption: Choose whether you want to encrypt or decrypt text or images.
- Input Data: For text, type your message. For images, select the file you wish to encrypt or decrypt.
- Execute: Click the "Encrypt" or "Decrypt" button to process your data.
- Save Output: The application will prompt you to save the encrypted or decrypted file.
RSA (Rivest-Shamir-Adleman) is a public-key cryptographic system that enables secure data transmission. In this project, RSA is used for encrypting and decrypting text messages.
- Key Generation: The user generates a pair of keys: a public key for encryption and a private key for decryption.
- Encryption: The plaintext message is transformed into ciphertext using the public key.
- Decryption: The ciphertext is converted back to plaintext using the private key.
AES (Advanced Encryption Standard) is a symmetric encryption algorithm widely used for securing data.
- Key Generation: A secret key is generated for both encryption and decryption.
- Encryption: The image file is processed to create an encrypted version.
- Decryption: The encrypted image can be reverted to its original form using the same key.
We welcome contributions to improve this project. If you have suggestions or find bugs, please follow these steps:
- Fork the Repository: Create your own copy of the project.
- Create a New Branch: Use a descriptive name for your branch.
git checkout -b feature/YourFeatureName
- Make Changes: Implement your changes and commit them.
git commit -m "Add your message here"
- Push to Your Branch: Send your changes to your forked repository.
git push origin feature/YourFeatureName
- Create a Pull Request: Submit a pull request for review.
This project is licensed under the MIT License. Feel free to use and modify it as you wish, but please keep the original license intact.
For questions or feedback, please reach out:
- GitHub: ghadahafez
- Email: [email protected]
Thank you for checking out the Cipher Text and Image Cryptography project! We hope you find it useful for your encryption needs.
Feel free to explore, contribute, and secure your data!