Semester
Subject
Year
Tribhuwan University
2076
Bachelor Level / Third Year / Fifth Semester / Science
(Cryptography)
Full Marks: 60
Pass Marks: 24
Time: 3 Hours
Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks.
Long Answers Questions
Monoalphabetic cipher is more vulnerable than polyalphabetic cipher because it uses a single fixed substitution alphabet, making it easily breakable by frequency analysis.
Justification:
Conclusion: Monoalphabetic cipher is significantly more vulnerable because its one-to-one mapping leaks statistical patterns of the plaintext.
Weak keys in DES are keys that produce identical subkeys for all 16 rounds, making encryption and decryption the same operation (i.e., $E_K(E_K(P)) = P$).
Types of Weak Keys:
| Weak Key (Hex) | Pattern |
|---|---|
0000000 0000000 |
All zeros |
FFFFFFF FFFFFFF |
All ones |
0000000 FFFFFFF |
First half zeros, second half ones |
FFFFFFF 0000000 |
First half ones, second half zeros |
IDEA (International Data Encryption Algorithm) is a block cipher that operates on 64-bit plaintext blocks using a 128-bit key over 8.5 rounds (8 full rounds + 1 output transformation).
Round Operation:
Each round takes a 64-bit input divided into four 16-bit sub-blocks: and uses 6 subkeys ($K_1$ to $K_6$) per round.
Three Algebraic Operations Used:
Steps in One Round:
Output Transformation (Half Round 9):
Key Insight: The strength of IDEA comes from mixing three incompatible algebraic operations from different algebraic groups, making cryptanalysis extremely difficult.
Conclusion: IDEA's round operation achieves confusion and diffusion by combining multiplication, addition, and XOR — operations that are algebraically incompatible — ensuring high security.
Short Answers Questions