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.
cat secret.txt
./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
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
cat decoded_text.txt
~Thanks