| With the in-depth development of mobile Internet,in order to solve the problem of consensus between the two sides who do not trust each other,more and more enterprise-level scenarios begin to use decentralized means to solve the problem.Blockchain technology has gradually entered people’s lives,and its privacy issues have gradually emerged.Privacy protection is an important task that needs to be solved urgently for the implementation of enterprise blockchain projects.Due to the lack of access mechanism in traditional public chain projects,low trust among participants,and the open storage of transaction ledgers,they are easily attacked by malicious nodes and are not suitable for storage of enterprise data.Based on the new generation of consortium chain project Hyperledger Fabric and cryptography zero-knowledge proof,this paper designs and implements a blockchain privacy protection model that is completely anonymous for the identity privacy protection and transaction content privacy protection of both parties to the transaction.On this basis,this paper designs and implements a fabric-based blockchain privacy protection transaction system in a real-world scenario.1.1.This paper defines the privacy content and scene of the privacy protection model based on zero knowledge proof.In order to solve the problem of sender privacy in the process of transaction,this paper proposes a scheme of using one-time ring signature,which realizes that all possible senders are equal probability for each transaction.In order to solve the privacy problem of the receiver,a scheme of using anonymous address is proposed,which makes every transaction untraceable.Aiming at the problem of message privacy,the message commitment scheme using the non-interactive Schnorr protocol in the message pool and the transaction privacy protection scheme of elliptic curve encryption used in on-chain transactions are proposed,which realizes the confidentiality of messages in the transaction process.Finally,a feasible blockchain privacy protection model is designed according to the above four schemes to achieve a completely anonymous transaction.Finally,the correctness and security of the model are analyzed.2.This paper analyzes the feasibility of implementing privacy protection in the Hyperledger Fabric project.This paper designs a block with data trading platform,client SDK and blockchain nodes from four aspects:Fabric platform building module,privacy protection trading platform module,contract calling module and chain code module.Chain privacy transaction system.3.This paper combines HyperLeger framework,SpringBoot technology and React technology to realize a complete blockchain privacy protection system with secure and anonymous transaction process.The article evaluates the function and performance of the system,and analyzes the advantages and disadvantages of the privacy protection model based on zero-knowledge proof in practical applications. |