Font Size: a A A

Security Design And Research Of Electronic Voting System Based On Ethereum

Posted on:2022-04-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y F DengFull Text:PDF
GTID:2518306737456904Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Blockchain is a peer-to-peer,distributed ledger technology,famous for its Bitcoin application.The emergence of Ethereum provides the possibility for the application of blockchain.Ethereum has greatly expanded the application scenarios of blockchain technology.From then on,blockchain technology is no longer limited to payment scenarios.The representative of Blockchain 2.0 has received widespread attention from the society.As the security of smart contracts seriously affects the security of huge digital assets,the research on the security of smart contracts is very urgent and necessary.With the development of the Internet and modern cryptography technology,online electronic voting has replaced the traditional paper voting method with the advantages of low cost,fewer errors,and high efficiency.However,in the electronic voting industry,because the data is stored in a central database,voting data is not open and transparent enough and easy to be tampered with.There is also a risk of user privacy information being leaked.As an innovative technology,blockchain can make up for the shortcomings of the current voting system by taking advantage of its decentralization,non-tampering,and quasi-anonymity,to realize the open and transparent voting process,and enhance the privacy and security of voting data and users.,To meet people's needs for a secure electronic voting system.According to the current research situation,there are attack problems in blockchain smart contracts such as: re-entry attacks,short address attacks,overflow vulnerability attacks,distributed denial of service attacks,etc.This article studies the background,principle,implementation and implementation of the above four attack algorithms in detail.Code analysis,and studied the reasonable solution of each algorithm,and experimental analysis proved its feasibility.In addition,this article takes Ethereum as an example.In order to study secure smart contracts,the overall analysis is carried out from the level of blockchain structure,end-to-end system,and blockchain application,and then detailed to the security vulnerabilities of smart contracts.Based on the analysis,research and simulation experiments,a secure electronic voting system based on blockchain was designed based on Ethereum,and an optimization scheme based on credit points-based incentive mechanism was proposed.Finally,three tools are used to prove the safety and feasibility of the voting contract.The main work and results of this paper are as follows:(1)Aiming at the security issues of the existing electronic voting system,a secure electronic voting system is implemented based on the Ethereum platform.First,analyze the underlying principles of the blockchain and the source code of Ethereum.Secondly,the Ethereum test network was built to test the operation rules of Ethereum under different network conditions.Then,at the smart contract level,the types of smart contract vulnerabilities and defense schemes are studied.Finally,based on the Solidity language and Truffle framework,Web3.js is used to realize the front-end interaction with the Meta Mask wallet,and finally a secure electronic voting system is realized.(2)Aiming at the problems of low enthusiasm for mining and poor transaction user experience,this paper proposes a credit points incentive mechanism.This point incentive mechanism can formulate a unified standard for system users and provide users with different contributions in the system.Different user rights can be set,which can effectively prevent unauthorized voting and transaction pool transaction congestion,thereby improving the transaction efficiency and system security of the system.
Keywords/Search Tags:Blockchain, Ethereum, smart contract vulnerabilities, point incentive mechanism, secure voting system
PDF Full Text Request
Related items