Docsity

Cipher - Cryptography - Exam, Exams of Cryptography and System Security

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Science (Honours) in Software Development and Computer
Networking โ€“ Award
(NFQ Level 8)
Summer 2007
Cryptography
(Time: 2 Hours)
Instructions:
Answer any three questions.
Each Question is worth 40 Marks.
Note that 120 Marks = 100%.
Examiners: Dr. J. Buckley
Dr. A. Kinsella
Mr. V. Ryan
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]
pf3

Partial preview of the text

Download Cipher - 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 and Computer

Networking โ€“ Award

(NFQ Level 8)

Summer 2007

Cryptography

(Time: 2 Hours)

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

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

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) Using a diagram, outline a round of the Feistel Cipher, and devise a mathematical formula to model what happens in a round of the Feistel Cipher. [8 Marks]

b) Prove why the decryption process in the Feistel actually works. (This proof proceeds by induction, and shows why the decryption process produces the same plaintext that the encryption process started with.) [9 Marks]

c) Using an argument regarding the number of mappings there are of 64-bit blocks to 64-bit blocks, explain why you would expect that Double-DES using two keys will not produce the same encryption as single-DES (using a single key). [6 Marks]

d) Explain how the Cipher Block Chain (CBC) mode of operation works for both encryption and decryption. [7 Marks]

e) Justify why the CBC decryption works. [5 Marks]

f) Explain how ciphertext errors are propagated in CBC. [5 Marks]

Question 3 a) Outline how AES/Rijndael works for both encryption and decryption. [10 Marks]

b) Explain the characteristics that the NIST considered when they were choosing which cipher would be the AES. [7 Marks]

c) What were the strengths and weaknesses of Rijndael in comparison with the other 4 finalist ciphers? [8 Marks]

d) Outline the OFB (Output Feedback) mode of operation as used for encryption. [7 Marks]

e) Explain the short cycle problem as it applies to OFB, and its consequences for OFB. [8 Marks]