Skip to content

🔐ㅤA C++ program for Image Steganography

License

Notifications You must be signed in to change notification settings

hitanshu-dhawan/ImageSteganography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Steganography

A command-line interface based program for Image Steganography.
It uses Least Significant Bit(LSB) algorithm for Image Steganography.

Installation

  1. Install Open-CV : Make sure that latest version of Open-CV is installed on your machine. Refer this repository for installation.

  2. Compile the program :

$ cd ImageSteganography
$ chmod +x make_encode
$ chmod +x make_decode
$ ./make_encode
$ ./make_decode

Running the Program

  1. Place your normal .png image in the Images directory.
  2. Place your .txt file with the secret message in TextFiles directory.
  3. How to Encode the message
$ ./encode Images/input_image.png TextFiles/text_file.txt Images/output_image.png

A new image will be created in your Images directory with the secret message hidden in it.

  1. How to Decode the message
$ ./decode Images/output_image.png

The hidden message will be displayed on your console.

See in Action

YouTube Video