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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com