Skip to content

Steganography is a method of hiding secret data by embedding it into an audio, video, image. In this project BMP image is used to encode secret data in the the text file.

Notifications You must be signed in to change notification settings

srsaidas/image-steganography

Repository files navigation

Image Steganography

Steganography is a method of hiding secret data by embedding it into an audio, video, image. In this project BMP image is used to encode secret data in the the text file.

Orginal image used for encoding secret data

alt text

View Secret Data

cat secret.txt

alt text

Encoding

./a.out -e <image_file> <secret_text_file> <desination_image_name>

-e is used for encoding

-d is used for decoding

for encoding we need to pass BMP image and secret text file and destination image file which is optional

./a.out -e beautiful.bmp secret.txt new.bmp

or

./a.out -e beautiful.bmp secret.txt 

if destination image name is not specified stego_image.bmp is created

alt text

Decoding

alt text Encoded Image, our eye cannot see the difference For decoding

./a.out -d <encoded_image> <decoded_text>

decoded text is optional if not specified decoded.txt will created

./a.out -d stego_image.bmp decoded_text.txt

or

./a.out -d stego_image.bmp 

alt text

View Extracted secret data

cat decoded_text.txt

alt text

~Thanks

Saidas S R!

About

Steganography is a method of hiding secret data by embedding it into an audio, video, image. In this project BMP image is used to encode secret data in the the text file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published