Blockchain data sharing encryption and decryption method, equipment, and storage medium

A data sharing and encryption method technology, applied in the blockchain field, can solve problems such as low credibility, differences in data calculation results, false information, etc.
CN111385301AActive Publication Date: 2020-07-07湖南智慧政务区块链科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
湖南智慧政务区块链科技有限公司
Publication Date
2020-07-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a blockchain data sharing encryption and decryption method, equipment and a storage medium, which belong to the technical field of blockchains. The blockchain data sharing encryption and decryption method comprises the steps of: creating a homomorphic proxy re-encryption key pair private key A and public key A1 by at least one first party; encrypting a plaintext a to obtaina ciphertext a1; uploading the ciphertext a1 to a blockchain; creating a homomorphic proxy re-encryption key pair private key B and public key B1 by at least one second party; encrypting a plaintextb to obtain a ciphertext b1; uploading the ciphertext b1 to the blockchain; acquiring a public key C1 from an intelligent contract of the blockchain by the first party and the second party; performingproxy re-encryption on the public key C1 and the private key A to obtain a secret key rekey A by the first party, and uploading the secret key rekey A to the blockchain; and performing proxy re-encryption on the public key C1 and the private key B to obtain a secret key rekey B by the second party, and uploading the secret key rekey B to the blockchain, wherein the intelligent contract creates akey pair private C and public key C1 through homomorphic encryption. The blockchain data sharing encryption and decryption method solves the homomorphic problem of conducting safety calculation basedon private data of the blockchain, reduces the interaction process between users and the blockchain and between the users, moves some operations under the chain to the chain, and makes calculation more credible.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of blockchain technology, and in particular, to a blockchain data sharing encryption and decryption method, device and storage medium. Background technique

[0002] Blockchain-based secure computing is a major technical background. Blockchain has the characteristics of openness and transparency. For private data, more encryption calculations are required for data protection. Secure computing is also an important research topic for blockchain to computable private data. The existing technical solution is that the user establishes a secret key sharing scheme under the chain, encrypts the data with the same secret key, and then uploads the data to the chain. The smart contract on the chain performs safe and reliable calculation on the data, and the calculation result is obtained from the chain. After that, the off-chain account decrypts and proves that the calculation is true through zero-knowledge proof, and th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More