Semester
Subject
Year
Tribhuwan University
2082
Bachelor Level / Third Year / Fifth Semester / Science
(Information Security)
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
Substitution Cipher replaces each plaintext character with a different character, while Transposition Cipher rearranges the positions of plaintext characters without changing them.
| Feature | Substitution Cipher | Transposition Cipher |
|---|---|---|
| Basic Operation | Replaces characters with other characters | Rearranges the order of characters |
| Identity of characters | Characters change their identity | Characters retain identity but change position |
| Technique | Mapping of plaintext to ciphertext symbols | Permutation of plaintext characters |
| Example | Caesar Cipher, Vigenère Cipher | Rail Fence, Columnar Transposition |
| Key concept | Confusion (obscures relationship) | Diffusion (spreads plaintext over ciphertext) |
| Vulnerability | Frequency analysis can break it | Pattern analysis of positions can break it |
In DES (Data Encryption Standard), 16 round sub-keys of 48 bits each are generated from the original 64-bit key using a key schedule algorithm.
Steps for Sub-Key Generation:
Step a — Initial Key: Start with a 64-bit key (8 bits are parity bits, so effective key = 56 bits)
Step b — PC-1 (Permuted Choice 1): The 64-bit key is passed through PC-1 permutation table, which discards the 8 parity bits and permutes the remaining 56 bits
Step c — Split into halves: The 56-bit key is divided into two halves:
Step d — Left Circular Shift: For each round (1 to 16), both and are left circular shifted by 1 or 2 positions:
Step e — PC-2 (Permuted Choice 2): After shifting, and are combined (56 bits) and passed through PC-2 permutation table, which selects and permutes 48 bits out of 56 to produce the sub-key
Step f — Repeat: Steps d and e are repeated 16 times to generate
A Finite Field (also called Galois Field, denoted $GF(p^n)$) is a field that contains a finite number of elements where all arithmetic operations (addition, subtraction, multiplication, division) are defined and closed.
Properties of a Finite Field:
Implications in Cryptography:
Conclusion: Substitution and transposition are fundamental classical cipher techniques that form the basis of modern ciphers. DES uses a systematic key schedule to derive 16 sub-keys for its Feistel rounds. Finite fields provide the algebraic framework that ensures correctness and security in modern encryption algorithms like AES and RSA.
Short Answers Questions