Question: You will understand more about file manipulation while working on this project. You read in two files: one image Land Turtle.bmp and one text Java.txt

You will understand more about file manipulation while working on this project. You read in two files: one image Land Turtle.bmp and one text Java.txt on the class D2L page.
Steganography is the technique of hiding secret data within an ordinary, non-secret, file or message in order to avoid detection; the secret data is then extracted at its destination. The word steganography is derived from the Greek words Steganos and the graph.
Write and implement the program(s) that copies a text file use Least Significant Bits to hide the user data into a BMP image.
* Skip first 54 bytes
o Read 3/4 bytes as a set
(Red, Green, Blue, Padding)
This is a binary/image file no eoln;
One program to hide the "Java.txt" using Land Turtle.bmp, and save it as Land Turtle- Stega.bmp.
Another program that can extract your Java.txt file from stega.bmp and rename it as Stegano.txt;
* Compare stega.txt and stega-clone.txt;
diff-s Stegano.txt Java.txt
Least Significant Bits to hide the user data into a BMP image.
Red
10000000
10110101
11110011
Green
10100100
11110011
10110111
Blue
10110101
10110111
00110011
- Insert 'C' using the 3 RGBs (3^*24 bits)(=43_h =01000011
Red
10000000(underlined only last 0)
10110100(underlined only last 0)
11100111(underlined only last 1)
Green
10100101(underlined only last 1)
11110010(underlined only last 0)
10110011underlined only last 1)
Blue
10110100(underlined only last 0)
10110110(underlined only last 0)
00110011( no underlined)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!