Skip to content

ArjunPatil15/PhotoEncrypter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“· PhotoEncrypter

PhotoEncrypter is a Java Swing-based desktop application that allows users to encrypt and decrypt image files using a simple XOR operation and a numeric key. It offers a basic graphical interface for selecting an image and applying the encryption in just a few clicks.


πŸ“ About

This tool demonstrates how XOR-based encryption works by scrambling the bytes of an image file using a user-provided key. The same key can be used again to reverse the encryption and restore the original image.

⚠️ Note: This is a basic method and not suitable for secure encryption. It's meant for educational purposes only.


✨ Features

  • Encrypt image files using a numeric key
  • Decrypt using the same key
  • Simple and minimal GUI built with Java Swing
  • One-click image selection and encryption/decryption

πŸš€ How to Run

  1. Clone the repository:
git clone https://github.com/ArjunPatil15/PhotoEncrypter.git
  1. Navigate to the project directory:
  2. Compile the Java file:
  3. Run the application:

πŸ§‘β€πŸ’» How to Use

  • Enter a numeric key (e.g., 123) in the text field.
  • Click on the "Open Image" button.
  • Select an image file from your computer.
  • The image will be encrypted or decrypted based on the key.
  • A confirmation message will be shown once the operation is done.

πŸ§ͺ Example

  1. Enter key: 123
  2. Encrypt an image using this key
  3. To decrypt, run the app again and enter the same key 123 on the same file

About

A simple Java Swing app to encrypt and decrypt images using XOR and a numeric key.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages