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

Blockchain account model privacy protection method based on zero knowledge proof

A zero-knowledge proof and privacy protection technology, applied in the field of privacy protection of blockchain account model based on zero-knowledge proof, can solve the problem of inability to protect user privacy, and achieve the effect of facilitating orderly and paradigm management, and complete confidentiality of transaction amount

Active Publication Date: 2019-06-07
HANGZHOU YUNXIANG NETWORK TECH
View PDF10 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Existing blockchain models based on account models, such as Ethereum, cannot protect the privacy of users. Both parties to the transaction and the amount will be recorded in the block in plain text, and anyone can view these contents. Therefore, the purpose of the present invention is to provide Both parties to the transaction protect privacy

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
  • Blockchain account model privacy protection method based on zero knowledge proof
  • Blockchain account model privacy protection method based on zero knowledge proof
  • Blockchain account model privacy protection method based on zero knowledge proof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] Embodiment 1: Only two participants in the blockchain, the sender A and the receiver B, are considered.

[0060] (1) Assuming that the plaintext balance of account A is to be converted into a zero-knowledge balance, use Mint to convert, as follows:

[0061] 1.1 Define the zero-knowledge conversion function Mint that converts plaintext balances into zero-knowledge balances.

[0062] 1.2 Call Mint to convert plaintext balance to zero-knowledge balance, order Tx Mint =(nonce,pk A ,value,sn A old , cmt A ,proof m ,sig A ), to convert the plain text balance of the specified account, its structure is as follows figure 1 (a) shown.

[0063] Among them: Tx Mint It is the transaction structure of Mint, nonce is a random number; value is the converted plaintext currency value; sn A old The serial number corresponding to the existing zero-knowledge balance before performing the Mint operation for A; cmt A =SHA256(value old +value|sn|r) is the latest zero-knowledge bal...

Embodiment 2

[0107] (1) Account A (public key pk A =0x64cf...) to convert the plaintext balance into a zero-knowledge balance, use Mint to convert:

[0108] The blockchain system generates random numbers nonce=0x3a4d... and r=0x41b9... for A, the converted plaintext value of A is value=0x0a26..., and the system will generate a serial number sn for A A old = 0xed9a..., calculate cmt A =SHA256(value|sn|r)=0x91b2...represents the zero-knowledge balance, and the system generates a zero-knowledge proof proof m =0x724c..., transaction parameters:

[0109] Tx Mint =(nonce,pk A ,value,sn A old , cmt A ,proof m ,sig A )

[0110] Tx Mint=(0x3a4d...,0x64cf...,0x0a26...,0xed9a...,0x91b2...,0x724c...,0x23ca...)

[0111] The Mint operation converts A's plaintext balance into a zero-knowledge balance, namely:

[0112] The balance of account A before Mint: {balance A , cmt A old}

[0113] The balance of account A after Mint: {balance A -value,cmt A}

[0114] proof m For zk-SNARK proo...

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 blockchain account model privacy protection method based on zero knowledge proof. The method comprises the following steps: an account transfer person converts a plaintext balance into a zero knowledge balance; performing transfer operation on the zero-knowledge balance; the account transfer person updates the balance of himself / herself; the payee updates the balance of the payee; and the user converts the zero-knowledge balance into a plaintext balance. According to the method, the zero knowledge proof and the blockchain account model are combined, so that the privacy protection of transaction data is realized, and the data can be effectively prevented from being leaked. According to the technical scheme of the invention, plaintext data transactions are hidden, although both parties know that some unmarked transactions are carried out, a plurality of senders and receivers are generated when many transactions are carried out at the same time, so that both parties of each specific transaction are covered, the two parties of the transaction cannot be corresponded, and the transaction amount is completely confidential.

Description

technical field [0001] The invention belongs to the technical field of blockchain and information security, and in particular relates to a privacy protection method for a blockchain account model based on zero-knowledge proof. Background technique [0002] As a non-tamperable and non-forgeable distributed ledger, the blockchain is essentially a chained data structure. The characteristic of this chained data structure is that the data blocks are combined in a sequential manner in chronological order. The blockchain system is divided into two model systems, UTXO (unspend transaction output) and account. In the account model system, each account is responsible for the corresponding transaction processing, similar to a bank account, which is also the most mature transaction model in our daily life; UTXO refers to the sum of all unspent transactions on the address. Its smallest unit is a transaction, and each transaction corresponds to an amount. Every participant in the blockch...

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): G06F21/62G06Q20/10G06Q40/04
Inventor 黄步添俞之贝杨文龙蔡玉生卢瑞瑞
Owner HANGZHOU YUNXIANG NETWORK TECH
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