A Project Report
on
VOTING SYSTEM USING BLOCKCHAIN
Submitted for partial fulfillment of award of
BACHELOR OF TECHNOLOGY
Degree in
COMPUTER SCIENCE AND ENGINEERING
By
Arpita Singh Sengar (2000640100026)
Karan Kumar (2000640100060)
Devansh Mishra (2000640100037)
Anshul Singh (2000640100020)
Name of Guide
Mr. Gaurav Pandey
Department of Computer Science and Engineering
Hindustan College of Science and Technology, Farah, Mathura
DR. A. P. J. ABDUL KALAM TECHNICAL UNIVERSITY,
LUCKNOW, INDIA
May, 2024
ACADEMIC SESSION 2023-2024
i
UNDERTAKING
The work presented in our dissertation titled VOTING SYSTEM
USING BLOACKCHAIN, submitted to the Department of
Computer Science and Engineering, Hindustan College of Science
and Technology, Mathura, for the award of Bachelor of Technology,
is our original work. We have neither plagiarized nor submitted the
same work for award of any other degree. In case this undertaking is
found incorrect, we accept that our degree may be withdrawn.
Arpita Singh Sengar (2000640100026)
Karan Kumar (2000640100060)
Devansh Mishra (2000640100037)
Anshul Singh (2000640100020)
Date:-
HCST, Farah, Mathura
HINDUSTAN COLLEGE OF SCIENCE & TECHNOLOGY
FARAH, MATHURA -281122
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
ii
CERTIFICATE
Date:
CERTIFIED THAT ARPITA SINGH SENGAR, KARAN
KUMAR, DEVANSH MISHRA AND ANSHUL SINGH HAVE
CARRIED OUT THEIR PROJECT WORK PRESENTED IN
THIS REPORT ENTITLED VOTING SYSTEM USING
BLOACKCHAIN FOR THE AWARD OF BACHELOR OF
TECHNOLOGY FROM DR. A. P. J. ABDUL KALAM
TECHNICAL UNIVERSITY, LUCKNOW UNDER MY
SUPERVISION. THE REPORT EMBODIES RESULT OF
ORIGINAL WORK AND STUDIES CARRIED OUT BY
STUDENT HIMSELF AND THE CONTENTS OF THE
REPORT DO NOT FORM THE BASIS FOR THE AWARD OF
ANY OTHER DEGREE TO THE CANDIDATE OR TO
ANYBODY ELSE.
Name of
Guide
Mr. Gaurav Pandey
Asst. Professor, CSE
MR. VIJAY KATTA DR.SHANKAR THAWKAR
PROJECT COORDINATOR HOD, CSE
iii
ACKNOWLEDGEMENT
We would like to express our gratitude to all those who helped us in
our project. Firstly, we would like to thank our project guide, Mr.
Priyadarshi, for their guidance and support. Their expertise and
mentorship significantly contributed in a progress of our project.
A heartfelt thankyou to the faculty members of CSE branch for
their constructive feedback and academic guidance.
We express our deep sense of gratitude and sincere thanks to our
Head of the Department Mr. Shankar Thawkar for permitted us to
carry out this project and for giving the complete freedom to utilize
the resources of the department.
We acknowledge and appreciate the collaboration and effort put
forth by each member of our project team. Their skills and
knowledge have made this collective progress of the project.
We also convey our heartfelt thanks to our friends and family for
their support and understanding which encourages us during the
phases of this project.
In conclusion, this project has been a collaborative effort, and we
are grateful to everyone who has been a part of it.
Date:
Student Names with roll numbers
Arpita Singh Sengar (2000640100026)
Karan Kumar (2000640100060)
Devansh Mishra (2000640100037)
Anshul Singh (2000640100020)
iv
TABLE OF CONTENTS
Page No.
Undertaking ii
Certificate iii
Acknowledgements iv
List of Figures vii
List of Tables viii
List of Symbols
ix
List of Abbreviations x
1. INTRODUCTION 1-
4
1.1 INTRODUCTION TO PROJECT
1
1.2 OBJECTIVE
1.3 SCOPE 3
1.4 FEASIBILITY STUDY
3
2. LITERATURE SURVEY 5-
18
2.1 REQUIREMENT ANALYSIS
5
2.2 RESEARCH PAPERS REVIEW
2.3 PROBLEM WITH CURRENT 6
SYSTEMS
2.4 LANGUAGE & TOOLS 11
2.5 PRPOSED SYSTEM
13
18
3. DESIGN 19-
26
v
3.1 WORK FLOW
19
3.2 SDLC MODELS
3.2.1 ADVANTAGES 23
3.2.2 DISADVANTAGES
24
24
3.3 DFD
3.3.1 LEVEL-0 25
3.3.2 LEVEL-1
3.3.3 LEVEL-2 25
26
26
4. ALGORITHM USED 27-
31
4.1 SHA-256 BIT ENCRYPTION
ALGORITHM 27
4.2 PROOF OF WORK(PoW)
27
4.3 PROOF OF STACK
28
4.4 PROOF OF AUTHORITY(PoA)
29
4.5 NODEMAILOR
30
5. IMPLEMENTATION 32-
5.1 CODE SNIPPETS 40
5.2 SNAPSHOTS
6. RESULTS
41
7. CONCLUSIONS, LIMITATION AND
FUTURE WORKS 42
8. REFERENCES 43-
44
PLAGIARISM REPORT
vi
LIST OF FIGURES
Page No.
3.1 Blockchain ……… 20
3.2 Registration Module ……… 21
3.3 Flow chart of project ……… 22
3.4 SDLC Cycle ……… 23
3.5 DFD Level-0 ……… 25
3.6 DFD Level-1 ……… 26
3.7 DFD Level-2 ……… 26
4.1 Hashing Algorithm ……… 27
8.1 Homepage ……… 37
8.2 Sign up page ……… 37
vii
8.3 Information ……… 38
8.4 Voter Registration ……… 38
8.5 Voting Area ……… 39
8.6 Result ……… 39
8.7 Candidates Details ……… 40
8.8 Add Candidate Information ……… 40
8.9 Register ……… 41
8.10 Change Phase ……… 41
LIST OF TABLES
2.1 Problems with current systems ……… 11-12
viii
LIST OF SYMBOLS
Symbol Explanation
n code length
ƛ Auto - corelation
ix
LIST OF ABBREVIATIONS
Abbreviations Explanation
SDLC Software Development Life Cycle
DFD Data Flow Diagram