基于区块链和门限暗码的安全投票系统(Python+Django+Node+web3+SQLite3) ...

打印 上一主题 下一主题

主题 844|帖子 844|积分 2532

择要

2022年1月28日,中国创建首个区块链与隐私盘算科技创新平台,为解决多方协作和多方信任等安全性问题提供了有力支持。区块链实现数据可信存储,隐私盘算保护实体机密提供可信盘算,如果将隐私盘算的数据摆设到区块链,并由智能合约触发,那么可以解决传统范畴各种实际问题。本文基于区块链和隐私盘算技术构建了安全的去中化的电子投票应用以解决传统投票系统中的安全隐私问题。
本文提出一种安全电子投票方案。在可信数据安全存储方面,利用区块链及其上运行的智能合约提供信息安全的运行环境。区块链上的信息公开可访问,确保投票记录的公开透明性;智能合约满足条件就主动触发盘算,避免人为的干涉。在可信盘算安全实行方面,利用基于门限暗码体制的盲署名协媾和同态解密算法。首先引入Schnorr盲署名协议,投票署名不完全依赖于单一署名机构,而是由所有署名机构与投票者共同天生。其次,计票统计在不公开解密私钥环境下实行安全盘算,同时零知识证明保证计票机构发布信息的可验证性,增强了方案的结实性。最后,证明了所提方案满足电子方案的根本安全要求,并具有去中心化及鲁棒的特性。
本文计划了一个基于以太坊安全的电子投票系统。首先在python中实现了本方案核默算法,然后在以太坊开发环境完成整个投票系统的搭建与摆设,最后通实验数据综合分析系统的性能,并证明所提方案可应用于大规模的推举活动。
关键词:电子投票;门限暗码体制;盲署名;区块链;隐私盘算
Abstract

On January 28, 2022, China created the first technology innovation platform
for blockchain and privacy computing, providing strong support for solving
security issues such as multi-party collaboration and multi-party trust.
Blockchain realizes trusted storage of data, and privacy computing protects
entity secrets and provides trusted computing. If the data of privacy
computing is deployed to the blockchain and triggered by smart contracts,
various practical problems in the traditional field can be solved. This paper
builds a secure decentralized electronic voting application based on
blockchain and privacy computing technology to solve the security and privacy
issues in traditional voting systems.
This paper proposes a secure electronic voting scheme. In terms of secure
storage of trusted data, the blockchain and the smart contracts running on it
are used to provide a safe operating environment for information. The
information on the blockchain is publicly accessible to ensure the openness
and transparency of voting records; the smart contract will automatically
trigger calculations to avoid human intervention. In terms of secure execution
of trusted computing, blind signature protocols and homomorphic decryption
algorithms based on threshold cryptosystems are used. First, the Schnorr blind
signature protocol is introduced. The voting signature is not completely
dependent on a single signature agency, but is jointly generated by all
signature agencies and voters. Secondly, the voting statistics perform secure
calculations without disclosing the private key for decryption.At the same
time zero-knowledge proof ensures the verifiability of the information
released by the counting agency and enhances the robustness of the scheme.
Finally, it is proved that the proposed scheme meets the basic security
requirements of the electronic scheme, and has the characteristics of
decentralization and robustness.
This paper designs a secure electronic voting system based on Ethereum. First,
the core algorithm of this scheme is implemented in python, then the
construction and deployment of the entire voting system is completed in the
Ethereum development environment, and finally the performance of the system is
comprehensively analyzed through experimental data, and it is proved that the
proposed scheme can be applied to large-scale election activities.
Key words: electronic voting; threshold cryptosystem; blind signature;
blockchain; privacy computing
目次
择要
Abstract
  第一章 绪论
1.1 课题研究背景与意义
1.2 国内外研究近况
1.3 本文的内容
1.4 结构安排
  第二章 相干知识与技术
2.1 区块链相干知识
2.1.1 区块链
2.1.2 以太坊
2.2 暗码学相干知识
2.2.1 代数学知识
2.2.2 ElGamal暗码体制
2.2.3 安全多方盘算
2.2.4 门限暗码体制
2.2.5 可验证机密共享协议VSS
2.2.6 同指数零知识证明SEZ
  第三章 安全的电子投票方案
3.1 电子投票的流程
3.2 电子投票的安全性分析
3.3 改进的协议
3.3.1 门限盲署名协议TBS
3.3.2 可验证的门限解密协议VTC
3.4 符号说明
3.4.1 安全性假设
3.4.2 实体与符号
3.5 投票过程概述
3.6 投票过程详情
3.6.1 准备阶段
3.6.2 密钥共享阶段
3.6.3 署名阶段
3.6.4 投票阶段
3.6.5 计票阶段
3.7 安全性与性能分析
3.7.1 安全性分析
3.7.2 性能分析
3.7.3 性能改进
  第四章 系统计划
4.1 需求分析
4.1.1 参与人员分类
4.1.2 用例表格
4.1.3 非功能需求
4.2 总体计划
4.2.1 系统框架
4.2.2 接口计划
  第五章 系统实现
5.1 环境搭建
5.2 根本算法
5.3 具体计划
5.3.1 管理模块计划
5.3.2 密钥共享模块计划
5.3.3 投票模块计划
5.3.4 计票模块计划
5.3.5 查询模块计划
5.4 实验分析
5.4.1 门限性能分析
5.4.2 智能合约gas分析
  第六章 总结与展望
6.1 总结
6.2 展望
参考文献
致谢
![](https://img-
blog.csdnimg.cn/img_convert/984cc36ca8ed06176bf13cfe47d1285c.png)
![](https://img-
blog.csdnimg.cn/img_convert/53294988728f94ae9da91b74359b77e3.png)
![](https://img-
blog.csdnimg.cn/img_convert/538ffa3b6a6063c69a58456f4c79abaf.png)
![](https://img-
blog.csdnimg.cn/img_convert/14f9ce6545b28bd579944558ee4ece03.png)
![](https://img-
blog.csdnimg.cn/img_convert/17b53e426b3d64bd22989e2258e77718.png)
![](https://img-
blog.csdnimg.cn/img_convert/a25ec2ea335af0e0c834773ce2d95552.png)
![](https://img-
blog.csdnimg.cn/img_convert/4b75259c3b297734da8d4a1d32abe2b5.png)
![](https://img-
blog.csdnimg.cn/img_convert/b26214cfac07b351c87edb508d92919e.png)
![](https://img-
blog.csdnimg.cn/img_convert/2b2af35ec64abf186301f5771ad869d3.png)
![](https://img-
blog.csdnimg.cn/img_convert/e0e2cb2c5a39c4e7ad48adf3bb7914e7.png)
![](https://img-
blog.csdnimg.cn/img_convert/c949568a1faca909250f3a2e0400de3c.png)
![](https://img-
blog.csdnimg.cn/img_convert/4d65d7398294956ca80c54447e466fdd.png)
![](https://img-
blog.csdnimg.cn/img_convert/76e9a0841d26c8604f3368b8d2105761.png)
![](https://img-
blog.csdnimg.cn/img_convert/d5956697dcb5f08a3865854eab80f196.png)
![](https://img-
blog.csdnimg.cn/img_convert/7fd5105815849a2476135aa6ca8fa675.png)
最后

从期间发展的角度看,网络安全的知识是学不完的,而且以后要学的会更多,同学们要摆正心态,既然选择入门网络安全,就不能仅仅只是入门程度而已,能力越强机会才越多。
因为入门学习阶段知识点比较杂,所以我讲得比较笼统,大家如果有不懂的地方可以找我咨询,我保证知无不言言无不尽,需要相干资料也可以找我要,我的网盘里一大堆资料都在吃灰呢。
干货主要有:
①1000+CTF历届题库(主流和经典的应该都有了)
②CTF技术文档(最全中文版)
③项目源码(四五十个有趣且经典的练手项目及源码)
④ CTF大赛、web安全、渗透测试方面的视频(得当小白学习)
⑤ 网络安全学习门路图(告别不入流的学习)
⑥ CTF/渗透测试工具镜像文件大全
⑦ 2023暗码学/隐身术/PWN技术手册大全
如果你对网络安全入门感兴趣,那么你需要的话可以点击这里

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

忿忿的泥巴坨

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表