Docsity

Fall 2003 ECE 646 Cryptography Exam, Exams of Cryptography and System Security

Toggle sidebar
bg1
ECE 646 – Fall 2003
Multiple-choice test
1. (1 pt) The ciphertext character frequency shown in the attached figure most likely
corresponds to the following cipher
A. ENIGMA
B. transposition cipher
C. shift cipher with k=22
D. affine cipher with k1=2 and k2=4
E. Vigenère cipher with the period d=1, and the key “E”
F. running-key cipher
0
2
4
6
8
10
12
14
abcdefghijklmnopqrstuvwxyz
0
2
4
6
8
10
12
14
abcdefghijklmnopqrstuvwxyz
Standard English character frequency
0
2
4
6
8
10
12
14
abcdefghijklmnopqrstuvwxyz
0
2
4
6
8
10
12
14
abcdefghijklmnopqrstuvwxyz
Ciphertext character frequency
pf3
pf4

Partial preview of the text

Download Fall 2003 ECE 646 Cryptography Exam and more Exams Cryptography and System Security in PDF only on Docsity!

ECE 646 – Fall 2003

Multiple-choice test

  1. (1 pt) The ciphertext character frequency shown in the attached figure most likely corresponds to the following cipher

A. ENIGMA B. transposition cipher C. shift cipher with k= D. affine cipher with k 1 =2 and k 2 = E. Vigenère cipher with the period d=1, and the key “E” F. running-key cipher

0 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 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

Standard English character frequency

0 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 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

Ciphertext character frequency

  1. (1 pt) In the ciphertext obtained using Vigenère cipher, a four-character sequence WTYS appears at positions 17, 215, and 479. Additionally, the measure of roughness for this ciphertext is equal to 0.0028. Based on this information, the most likely period of the Vigenère cipher is: A. 6 B. 9 C. 10 D. 11 E. 12 F. 66
  2. (1 pt) Match the following events regarding ENIGMA with the approximate dates when these events took place:

A. development of the method of perforated sheets by Henryk Zygalski B. development of the British “Bombe” by Alan Turing and Gordon Welchman C. internal wirings of ENIGMA rotors reconstructed by Marian Rejewski D. development of the American “Bombe” by Joseph Desch E. development of cyclometer F. meeting in Pyry in which Poles revealed their methods of breaking Enigma to the British and French Intelligence

a. 1932 b. 1936 c. 1938 d. 1939 e. 1940 f. 1943

4-5. (2 pt) Arrange the following ciphers: a) according to the number of distinct keys (starting from the cipher with the smallest amount of keys) b) according to the amount of computations necessary to break the cipher using the best available practical method (starting from the cipher that requires the smallest amount of computations).

A. IDEA B. Double DES C. Playfair cipher D. Hill cipher with d= E. RC5 32/10/ F. Vigenère cipher with d=

Specify your assumptions, if any.

Short problems

1. (3 pts) Break the affine cipher by computing the cipher key (k1, k 0) based

on the knowledge that the most frequent letter of the ciphertext is 'B', and

the second most frequent letter of the ciphertext is 'U'.

2. (3 pts) Encrypt the message "BAGHDAD" using the Vigenère cipher

with the key "IRAQ". Compute the index of coincidence of the obtained

ciphertext.

3. (3 pts) Compute the bits number 8, 24, 40, and 56 at the output of the

first round of the DESX encryption, assuming that the plaintext block is

equal to M=”F8F8F8F8F8F8F8F8”, the key K a is equal to

“0707070707070707”, and the first round key K1 computed based on the

56-bit key K is equal to “ABCDEF123456” (all values in the

hexadecimal notation).

4. (3 pts) Demonstrate how to compute values of all round keys S[i] for

RC5 16/1/2 with the key K=”FF00” (in the hexadecimal notation), by

describing the details of the scheduling algorithm with actual values of

parameters, performing computations for at least three iterations of each

loop, and estimating the total number of iterations required to complete

the computations.

5. (3 pt) Based on the knowledge of the IDEA key, K=”0000 ABBA BABA

0080 FEEE BEEE 0400 DAAA” (in the hexadecimal notation) compute

values of the eight round keys used as the last eight round keys during the

decryption with the given key K.