CNS LAB

 

 Cryptography and Network Security Laboratory

By Mr. VK

Complete CNS LAB Download

Complete ML LAB Notebook

Assignment 1 (Caesar Cipher)

Problem Statement: Write a Program to Implement Caesar Cipher.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass1.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Assignment 2 (Polyalphabetic Cipher)

Problem Statement: Write a Program to Implement Polyalphabetic Cipher.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass2.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux






Assignment 3 (Playfair Cipher)

Problem Statement: Write a Program to Implement Playfair Cipher. 

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass3.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Assignment 4 (Hill Cipher)

Problem Statement: Write a Program to Implement Hill Cipher.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass4.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Assignment 5 (RAIL Fence Technique)

Problem Statement: Write a Program to Implement Rail Fence Technique.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass5.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Assignment 6 (SIMPLE Columnar Transposition Technique)

Problem Statement: Write a Program to Implement SIMPLE Columnar Transposition Technique.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass6.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Assignment 7 (ADVANCED Columnar Transposition technique)

Problem Statement: Write a Program to Implement ADVANCED Columnar Transposition Technique.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass7.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Assignment 8 (DIFFE-HELLMAN key exchange algorithms.)

Problem Statement: Implementation of DIFFE-HELLMAN key exchange algorithms.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass8.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Assignment 9 (Simple RSA Algorithm)

Problem Statement: Write a Program to implement Simple RSA Algorithm with small numbers.

Input: 
  1. Non-Encrypted Text
  2. Encrypted Text

Output:

  1. Encrypted Text
  2. Non-Encrypted Text

Steps:

  1. g++ ass9.cpp
  2. a.exe //for Windows
  3. ./a.out //for Linux





Thank You


Comments