Docsity

Birthday Attack - Security and Cryptography - Old Exam, Exams of Cybersecurity

Toggle sidebar
bg1
1
Cork Institute of Technology
Bachelor of Science (Honours) in Software Development – Award
(KSDEV_8_Y4)
Autumn 2008
Security and Cryptography
(Time: 3 Hours)
Answer any four questions. Examiners : Mr. V. Ryan
Dr. Mel O’Cinneide
Mr. Martin Donnelly
Question 1
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?
[6 Marks]
b) Describe the strengths of Rijndael.
[7 Marks]
c) Outline the OFB mode of operation, as used for encryption and decryption.
[6 Marks]
d) Explain the short-cycle problem associated with OFB.
[6 Marks]
pf3

Partial preview of the text

Download Birthday Attack - Security and Cryptography - Old Exam and more Exams Cybersecurity in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science (Honours) in Software Development – Award

(KSDEV_8_Y4)

Autumn 2008

Security and Cryptography

(Time: 3 Hours)

Answer any four questions. Examiners : Mr. V. Ryan Dr. Mel O’Cinneide Mr. Martin Donnelly

Question 1

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? [6 Marks]

b) Describe the strengths of Rijndael. [7 Marks]

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

d) Explain the short-cycle problem associated with OFB. [6 Marks]

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

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

c) Outline how brute force against RSA would proceed. [5 Marks]

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

Question 3 a) Outline the design of a typical hash function. [6 Marks]

b) Explain what is meant by a birthday attack on a hash function.

[4 Marks]

c) Describe how digital signatures are created and verified using the sign-the hash technique. [9 Marks]

d) Compare the use of hash functions with the use of Message Authentication Codes. [6 Marks]

Question 4. a) Compare PGP to a typical PKI. [6 Marks]

b) Describe what happens when a signed and encrypted message is generated in PGP. [7 Marks]

c) Outline how SSL works. In your outline, mention the role of the certifying authority and the merchant, and what happen when a user attaches to an SSL-enabled site. [6 Marks]

d) In the initial messages of the Handshake Protocol of SSL, what information is being transmitted. (these are known as the client_hello and the server_hello messages.) [6 Marks]