Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for protecting privacy of smart contract of block chain, and medium

A technology of smart contracts and protected areas, applied in the field of blockchain, can solve the problems of inability to confirm transaction consistency, lack of transaction validity verification links, etc.

Active Publication Date: 2018-08-17
JUZIX TECH SHENZHEN CO LTD +1
View PDF5 Cites 67 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this scheme cannot confirm the consistency of the transaction, that is, whether the plaintext of the transfer amount X1 and Y1 are consistent, and lacks the verification link for the validity of the transaction

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for protecting privacy of smart contract of block chain, and medium
  • Method for protecting privacy of smart contract of block chain, and medium
  • Method for protecting privacy of smart contract of block chain, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0104] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. Note that the aspects described below in conjunction with the drawings and specific embodiments are only exemplary, and should not be construed as limiting the protection scope of the present invention.

[0105] figure 1 The process flow of an embodiment of the method for protecting the privacy of blockchain smart contracts of the present invention is shown, please refer to figure 1 , the following is a detailed description of the implementation steps of the method of this embodiment.

[0106] Step 1: Prove that the public-private key pair of the node is (sk1,pk1), and obtain the public key pk2 of the transfer node.

[0107] Step 2: Obtain the ciphertext Enc_1(t1)=C of the balance t1 of the proof node encrypted with pk1 in its public ledger, where Enc_A(X) means to perform additive homomorphic encryption on the plaintext X using the public ke...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a method for protecting the privacy of a smart contract of a block chain, which can verify correction of a transaction while covering transaction details, and can verify validity and effectiveness of an operation while protecting the user privacy. The technical scheme of the method is as follows: addition is used for homomorphically encrypting privacy data in the block chain, and non-interactive zero knowledge is generated in the transaction process for proving the effectiveness of the transaction.

Description

technical field [0001] The invention relates to block chain technology, in particular to a method and a medium for protecting the privacy of block chain smart contracts. Background technique [0002] The blockchain is derived from the underlying technology of Bitcoin. It is a chained data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be tamper-proof and unforgeable. Realize a decentralized distributed ledger. In the blockchain system, a node is the basic unit of the blockchain network. Generally, a node corresponds to a computer, saves a copy of the ledger, and can play different roles, such as sending transactions, verifying transactions, and keeping accounts. Each node maintains a consistent public ledger, which records the balance information of each node, and the nodes operate on the public ledger through a certain consensus mechanism. Since the blockchain system is a decentralized distributed ...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L9/32G06Q40/04
CPCG06Q40/04H04L9/3247H04L63/0442H04L63/08
Inventor 谢翔李升林邓燚何德彪张江孙立林
Owner JUZIX TECH SHENZHEN CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products