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:
- Non-Encrypted Text
- Encrypted Text
Output:
Assignment 2 (Polyalphabetic Cipher)
Problem Statement: Write a Program to Implement Polyalphabetic Cipher.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass2.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass2.cpp
- a.exe //for Windows
- ./a.out //for Linux
Assignment 3 (Playfair Cipher)
Problem Statement: Write a Program to Implement Playfair Cipher.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass3.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass3.cpp
- a.exe //for Windows
- ./a.out //for Linux
Assignment 4 (Hill Cipher)
Problem Statement: Write a Program to Implement Hill Cipher.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass4.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass4.cpp
- a.exe //for Windows
- ./a.out //for Linux
Assignment 5 (RAIL Fence Technique)
Problem Statement: Write a Program to Implement Rail Fence Technique.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass5.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass5.cpp
- a.exe //for Windows
- ./a.out //for Linux
Assignment 6 (SIMPLE Columnar
Transposition Technique)
Problem Statement: Write a Program to Implement SIMPLE Columnar Transposition Technique.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass6.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass6.cpp
- a.exe //for Windows
- ./a.out //for Linux
Assignment 7 (ADVANCED Columnar
Transposition
technique)
Problem Statement: Write a Program to Implement ADVANCED Columnar Transposition Technique.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass7.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass7.cpp
- a.exe //for Windows
- ./a.out //for Linux
Assignment 8 (DIFFE-HELLMAN key
exchange algorithms.)
Problem Statement: Implementation of
DIFFE-HELLMAN key
exchange algorithms.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass8.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass8.cpp
- a.exe //for Windows
- ./a.out //for Linux
Assignment 9 (Simple RSA Algorithm)
Problem Statement: Write a Program to implement
Simple RSA Algorithm
with small numbers.
Input: - Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
Output:
- Encrypted Text
- Non-Encrypted Text
- Encrypted Text
- Non-Encrypted Text
Steps:
- g++ ass9.cpp
- a.exe //for Windows
- ./a.out //for Linux
- g++ ass9.cpp
- a.exe //for Windows
- ./a.out //for Linux
Comments
Post a Comment