Amatofrancesco99 / Steganography

A java application in order to apply steganography to images, using threads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steganography

An application in order to apply steganography to images, using threads.

License: MITJavaSwing

Meaning

Steganography is the practice of concealing a message within another message or a physical object. In computing/electronic contexts, a computer file, message, image, or video is concealed within another file, message, image, or video. The word steganography comes from Greek steganographia, which combines the words steganós (στεγανός), meaning "covered or concealed", and graphia (γραφή) meaning "writing".

With least significant bit steganography, the approach revolves around changing the least significant bit of each pixel's RGB values to match a corresponding bit in the message we want to encode. This way, the change is so small that the encoded image won't be noticably naked-eye different from the original.

Usage

The application has a graphical user interface, which is developed with Java Swing. If you choose:

  • ENCODE you can apply steganography to an image (hide the message). You have to:
    • choose the image on which steganography will be applied;
    • insert the name of the steganographed image;
    • add the hidden message.
    • all steganographed images will be saved by default in steganographedImages folder
  • DECODE you can read the message from a steganographed image.

How to run this project

  1. Download the .jar file

  2. You can also fork and then clone this project in your own device

  3. Open the terminal/command prompt

  4. Create a directory called "steganographedImages", in the same folder where the downloaded .jar file is located

  5. Run the .jar file:

    5.1. If your own device is based on MACOs or Linux run this command, moving in the same .jar directory

      java -jar [.jar file path]
    

    5.2. Instead, if you have a Windows device run the .jar as an administrator

About

A java application in order to apply steganography to images, using threads.

License:MIT License


Languages

Language:Java 100.0%