Posted on Sep 3, 2021
SPC David S.
4.01K
10
5
2
2
0
Cee4e827
Be6c2b96
I recently wrote a program that uses open source methods to encrypt a message and then hides the message within a digital image. It first uses a Vigenere cipher to encrypt the message and then hides the message within the RGB values of the pixels by modifying the least significant bit of each byte. For example the letter A equals 01000001 in binary form. I can hide this by editing the least significant value of the RGB binary values to match the binary values for the letter A. For example a pixel has a binary value of 11111111 which is red. If I change the last bit 1 to 0, the least significant bit, the result would be 11111110. This produces almost an identical color impossible to detect with the human eye. In this example a solid field of red pixels would be modified to 1 [login to see] [login to see] 0 1 [login to see] [login to see] 0 1 [login to see] 1111 to hide the letter A. The message can then be resolved by reversing the process. This technique is called steganography. As you can see the images look identical yet one contains a secret message. Now imagine a 1TB thumb drive full of pictures. You go from a spy caught with thousands of state secret documents to a tourists with lots and lots of pictures of mother Russia.

As such what clever ways have you used or know about that can hide information in plain sight.

https://www.computerhope.com/jargon/l/leastsb.htm
https://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher
Avatar feed
Responses: 3
MSG Intermediate Care Technician
4
4
0
Pig Latin
(4)
Comment
(0)
Avatar small
SFC Casey O'Mally
3
3
0
The closest I ever got was a made up just for fun code our Company RTOs created for calling for (Company) fire (i.e. 60mm mortars). We would order Chicken McNuggets (call for fire) and then the dipping sauce was what type: Hot Mustard was White Phosphorous, Sweet and Sour was Lum, and BBQ was HE. (You, this is me. We're Hungry. I need nuggets delivered to my position, side of BBQ.)
(3)
Comment
(0)
SPC David S.
SPC David S.
3 y
Love it - adjust eating - chew left.
(0)
Reply
(0)
Avatar small
CWO4 Terrence Clark
0
0
0
Kudos to you SPC David S. ! Beats the hell out the system I've been using where the letter A is an apple emoji, B is a bicycle emoji and the number 1 is a thumbs up emoji.
Seriously, that's impressive. How small is the hardware to code and decode?
(0)
Comment
(0)
SPC David S.
SPC David S.
3 y
Very just need a device that can run python - and that could be an online compiler so as not to get caught with any devices or scripts.
(1)
Reply
(0)
Avatar small

Join nearly 2 million former and current members of the US military, just like you.

close