top of page

Blockchain E-Voting Project

Abstract

The platform behaves as fully indepedent and decentralized during the voting process. The data is transparent but the identity of the voter is secured by homomorphic encryption. I have tested and compared this solution in three different blockchains. The result shows that both public and private blockchains can be used with only a difference in speed.

Goal

In the natural course of tech developments, e-voting will eventually become a norm. Blockchain enables a smart, secure and efficient election system making the process of voting faster, simpler and cheaper while increasing voter turnouts and supporting more effective democracies. With every vote being inspected by independent validators, elections are harder to rig.

Results

Although we see a slight difference in network times, they are negligible. Public blockcahin regardless has more advantages in an electoral system due to its openness of data and that it is updated in real time. A private blockchain is faster but it reduces the credibility of the whole system by being partially centralized because it only runs where the authority wants it. Private blockchain can be proposed as a future enhancement to add more possiblities of adoption.

Libraries Used

Django Framework

Django library is used for the web framework of the application for hassel-free development. Used in this project for shortcuts in rendering with the HttpSessions.

Helped with messages and requests.

hhhhhh

Keras

A high-level, deep learning API developed by google for implementing neural networks.

Imported Maxpooling2D, Dense, Dropout, Activation, Flatten, Convolution2D, Sequential.

xdjhdskjfsdkfjsddkkkkk

Hash Library

Using SHA256, that is secure hash algorithm 256-bit long, used for implementing cryptographic security in this project. This assits us in fingerprinting.

sdfhskfkwkfjnejjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

PyAES

This is an inbuilt python algorithm used for implementation of AES which helps in encryption and decryption of data.

PBKDF2 is used here to generate an encryption key from password string then use encrypt key for encryption of data.

PyMySQL

This is a pure-Python mySQL client library. In this project it is used to establish a connection with the database SQL 5.5. Connection established with the host, username, password and port.

kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Numpy

Numpy is a python library used to perorm mathematical operations specifically on arrays. In this project it is used to generate random strings and arrays.

jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

Smtplib

This is a simple mail transfer protocol library inbuilt in python which is in this project used for sending OTP for the E-voting through email id of the user. This is an added layer for the user validation.

hhhhhhhhhhhhhhhhhhhhhhhhhhh

Base64

This python library is generally used to encode and decode data. Here, in this project it is used to transport the data in binary format over mediums that cannot handle binary data.

We used Binascii to convert between binary and ASCII values.

Proposed System

Image by Clint Adair

djanga


A high-level python web framework that enables repid development.
This is a back-end langugage
I have used several frameworks from the same.

Image by Christina @ wocintechchat.com

Javascript object notation is a text-based way of representing javasript objects, literals, arrays and scalar data.

It is PL independent.

Modern Architecture

Consists of documented list of users eligible for voting.

Eliminates duplication of votes.

Manages integrity errors.

Restricts the users from registering wwith same name and photograph.

json

Smart Contract

Ballot vote problem

-- Chance of impersonate votes

-- No scope for automation

-- Huge time to count vote

-- Difficult to vote for physically   challenged people

Features

Allowed to vote only from 9 AM to 6 PM

Provides security by photoscan

No duplication

of the votes

Easy for people to vote from home

Provides security by OTP Validation

Provides automatic vote tally

Data Flow Diagrams Of The Project

DFD(1).png
System Design.png

System Design Of The Project

Get a Quote

If you have any queries about the project, feel free to reach out!

Thanks for submitting!
bottom of page