Docsity

Simple-XOR - Cryptography - Exam, Exams of Cryptography and System Security

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Science (Honours) in Software Development & Computer
Networking -Award
(KDNET_8_Y4)
Summer 2008
Cryptography
(Time: 2 Hours)
Instructions:
Answer any three questions.
Each Question is worth 40 Marks.
Note that 120 Marks = 100%.
Examiners: Mr. V. Ryan
Dr. J. Buckley
Dr. A. Kinsella
Question 1
a) List the main forms of attack on a cryptosystem (ciphertext only etc.),
and outline how each might be mounted in practice.
[10 Marks]
b) Explain the differences between a block cipher and a stream cipher.
[7 Marks]
c) Outline what you understand by the terms confusion and diffusion as they
relate to a cipher. [8 Marks]
d) Outline the simple-XOR cryptosystem. [7 Marks]
e) Outline the one-time pad cryptossytem.
In your answer, state the conditions that are necessary for the one-time pad, and the
circumstances in which it might be useful. [8 Marks]
Question 2
a) Explain how the AES works for both encryption and decryption.
Outline what happens in each round of the encryption algorithm. How many subkeys need to
be generated form the key and why?
[10 Marks]
b) When seeking a cipher to become the AES, what factors were considered?
Explain why each of these factors is significant. [10 Marks]
c) Outline the COUNTER mode of operation, as used for encryption and decryption.
[10 Marks]
d) Explain 4 advantages that this mode of operation exhibits.
[10 Marks]
pf2

Partial preview of the text

Download Simple-XOR - Cryptography - Exam and more Exams Cryptography and System Security in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science (Honours) in Software Development & Computer

Networking -Award

(KDNET_8_Y4)

Summer 2008

Cryptography

(Time: 2 Hours)

Instructions: Answer any three questions. Each Question is worth 40 Marks. Note that 120 Marks = 100%.

Examiners: Mr. V. Ryan Dr. J. Buckley Dr. A. Kinsella

Question 1 a) List the main forms of attack on a cryptosystem (ciphertext only etc.), and outline how each might be mounted in practice. [10 Marks]

b) Explain the differences between a block cipher and a stream cipher. [7 Marks]

c) Outline what you understand by the terms confusion and diffusion as they relate to a cipher. [8 Marks]

d) Outline the simple-XOR cryptosystem. [7 Marks]

e) Outline the one-time pad cryptossytem. In your answer, state the conditions that are necessary for the one-time pad, and the circumstances in which it might be useful. [8 Marks]

Question 2 a) Explain how the AES works for both encryption and decryption. Outline what happens in each round of the encryption algorithm. How many subkeys need to be generated form the key and why? [10 Marks]

b) When seeking a cipher to become the AES, what factors were considered? Explain why each of these factors is significant. [10 Marks]

c) Outline the COUNTER mode of operation, as used for encryption and decryption. [10 Marks]

d) Explain 4 advantages that this mode of operation exhibits. [10 Marks]

Question 3 a) Outline how public and private keys are generated in RSA, and how encryption and decryption are performed in RSA. [8 Marks]

b) Explain why the security of RSA depend on the factoring problem being difficult. [10 Marks]

c) Outline the progress that has been made in addressing the factoring problem. [8 Marks]

d) If in the RSA key generation process, the two prime numbers have been chosen as 89 and 197 and the exponent e has been chosen as 449. Find the private key exponent d. In your answer, demonstrate clearly that you have used the Euclidean Algorithm. [14 Marks]

Question 4. a) Outline the Diffie-Hellmann protocol. In your answer, describe the key generation phase, and how the protocol is used to compute a session key. [8 Marks]

b) What do you understand by the discrete log problem? [8 Marks]

c) Explain why the security of Diffie-Hellmann is based upon the difficulty of the discrete log problem. [8 Marks]

d) Find the primitive roots of 7. Show all workings clearly. [8 Marks]

e) Why must one of the parameters used in Diffie-Hellmann be a primitive root of another? Give details. [8 Marks]