Design and Simulation of a Blockchain-Based Voting System Using Python


Abstract


Blockchain technology has gained significant attention for its ability to provide transparency, immutability, and security in digital systems. This study aims to design and simulate a secure, tamper-resistant voting system using blockchain principles implemented in Python. The system leverages core blockchain components such as cryptographic hashing, block chaining, and decentralized record-keeping to prevent electoral fraud and ensure voter anonymity. A proof-of-concept model is developed using Python libraries such as hashlib, Flask, and pycryptodome to simulate voting, validate voter identity, and record votes as immutable blocks. The proposed system incorporates a lightweight consensus mechanism and voter ID encryption to demonstrate the integrity and security of the election process. Preliminary simulations suggest that such blockchain-based systems can significantly improve trust in digital elections, reduce human intervention, and resist tampering. This paper contributes to the field by providing a practical, educational-level Python-based model suitable for academic, civic, or institutional adaptation.




Keywords


Blockchain, E-Voting System, Python, Cryptographic Hashing, Decentralized Ledger, Immutable Records, Flask, Digital Identity, Tamper-Resistant Voting, Blockchain Simulation