You are on page 1of 6

ROUND 1

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.

RED: 0 is 00000000 in binary

The four least significant digits are 0000.

We use these as the leading digits of the hidden colour value: 00000000

We then convert 00000000  to decimal, which gives us 0. And so, the


hidden value for RED is 0.

GREEN: 240 is 11110000 in binary

240/2 = 120 mod 0 rightmost

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

1/2 =0 mod 1 leftmost

The least significant digits are 0000.

The hidden colour value is 00000000.

Convert 00000000 to decimal: 0. The hidden value for GREEN is 0


BLUE: 15 is 00001111 in binary

15/2 = 7 mod 1 rightmost

7/2 = 3 mod 1

3/2 = 1 mod 1

1/2 = 0 mod 1

The least significant digits are 1111

The hidden colour value is 11110000

Convert 11110000 to decimal: 240. The hidden value for BLUE is 240.

The hidden colour value is RGB 0, 0, 240.

ROUND 2
Round 2: take another of your pixels and decode the hidden pixel colour
values in hexadecimal using the steganography method.

Second pixel: row 2, column 1, RGB values: (0, 0, 255). We are going to


extract the hidden colour values using conversion to hexadecimal.

RED: 0 is 00 in hexadecimal

The  least significant digit 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 RED is 0.

GREEN: 0 is 00 in hexadecimal

The  least significant digit 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.

BLUE: 255 is FF in hexadecimal

255/16 = 15 mod 15

15/16 = 0 mod 15

The  least significant digit is F.

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.

The hidden colour value is RGB 0, 0, 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....

As we noticed before in hexadecimal we get two digit colour value, in


which rightmost digit is the less significant one and codes a colour value
for a hidden pixel. When we are performing transformation from decimal
to hexadecimal the result of the division by 16 gives us the most
significant first digit, and the mod of that division gives us the number of
less significant digit, which is the future value of hidden colour (we just
need to multiply it by 16 to move it to the nest place value). This will help
to perform the calculations much faster without converting to binary or
hexadecimal. Let’s try it on next pixel.

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).

We use these as the leading digits of the hidden colour value:


15*16=240 in decimal. The hidden value for RED is 240.

GREEN: The least significant digit is 15 (as 15/16 = 0 mod 15).

We use these as the leading digits of the hidden colour value:


15*16=240 in decimal. The hidden value for GREEN is 240.

BLUE: The least significant digit is 15 (as 255/16 = 15 mod 15).

We use these as the leading digits of the hidden colour value:


15*16=240 in decimal. The hidden value for BLUE is 240.

The hidden colour value is RGB 240,240,240.

Fourth pixel: row 3, column 1, RGB values: (240, 240, 15). We are going
to extract the hidden colour values using conversion to binary.

RED: The least significant digit is 0 (as 240/16 = 15 mod 0).

We use these as the leading digits of the hidden colour value: 0*16=0 in
decimal. The hidden value for RED is 0.

GREEN: The least significant digit is 0 (as 240/16 = 15 mod 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.

BLUE: The least significant digit is 15 (as 14/16 = 0 mod 15).

We use these as the leading digits of the hidden colour value:


15*16=240 in decimal. The hidden value for BLUE is 240.
The hidden colour value is RGB 0, 0,240.

RESULTS FROM MY IMAGE


So after performing calculations to all pixels in my image I have got
these results.

My initial image and colour values:


0 0 0 0
240 240 240 240
15 15 15 15
0 15 15 0
0 15 15 0
255 255 255 255
240 240 240 240
240 240 240 240
15 15 15 15
240 255 240 255
0 15 0 15
15 15 15 15

Hidden image colours values and image:

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.

RESULTS FROM ALL IMAGES


These results I have gathered from my peers in the forum

Picture number #2 is R

Picture number #4 is C thanks to Julio Navarro

Picture number #5 is E thanks to Sofía Celi Ramos

Picture number #8 is P thanks to Carlos Suarez

Picture number #10 is E thanks to Jannatul Ferdaus

Picture number #11 is R thanks to Ana Harizanova

Letters in order:

1 2 3 4 5 6 7 8 9 10 11

R C E P E R

Comments: waiting for others to complete their tasks so that we can


collect the message.

You might also like