Question: Write and implement the program ( s ) that copy a text file using least significant bits to hide the user data into a BMP

Write and implement the program(s) that copy a text file using least significant bits to hide the user data into a BMP image.
1) copy whatever BMP image is passed and make a new one by copying and writing first 54 bits of the passed image to the created one
2) Read 3 bytes as a set (Red, Green, Blue)
3) Example implementation:
Least significant bits to hide user data into BMP image:
red green blue
100000001010010010110101
101101011111001110110111
111001111011001100110011
Insert 'C' using the 3 RGBs (3*24bits)=67=01000011
red green blue
1000000(0)1010010(1)1011010(0)
1011010(0)1111001(0)1011011(0)
1110011(1)1011001(1)00110011
1) I need one program to hide a .txt file into a created bmp file named whatever and another program that reads in the created BMP file and extracts the text data and saves it to a created text file

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!