A method for generating stealth addresses based on ID

Through the ID-based incognito address generation method, the key generator and bilinear pairing technology are used to solve the problems of low privacy protection efficiency and complex certificate management in blockchain, user anonymity and privacy protection are achieved, and blockchain transaction process is simplified.

CN116132027BActive Publication Date: 2025-08-12SHANGHAI AOJIN DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211584713.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2025-08-12
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

In the existing blockchain technology, privacy protection methods are inefficient and cannot effectively protect the privacy of transaction recipients, and certificate management is complex, which affects system efficiency and user operation difficulty.

Method used

The incognito address generation method based on ID is adopted, and the user key is calculated through the key generator PKG initialization and user identity ID, and a temporary public key and key are generated. It is used to create and restore incognito addresses, avoid certificate management, and use bilinear pairing to ensure the randomness and anonymity of addresses.

Benefits of technology

It realizes unconditional anonymity for users under non-certificate authentication, protects user privacy, simplifies blockchain transaction process, and improves system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116132027B_ABST
    Figure CN116132027B_ABST
Patent Text Reader

Abstract

The present invention discloses an ID-based stealth address technical solution in the field of blockchain technology. The system method includes the following steps: Step 1: The key generator PKG is initialized, the system parameter key is made public and sent to the user; Step 2: The user submits his or her identity ID to the key generator PKG; Step 3: The key generator PKG first stores the user's identity ID, and then calculates the user's key through the identity ID; Step 4: The user receives the key and stores it securely; The solution designed by the present invention constructs a stealth address solution under the identity cryptography system, and the user can complete the generation and recovery of the stealth address without certificate authentication. In this process, the user's unconditional anonymity in the transaction process can be guaranteed, and the user's privacy can be protected. At the same time, under the identity-based cryptography system, the certificate management process is avoided, and the process of the solution is simplified.
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 method for generating an ID-based stealth address. Background Art

[0002] With the rapid development of blockchain, privacy protection is gaining increasing attention. As a universal distributed ledger, blockchains lack the control of untrusted third parties, allowing anyone to access information on the blockchain. This poses a certain privacy and security risk. Malicious users can analyze all transactions under the same address and, in turn, analyze the personal information of the transaction owner. Therefore, ensuring user transaction anonymity in blockchains is a critical issue. Currently, researchers both domestically and internationally have proposed, through patents, methods to protect blockchain privacy through zero-knowledge proofs and ring signatures. However, the zero-knowledge proof process is complex and inefficient, making it impractical. Ring signatures can protect the privacy of transaction initiators, but not the privacy of transaction recipients. An effective method for protecting the privacy of transaction recipients is the stealth address scheme employed in CryptoNote. This scheme effectively protects the privacy of transaction recipients, but all current research on stealth addresses has failed to consider the issues surrounding certificate management.

[0003] In the PKI system, all authentication and association between users and public keys is managed and authenticated by a Certificate Authority (CA). In existing stealth address solutions, each user must apply for a certificate, and each address generated requires certificate authentication. This complex process affects the efficiency of blockchain systems and increases user operational complexity.

[0004] To this end, we propose an ID-based stealth address generation method. Summary of the Invention

[0005] The purpose of the present invention is to provide a method for generating an ID-based stealth address to solve the problems raised in the above background technology.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for generating a stealth address based on an ID, the system method comprising the following steps:

[0007] Step 1: The key generator PKG is initialized, system parameters are disclosed and sent to the user;

[0008] Step 2: The user submits his or her identity ID to the key generator PKG;

[0009] Step 3: The key generator PKG first stores the user's identity ID and then calculates the user's key based on the identity ID;

[0010] Step 4: The user receives the key and stores it securely;

[0011] Step 5: When the transaction initiator creates a transaction for the recipient, the transaction initiator first generates a random number as a temporary key and calculates a temporary public key and sends it to the transaction recipient;

[0012] Step 6: The transaction initiator uses the temporary public key, temporary secret key, and recipient ID to calculate the stealth address, uses the stealth address to create a blockchain transaction, and uploads it to the blockchain;

[0013] Step 7: When the transaction recipient needs to retrieve his or her own transaction, he or she uses the temporary public key and temporary secret key to restore the transaction address, and then retrieves the transaction from the blockchain.

[0014] Preferably, the initialization of the public system parameters by the key generator PKG in step 1 includes the following steps:

[0015] Step 1: PGK first generates the security parameter λ, selects the additive cyclic group G1 and the multiplicative cyclic group GT, and arbitrarily selects a generator And the bilinear mapping function ;

[0016] Step 2: PKG cryptographically secure hash function , .

[0017] Step 3: PKG random selection As the master key, and calculate the corresponding master public key .

[0018] Step 4: After PKG executes the system initialization algorithm, it discloses the system parameters .

[0019] Preferably, calculating the user's key through the identity ID includes the following steps:

[0020] Step 1: The user enters the ID, PKG maintains the identity list IDList, and adds the ID to IDList.

[0021] Step 2: PKG calculates the user key and send the USK to the user.

[0022] Preferably, the calculation of the stealth address in step 6 includes the following steps:

[0023] Step 1: The sender enters the recipient's identity And public parameters .

[0024] Step 2: The sender randomly generates a temporary key , and calculate the temporary public key Send to the recipient.

[0025] Step 3: The sender calculates the recipient's blockchain transaction address , and create blockchain transactions.

[0026] Preferably, the step 7 of restoring the transaction address includes the following steps:

[0027] Step 1: The receiver enters the temporary public key R and his own key USK.

[0028] Step 2: The receiver calculates the temporary key TSK= Stealth Address , retrieve the blockchain, if , if the retrieval is successful, it returns 1, otherwise the retrieval fails and it returns 0.

[0029] Compared with the prior art, the beneficial effects of the present invention are as follows: the present technical solution uses bilinear pairing to implement an ID-based key system. In steps 3 and 4 of the algorithm, the temporary key r randomly generated by the sender ensures the randomness of the address, and the temporary public key ensures that the receiver can accurately recover the random address. In the process of address generation and recovery, the accuracy and anonymity of the address are guaranteed by the conversion from r to R and from UPK to USK.

[0030] The solution designed by the present invention constructs a stealth address solution under the identity cryptography system. Users can generate and recover stealth addresses without certificate authentication. In this process, the user's unconditional anonymity during the transaction is guaranteed and the user's privacy is protected. At the same time, under the identity-based cryptography system, the certificate management process is avoided, simplifying the solution process. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is a schematic diagram of the stealth address of the present invention;

[0032] Figure 2 This is a schematic diagram of the user key generation principle of the present invention;

[0033] Figure 3 This is a schematic diagram of the generation and recovery of transaction addresses in the present invention. DETAILED DESCRIPTION

[0034] Example 1: Please refer to Figure 1-3 , the present invention provides a technical solution:

[0035] A method for generating an ID-based stealth address, the system method comprising the following steps:

[0036] Step 1: The key generator PKG is initialized, the system parameter key is made public and sent to the user;

[0037] Step 2: The user submits his or her identity ID to the key generator PKG;

[0038] Step 3: The key generator PKG first stores the user's identity ID and then calculates the user's key based on the identity ID;

[0039] Step 4: The user receives the key and stores it securely;

[0040] Step 5: When the transaction initiator creates a transaction for the recipient, the transaction initiator first generates a random number as a temporary key and calculates a temporary public key and sends it to the transaction recipient;

[0041] Step 6: The transaction initiator uses the temporary public key, temporary secret key, and recipient ID to calculate the stealth address, uses the stealth address to create a blockchain transaction, and uploads it to the blockchain;

[0042] Step 7: When the transaction recipient needs to retrieve his or her own transaction, he or she uses the temporary public key and temporary secret key to restore the transaction address, and then retrieves the transaction from the blockchain.

[0043] Example 2: Please refer to Figure 1-3 Based on the first embodiment, the present invention provides a technical solution:

[0044] A stealth address generation method based on ID, the algorithm is as follows:

[0045] 1. System initialization:

[0046] 1.1. PGK first generates the security parameter λ, selects the additive cyclic group G1 and the multiplicative cyclic group GT, and arbitrarily selects a generator And the bilinear mapping function .

[0047] 1.2. PKG Cryptographically Secure Hash Function , .

[0048] 1.3. PKG random selection As the master key, and calculate the corresponding master public key .

[0049] 1.4. After PKG executes the system initialization algorithm, it discloses the system parameters .

[0050] 2. Key generation:

[0051] 2.1. The user enters the ID, PKG maintains the identity list IDList, and adds the ID to the IDList.

[0052] 2.2、PKG calculates user key and send the USK to the user.

[0053] 3. Address generation:

[0054] 3.1. The sender enters the recipient's identity And public parameters .

[0055] 3.2. The sender randomly generates a temporary key , and calculate the temporary public key Send to the recipient.

[0056] 3.3. Sender Calculation , and create blockchain transactions.

[0057] 4. Address recovery:

[0058] 4.1. The receiver inputs the temporary public key R and its own key USK.

[0059] 4.2. The receiver calculates the temporary key TSK= Stealth Address , retrieve the blockchain, if , if the retrieval is successful, it returns 1, otherwise the retrieval fails and it returns 0.

[0060] The correctness proof of this scheme requires ensuring that the stealth address is computationally correct:

[0061]

[0062] If this equation holds, the transaction recipient can correctly recover the stealth address, indicating that the stealth address is computationally correct.

[0063] This technical solution uses bilinear pairing to implement an ID-based key system. In steps 3 and 4 of the algorithm, the temporary key r randomly generated by the sender ensures the randomness of the address, and the temporary public key ensures that the receiver can accurately recover the random address. During the address generation and recovery process, the accuracy and anonymity of the address are guaranteed by the conversion from r to R and from UPK to USK.

[0064] The solution designed by the present invention constructs a stealth address solution under the identity cryptography system. Users can generate and recover stealth addresses without certificate authentication. In this process, the user's unconditional anonymity during the transaction is guaranteed and the user's privacy is protected. At the same time, under the identity-based cryptography system, the certificate management process is avoided, simplifying the solution process.

Claims

1. A method for generating an ID-based stealth address, characterized by: The systematic approach includes the following steps: Step 1: The key generator PKG is initialized, system parameters are disclosed and sent to the user; Step 2: The user submits his or her identity ID to the key generator PKG; Step 3: The key generator PKG first stores the user's identity ID and then calculates the user's key based on the identity ID; Step 4: The user receives the key and stores it securely; Step 5: When the transaction initiator creates a transaction for the recipient, the transaction initiator first generates a random number as a temporary key and calculates a temporary public key and sends it to the transaction recipient; Step 6: The transaction initiator uses the temporary public key, temporary secret key, and recipient ID to calculate the stealth address, uses the stealth address to create a blockchain transaction, and uploads it to the blockchain; Step 7: When the transaction recipient needs to retrieve his or her own transaction, he or she uses the temporary public key and temporary secret key to restore the transaction address, and then retrieves the transaction from the blockchain.

2. The method for generating an ID-based stealth address according to claim 1, wherein: The key generator PKG in step 1 initializes the public system parameters and includes the following steps: Step 1: PGK first generates the security parameter λ, selects the additive cyclic group G1 and the multiplicative cyclic group GT, and arbitrarily selects a generator And the bilinear mapping function ; Step 2: PKG cryptographically secure hash function , ; Step 3: PKG random selection As the master key, and calculate the corresponding master public key ; Step 4: After PKG executes the system initialization algorithm, it discloses the system parameters .

3. The ID-based stealth address generation method according to claim 2, characterized in that: Calculating the user's key from the identity ID includes the following steps: Step 1: The user enters the ID, PKG maintains the identity list IDList, and adds the ID to IDList; Step 2: PKG calculates the user key and send the USK to the user.

4. The method for generating an ID-based stealth address according to claim 3, wherein: Calculating the stealth address in step 6 includes the following steps: Step 1: The transaction initiator enters the recipient's identity and system parameters ; Step 2: The transaction initiator randomly generates a temporary key , and calculate the temporary public key Send to the recipient; Step 3: The transaction initiator calculates the recipient's blockchain transaction address , and create blockchain transactions.

5. The method for generating an ID-based stealth address according to claim 4, wherein: Restoring the transaction address in step 7 includes the following steps: Step 1: The receiver enters the temporary public key R and his own key USK; Step 2: The receiver calculates the temporary key TSK= Stealth Address , retrieve the blockchain, if , if the retrieval is successful, it returns 1, otherwise the retrieval fails and it returns 0.

Citation Information

Patent Citations

  • Invisible address implementation method capable of being supervised by third party

    CN106788985A

  • KR20220085568A