| In the application and development of blockchain,in order to ensure that all transaction nodes and data cannot be modified,the ledger is completely open and transparent.The disclosure of the ledger will lead to the leakage and utilization of transaction privacy data in some industries.Moreover,in the practical application of blockchain,it is not only necessary to encrypt private data,but also to supervise the ledger efficiently.Therefore,this paper proposes a blockchain verification and supervision mechanism based on zero-knowledge proof and attribute-based encryption,which solves the problem of Protection of private data in blockchain transactions and efficient supervision of encrypted data in the ledger.1.Combine zero-knowledge proof encryption and attribute-based encryption to prove and analyze their feasibility and security.The blockchain transaction process is designed into three stages:initialization stage,transaction initiation stage,and verification and supervision stage.In the first two stages,the parameters,commitment function and attribute set of zero-knowledge proof are prepared,and privacy encryption and supervision are carried out in the verification and supervision stage.The Hyperledger Fabric technology with modular and flexible configuration is selected,and the encryption algorithm of the scheme is developed into a chain code service and smart contract,which are used for invocation during privacy encryption.2.Combine zero-knowledge proof encryption and attribute-based encryption to prove and analyze their feasibility and security.The blockchain transaction process is designed into three stages:initialization stage,transaction initiation stage,and verification and supervision stage.In the first two stages,the parameters,commitment function and attribute set of zero-knowledge proof are prepared,and privacy encryption and supervision are carried out in the verification and supervision stage.The Hyperledger Fabric technology with modular and flexible configuration is selected,and the encryption algorithm of the scheme is developed into a chain code service and smart contract,which are used for invocation during privacy encryption. |