/iss4

Repository for assignment 4 - ISS Spring 2019 IIIT-H

Primary LanguageHTML

Project Title

Cryptography Block Cypher-Message Authentication Code

Installing and Prerequisites

sudo apt-get update
sudo apt-get install python2.7
sudo apt-get install python3
sudo apt install python-pip
pip install flask
pip install sqlalchemy

Running the Experiment

Step1 --> Run the run.py file using command :-

					$ python run.py

Step2 --> Open the browser and open the following link

				    	"localhost:5000/" 				 

Testings

Step1 --> Run the Experiment. (Testing is to be done on a new terminal)

Testing is done in two steps:-

  1. Test for all the links to pages Run the Links_Test.py file using command
	 				$ python3 Links_Test.py		
  1. Unit testing for logic part of the Experiment Run the the test case written in Unit_test.txt file and match the outputs.

Folder Structre

cbc-mac ├── app │   ├── init.py │   ├── init.pyc │   ├── routes.py │   ├── routes.pyc │   ├── static │   │   ├── css │   │   │   ├── bootstrap.min.css │   │   │   └── style.css │   │   ├── images │   │   │   ├── All images │   │   ├── js │   │   │   ├── bootstrap.js │   │   │   ├── bootstrap.min.js │   │   │   ├── cbc-mac.js │   │   │   ├── custom.js │   │   │   ├── exp.js │   │   │   ├── jquery.js │   │   │   ├── npm.js │   │   │   └── secure_cbc-mac.js │   │   └── vendors │   │   ├── font-awesome │   │   │   ├── css │   │   │   │   ├── font-awesome.css │   │   │   │   └── font-awesome.min.css │   │   │   └── fonts │   │   │   ├── FontAwesome.otf │   │   │   ├── fontawesome-webfont.eot │   │   │   ├── fontawesome-webfont.svg │   │   │   ├── fontawesome-webfont.ttf │   │   │   ├── fontawesome-webfont.woff │   │   │   └── fontawesome-webfont.woff2 │   │   └── owl-carousel │   │   ├── AjaxLoader.gif │   │   ├── grabbing.png │   │   ├── owl.carousel.css │   │   ├── owl.carousel.js │   │   └── owl.theme.css │   └── templates │   ├── Experiment.html │   ├── Feedback.html │   ├── Further.html │   ├── Introduction.html │   ├── layout.html │   ├── Manual.html │   ├── Objective.html │   ├── Procedure.html │   ├── Quizzes.html │   └── Theory.html ├── material_to_refer.txt └── run.py

Exiting

Just press Ctrl+C on the terminal on which server is runnig.

Built With

  • Python Flask
  • Javascript Ajax

Authors

  • Abinash Maharana (2018111033)
  • Rishabh Daga (2018101015)