摘要
目的解决目前生活中抢购限量商品资源存在的抽签过程难以公开透明展示以及无法验证结果公平性的问题。方法通过可信中心验证参与者身份的合法性,在区块链上记录注册过程信息,使用ELGamal的加密算法保护参与抽签人员的身份数据隐私,并采用智能合约部署派奖程序。结果与结论设计了一种基于区块链智能合约的公平可验证抽签系统,该系统可以实现参与者抽签过程中的注册身份合法性、隐私数据保密性、抽签公平公正性以及结果的可验证性。
Purposes—To solve the problems of rushing to buy limited goods in the current life,the lottery process of resources that is difficult to display openly and transparently,and the fairness of the results which cannot be verified.Methods—The legitimacy of participants'identities is verified through a trusted center,with registration process information recorded on the blockchain,to use ELGamal's encryption algorithm to protect the privacy of the identity data of those participating in the lottery and deploy the prize distribution process using smart contracts.Results and Conclusions—A fair and verifiable lottery system based on smart blockchain contract is designed,the system can realize the legitimacy of registration identity,confidentiality of privacy data,fairness and impartiality of lottery and verifiability of results in the lottery process of participants.
作者
尤毅晨
杜红珍
任蕾
YOU Yi-chen;DU Hong-zhen;REN Lei(School of Mathematics and Information Science,Baoji University of Arts and Sciences,Baoji 721013,Shaanxi,China)
出处
《宝鸡文理学院学报(自然科学版)》
CAS
2023年第4期19-23,共5页
Journal of Baoji University of Arts and Sciences(Natural Science Edition)
基金
教育部人文社科规划基金项目(19YJA790007)。