Lab 2 (09/03/2023
)
Problems for lab session:
Practicals
Part-1:
- Design an Electronic Codebook (ECB) with the following properties:
- IV & Key type:
string
- Size of Key:
128-bits
- Key: Must contain Roll Number
- IV & Key type:
- Design a Cipher Block Chaining (CBC) with the following properties:
- IV & Key type:
string
- Size of Key:
128-bits
- Key: Your Roll Number
- IV & Key type:
Part-2:
- Implement the Vernam Cipher for:
- Upper & Lower case alphabets
- Numbers (0-9)
- There must be two separate programs for the above 2 cases, each having an encryption and a decryption function
* It should be a variant of Vernam Cipher, i.e., a Vigenère Cipher with a fixed key length.