4-Modular Arithmetic, Euclidean Algorithm & Assignment-1-09-01-2024
4-Modular Arithmetic, Euclidean Algorithm & Assignment-1-09-01-2024
A) Theory: 4marks
1. Define the following.
i. Prime & relative prime
ii. Modulo arithmetic & residue
iii. GCD
iv. Primitive Root; Find primitive root of 353
v. Discrete log
2. Define the following.
i. Block Cipher Vs Stream Cipher
ii. Confusion & Diffusion
iii. Substitution & Permutation
iv. DES vs AES
v. Linear Cryptanalysis vs Differential cryptanalysis
vi. Man in the middle attack
vii. Brute force attack
3. Discuss the flow of DES algorithm. Describe single round function in detail.
4. DES has the following functionalities. Explain the comparable functions in AES.
a) XOR of sub key material with the input to the function
b) F function
c) Permutation
d) Swapping of halves of the block.
e) Weakness of DES