Skip to content

Hiding text in images by using Least Significant bit substitution method

Notifications You must be signed in to change notification settings

asmeryakob/Steganography-by-LSB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

----------------------------------------------------------
Usage for Least Significant Bit Substitution Stenography
----------------------------------------------------------

Complie program using the syntax given below

$ cc -o lsb lsb.c

For a usage summary run the program complied above as 

$ ./lsb

You will be presented with a message as shown below

*** Steganography by LSB substitution***
Usage: ./lsb [-e][-d] [source file] [destination file] [text file]
Mode
-e : Add text to Image
-d : Extract text from Image

To create a stegano image from a plain image and a text file with the message. Run the program as below

$ ./lsb -e sample.bmp stegano_sample.bmp message.txt

To reterive the text that was put into an image with the above program. Run the program as shown below

$ ./lsb -d stegano_sample.bmp intermediate.bmp original_message.txt

About

Hiding text in images by using Least Significant bit substitution method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published