- Rajat Singh (2003130)
- Raj Hans Khoiwal (2003129)
- Divyanshi Govil (2003115)
- Dr. Rahul CS
- CS425 Algebraic Coding Theory and Cryptography
Django
- a python web framework that provides a robust set of tools and libraries for building web applications.Python
- a popular programming language known for its simplicity and versatility.HTML
- the standard markup language for creating web pages.CSS
- a stylesheet language used for styling web pages.
settings.py
- configuration file that contains various settings for a Django project.urls.py
- serves as a central routing configuration file for URL handling in a Django web application.wsgi.py
- acts as a communication bridge between a web server and a Django application.manage.py
- a command-line utility that provides a convenient way to manage various aspects of a Django projectviews.py
- handles the main back-end component of the project i.e. does the computations.input.html
- default webpage of the project, accepts user inputs.output.html
- outputs the encoded message using Cyclic Codes
The Cyclic Code Encoder is a web application built using Django, a Python web framework.
It provides a simple frontend interface for users to input data and encode it using [n, k]q cyclic codes using a randomly generated Generator Polynomial.
The backend of the application utilizes Django's redirect view to allow users to redirect to a specified URL by clicking on a "Encode" button.
It serves as a basic example of how to implement Cyclic Code Encoder with a GUI using a web application with Django.
-
Install python3
-
Create a virtual environment
python -m venv env
-
Activate the virtual environment
source env/bin/activate
-
Install Django using pip
pip install django
-
Clone the github repository
git clone https://github.com/RajatSingh08/Cyclic-Code-Encoder
-
Open the project folder
cd Cyclic-Code-Encoder/CyclicCodeEncoder/
-
Run the following command
python manage.py runserver
-
Open a web browser and search the following url
http://127.0.0.1:8000/
-
Input the values of n, k, q, data and click "ENCODE"
-
To encode new data, click "GO BACK"