Modern Cryptography

Practicals for M.Sc. CS students | (M3022201)

Lab 2 (09/03/2023)

Problems for lab session:

Practicals

Part-1:

  1. Design an Electronic Codebook (ECB) with the following properties:
    • IV & Key type: string
    • Size of Key: 128-bits
    • Key: Must contain Roll Number
  2. Design a Cipher Block Chaining (CBC) with the following properties:
    • IV & Key type: string
    • Size of Key: 128-bits
    • Key: Your Roll Number

Part-2:

  1. 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.


Back to Homepage