Modern Cryptography

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

Lab 13 (24/05/2023)

Problems for lab session:

Practicals

Part 1

1. Write a menu-driven program for the following:

  • Converting (encoding/decoding) any of the given types of data from one to another: {base64, binary, hexadecimal, byte, String}
  • Perform given unary operation(s) on {single integer, binary, hexadecimal, or byte data}: left-shift (once), right-shift, and n-th prime number.
  • Perform given binary operation(s) on {single integer, binary, hexadecimal, or byte data}: XOR, and find GCD (only for integers).

* Solution for this lab is not provided!


Back to Homepage