| As information technology advances quickly in society,e-voting is becoming more and more popular due to its practical and effective advantages,how to ensure the privacy of voting data and the correctness of voting results is one of the most important issues.Some of the existing e-voting schemes have problems of voter fraud and dependence on centralized storage,blockchain has facilitated new developments in electronic voting with its decentralized,open and transparent,and tamper-evident properties.In practical scenarios,where massive amounts of voting data can be stored and shared,blockchain enables the establishment of trusted data access control between organizations or enterprises in a trustless network environment.Attribute-based cryptography is widely used for fine-grained access control,which enables efficient and secure data transmission and sharing.Aiming at the practical application scenario of storing and sharing voting data among organizations or enterprises,this thesis studies and designs an e-voting scheme based on blockchain technology to solve the above problems.The main research contents of this thesis are as follows:(1)A format-checkable e-voting scheme based on homomorphic encryption is proposed to address the security problems in current e-voting schemes in terms of voter identity legitimacy,correctness of voting results,and storage centrality.In this scheme,the ballots are encrypted by Paillier homomorphic encryption technology to ensure the privacy of the ballots.Then the proposed conversion protocol is used for bit decomposition of the encrypted ballot and format check of the ballot,which can guarantee the correctness of the ballot format without revealing the content of the ballot and prevent voter cheating.Finally,the homomorphic addition operation is run on the encrypted ballots to tally the voting results.This scheme utilizes smart contracts instead of traditional trusted third parties to achieve decentralization.From the security analysis and comparative performance analysis,it is clear that this scheme meets all the basic security requirements as well as format checkability in the e-voting scheme.(2)In order to achieve secure sharing of voting data,this thesis uses attribute-based encryption technology to provide fine-grained access control to voting data.A blockchain-based attribute-revocable CP-ABE scheme is proposed to address the problems of high computational overhead,inflexible access policy,low attribute revocation efficiency and inability to achieve attribute revocation in real time in traditional attribute-based encryption schemes.This scheme uses scalar multiplication in the elliptic curve cryptosystem to replace the bilinear pair operation in the traditional CP-ABE scheme,effectively reducing the computational overhead in the system.The access structure is developed using ordered binary decision diagrams,which enhances the expressiveness and flexibility of the access structure.Real-time fine-grained attribute revocation or addition is achieved through the balanced binary tree technique,which improves the efficiency of attribute revocation.The security and performance analyses show that this solution satisfies the criteria of selecting indistinguishable security for plaintext attacks,with low computational overhead and high attribute revocation efficiency.(3)This thesis designs and implements a blockchain-based e-voting system based on the above e-voting scheme,combined with real-life voting needs.By deploying smart contracts into the blockchain platform,it can assist the voting system to smoothly execute various operational processes.This thesis presents the e-voting system analysis,system design and specific system implementation in detail.The system can provide users with safe and reliable voting services and has strong practical value. |