Professional Documents
Culture Documents
Binary Conversions and Steganography
Binary Conversions and Steganography
Round 1: take one of your four pixels and decode the hidden pixel colour
values in binary using the steganography method shown in the video.
First pixel: row 1, column 1, RGB values: (0, 240, 15). We are going to
extract the hidden colour values using conversion to binary.
We use these as the leading digits of the hidden colour value: 00000000
120/2 = 60 mod 0
60/2 = 30 mod 0
30/2 = 15 mod 0
15/2 = 7 mod 1
7/2 =3 mod 1
3/2 =1 mod 1
7/2 = 3 mod 1
3/2 = 1 mod 1
1/2 = 0 mod 1
Convert 11110000 to decimal: 240. The hidden value for BLUE is 240.
ROUND 2
Round 2: take another of your pixels and decode the hidden pixel colour
values in hexadecimal using the steganography method.
We use these are the leading digits of the hidden colour value: 00
We then convert 00 to decimal, which gives us 0. And so, the hidden
value for RED is 0.
We use these are the leading digits of the hidden colour value: 00
We then convert 00 to decimal, which gives us 0. And so, the hidden
value for GREEN is 0.
255/16 = 15 mod 15
15/16 = 0 mod 15
We use these are the leading digits of the hidden colour value: F0
We then convert F0 to decimal, which gives us 240. And so, the hidden
value for BLUE is 240.
ROUND 3
Round 3: reflect on how to perform the decoding without changing to
binary or hexadecimal (i.e. figure out what operations to perform in
decimal to achieve the same method as you have done in Rounds 1 and
2). Use those operations to decode the last two pixels. Write an
explanation of this step....
Third pixel: row 2, column 2, RGB values: (15, 15, 255). We are going to
extract the hidden colour values using conversion to binary.
RED: The least significant digit is 15 (as 15/16 = 0 mod 15).
Fourth pixel: row 3, column 1, RGB values: (240, 240, 15). We are going
to extract the hidden colour values using conversion to binary.
We use these as the leading digits of the hidden colour value: 0*16=0 in
decimal. The hidden value for RED is 0.
We use these as the leading digits of the hidden colour value: 0*16=0 in
decimal. The hidden value for GREEN is 0.
0 0 0 0
0 0 0 0
240 240 240 240
0 240 240 0
0 240 240 0
240 240 240 240
0 0 0 0
0 0 0 0
240 240 240 240
0 240 0 240
0 240 0 240
240 240 240 240
Corresponding Letter: R
ROUND 4
Round 4: gather the results from all the 16 pixels in your picture (from
your peers in the forum) and reveal the hidden letter; you may need to
go back to W3Schools to see the colour corresponding to your RGC
values (https://www.w3schools.com/colors/colors_rgb.asp). Gather all
the results of all the images and decipher the message using the
alphabet provided.
Picture number #2 is R
Letters in order:
1 2 3 4 5 6 7 8 9 10 11
R C E P E R