HW1-CIS 4361

advertisement

CIS 4361

Spring 2012

Homework I (due Friday Feb 3, starting class)

1) For substitution cipher, use the keyword MESSAGE to encrypt the message “Florida is the sunshine state”.

2) Construct the Playfair matrix using the keyword GRADUATION and encrypt message “This class is my favorite class”.

3) Encrypt the hexadecimal message B57A using the Rail Fence cipher for binary numbers with 3 Rails. [Give answer in hexadecimal encrypted message].

4) Decrypt the hexadecimal encrypted message ABCD created by the Rail Fence cipher for binary numbers with 3 Rails. [Give answer in hexadecimal message].

5) [10] Permute the input 0101 1101 1011 1000, if a permutation is defined as follows:

1 2 3 4

5 6 7 8

11 7 3 15

13 9 5 1

9 10 11 12

13 14 15 16

10 6 2 14

12 8 4 16

6) Given the following permutation,

0 1 2 3 4 5 6 7 8 9 10 11 12

13 14 15 16 17 18 19 20 21 22 23 24 25

18 19 20 21 22 23 24 25 0 1 2 3 4

5 6 7 8 9 10 11 12 13 14 15 16 17 a.

Find the Caesar cipher equation and the Caesar cipher alphabet that has been used. b.

Find the encrypted message for “Examination one is coming soon”.

7) [ Given the Caesar cipher equation c = E( p ) = ( p + 4 ) mod (26), find the permuted box for the following initial box:

0 1 2 3 4 5 6 7 8 9 10 11 12

13 14 15 16 17 18 19 20 21 22 23 24 25

8) [ Given the following permutation, find the mono-alphabetic cipher that has been used?

0 1 2 3 4 5 6 7 8 9 10 11 12

13 14 15 16 17 18 19 20 21 22 23 24 25

2 3 1 6 0 22 14 8 13 11 19 17 18

4 5 7 25 24 23 9 21 10 12 20 15 16

9) Given the plaintext alphabet: abcdefghijklmnopqrstuvwxyz and the mono-alphabetic cipher alphabet: bfergsutvqwpxdyozanckhjmil, find the permuted box for the following initial box:

0 1 2 3 4 5 6 7 8 9 10 11 12

13 14 15 16 17 18 19 20 21 22 23 24 25

A B C D E F G H I J K L M

N O P Q R S T U V W X Y Z

10) Given the following permutation:

0 1 2 3 4 5 6 7 8 9 10 11 12

13 14 15 16 17 18 19 20 21 22 23 24 25

2 13 20 7 16 6 22 0 9 12 15 23 4

24 8 3 19 1 14 11 5 17 25 21 10 18

A B C D E F G H I J K L M

N O P Q R S T U V W X Y Z a.

Find the mono-alphabetic cipher that has been used b.

Using the mono-alphabetic cipher of part a, decrypt the message

“xiipjywgibzcbhliodbjywnbqcp”

Download