Transaction privacy protection method and device, electronic device and storage medium

By generating quantum-resistant key pairs and agent blind signature technology, the problem of quantum computer cracking keys and transaction privacy leakage is solved, and transaction security protection in the post-quantum era is achieved.

CN115733651BActive Publication Date: 2024-08-23JINGDEZHEN CERAMIC UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211043375.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2024-08-23
Estimated Expiration
2042-08-29

AI Technical Summary

Technical Problem

When existing digital signature technology faces the challenge of quantum computers, the keys are easily cracked, leading to the leakage of transaction privacy.

Method used

The target algorithm is used to generate a quantum-resistant key pair, and the agency relationship between the proxy user and the proxy user is established through proxy blind signature technology to protect transaction privacy and ensure data integrity when completing transactions.

Benefits of technology

It effectively avoids the leakage of transaction privacy caused by the key being cracked by quantum computers, and at the same time avoids the leakage of transaction privacy at the agent user, ensuring the security and privacy of the transaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115733651B
    Figure CN115733651B
Patent Text Reader

Abstract

The present application provides a transaction privacy protection method and device, electronic device and storage medium, wherein the method includes: generating a key pair and identity information of a proxy user by using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key; using the key pair and identity information, establishing a proxy relationship between a proxy user and a proxy user, wherein the proxy user is used to complete a transaction between the proxy user and the transaction object on behalf of the proxy user; based on the proxy relationship, completing the transaction between the proxy user and the transaction object through a proxy blind signature, wherein the proxy blind signature is used to protect transaction privacy, complete identity authentication and ensure the data integrity of transaction privacy. Through this application, the problem that keys are easily cracked by quantum computers and transaction privacy is easily leaked in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a transaction privacy protection method and device, an electronic device and a storage medium. Background Art

[0002] Distributed systems (such as computer networks) are widely used in various fields such as military, business, finance and government affairs. However, information transmitted through distributed systems is vulnerable to technical attacks. Therefore, existing technologies use digital signatures to ensure information security, complete identity authentication, and ensure data integrity. Proxy digital signature means that when a user called the original signer cannot personally perform ordinary digital signatures on files or messages for some reason, he entrusts his signature rights to others (called proxy users) as a proxy user, so that they can exercise digital signature rights on his behalf. Proxy signature technology has great application value in many problems and can improve security and speed. However, existing digital signature technology faces the challenge of quantum computers with huge computing power.

[0003] Related technologies have proposed a new cryptographic primitive that generates a key for digital signatures with certain quantum resistance by constructing a preimage sampling trapdoor one-way function based on a small integer solution problem. However, in practical applications, most existing digital signature technologies use traditional cryptographic systems such as large integer decomposition and discrete logarithm problems to update their keys. However, the development of quantum computers is very rapid, and the time to crack the above traditional mathematical problems has reached the level of seconds. At the same time, traditional proxy signature technology allows proxy users to see transaction privacy, which is easy to cause transaction privacy leakage.

[0004] Therefore, it is necessary to study and develop a transaction privacy protection method based on proxy blind signature suitable for the post-quantum era to protect the security of user information in future distributed systems. Summary of the invention

[0005] The present application provides a transaction privacy protection method and device, an electronic device and a storage medium, so as to at least solve the problem in the related technology that keys are easily cracked by quantum computers and transaction privacy is easily leaked.

[0006] According to one aspect of an embodiment of the present application, a transaction privacy protection method is provided, the method comprising:

[0007] Generate a key pair and identity information of the proxied user using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key;

[0008] Using the key pair and the identity information, a proxy relationship is established between the proxy user and the proxy user, wherein the proxy user is used to complete a transaction with a transaction object on behalf of the proxy user;

[0009] Based on the proxy relationship, the transaction between the proxy user and the transaction object is completed through a proxy blind signature, wherein the proxy blind signature is used to protect the transaction privacy, complete identity authentication, and ensure the data integrity of the transaction privacy.

[0010] According to another aspect of the embodiment of the present application, a transaction privacy protection device is also provided, the device comprising:

[0011] A generation module, used to generate a key pair and identity information of the proxied user using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key;

[0012] An establishing module, used to establish a proxy relationship between the proxy user and the proxy user by using the key pair and the identity information, wherein the proxy user is used to complete a transaction with the transaction object on behalf of the proxy user;

[0013] A completion module is used to complete the transaction between the proxied user and the transaction object through a proxy blind signature based on the proxy relationship, wherein the proxy blind signature is used to protect the transaction privacy, complete identity authentication, and ensure the data integrity of the transaction privacy.

[0014] Optionally, the generation module includes:

[0015] An acquisition unit, used for acquiring a preset hash algorithm;

[0016] A first generating unit, used to generate a random independent vector as the identity information of the proxied user and generate a master key and a target matrix using a first preset algorithm;

[0017] A second generating unit, configured to generate public parameters based on the preset hash algorithm, the identity information, the master key and the target matrix, wherein the public parameters are used to generate the key pair;

[0018] A third generating unit, used to generate a first random Gaussian parameter;

[0019] The first processing unit is used to process the public parameters, the master key and the first random Gaussian parameters by using a second preset algorithm to obtain the key pair.

[0020] Optionally, the building module includes:

[0021] A fourth generating unit, configured to generate an authorization proxy file and a second random Gaussian parameter using the proxied user;

[0022] a fifth generating unit, configured to generate an authorization proxy message and an expiration condition of the authorization proxy message by using the proxied user according to the identity information, the private key, the authorization proxy file and the second random Gaussian parameter, wherein the expiration condition is used to determine whether the authorization proxy message is valid;

[0023] A sixth generating unit, configured to generate a first preset probability using the delegated user based on the authorization proxy message and the private key, wherein the first preset probability is a probability that the authorization proxy message is available;

[0024] A first judgment unit is used to use the proxy user to judge whether the authorization proxy message is available based on the first preset probability, and if available, send the authorization proxy message to the proxy user;

[0025] The first verification unit is used to use the proxy user to verify the authorization proxy message based on the expiration condition through the authorization proxy file, the preset hash algorithm and the public key. If the verification is successful, the agency relationship between the proxy user and the proxy user is completed.

[0026] Optionally, the first verification unit includes:

[0027] A first generating submodule, configured to generate a proxy key pair using the proxy user according to the key pair, wherein the proxy key pair includes a proxy private key and a proxy public key;

[0028] The sending submodule is used to send the proxy key pair to the proxy user by using the proxy user.

[0029] Optionally, the completion module includes:

[0030] a seventh generating unit, configured to generate a third random Gaussian parameter using the proxy user and generate a proxy signature commitment according to the proxy public key and the third random Gaussian parameter, wherein the proxy signature commitment is used to determine the identity of the proxy user;

[0031] A sending unit, configured to send the proxy public key and the proxy signature commitment to the transaction object using the proxy user;

[0032] an eighth generating unit, configured to generate a blinding factor using the transaction object according to a Gaussian distribution, wherein the blinding factor is used to perform blinding processing on the transaction privacy;

[0033] A second processing unit is used to perform blinding processing on the original data using the transaction object according to the preset hash algorithm, the proxy public key, the proxy signature commitment and the blinding factor to obtain blinding information, wherein the original data contains the transaction privacy that needs to be protected;

[0034] A ninth generating unit, configured to generate a second preset probability using the transaction object based on the proxy signature commitment, the blinding factor and the blinding information, wherein the second preset probability is a probability that the blinding information is available;

[0035] A second judgment unit is used to use the transaction object to judge whether the blinding information is available based on the second preset probability, and if available, send the blinding information to the proxy user;

[0036] a tenth generating unit, configured to generate a proxy signature using the proxy user based on the proxy private key and the blinding information, and send the proxy signature to the transaction object;

[0037] The second verification unit is used to verify the validity of the proxy signature using the transaction object. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

[0038] Optionally, the tenth generating unit includes:

[0039] A second generating submodule, configured to generate the proxy signature using the proxy user according to the third random Gaussian parameter, the blinding information and the proxy private key;

[0040] A third generating submodule, configured to generate a third preset probability using the proxy user based on the third random Gaussian parameter, the blinding information and the proxy signature, wherein the third preset probability is a probability that the proxy signature is available;

[0041] The first judgment submodule is used to use the proxy user to judge whether the proxy signature is available based on the third preset probability, and if available, send the proxy signature to the transaction object.

[0042] Optionally, the second verification unit includes:

[0043] A first processing submodule, configured to use the transaction object to perform unblinding processing on the proxy signature according to the blinding factor to obtain unblinding information;

[0044] a fourth generating submodule, configured to generate a fourth preset probability using the transaction object based on the proxy signature, the blinding factor and the unblinding information, wherein the fourth preset probability is a probability that the unblinding information is available;

[0045] A second judgment submodule is used to use the transaction object to judge whether the unblinding information is available based on the fourth preset probability, and if available, to obtain an unblinding signature by combining the blinding information and the unblinding information, wherein the unblinding signature is used to verify the validity of the proxy signature;

[0046] A second processing submodule is used to process the unblinded signature using the transaction object according to the proxy public key to obtain unblinded signature information contained in the unblinded signature;

[0047] The verification submodule is used to verify the validity of the proxy signature by using the transaction object through the preset hash algorithm, the original data and the blind signature information. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

[0048] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein the memory is used to store a computer program; and the processor is used to execute the method steps in any of the above embodiments by running the computer program stored in the memory.

[0049] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the method steps in any of the above embodiments when run.

[0050] In an embodiment of the present application, a key pair and identity information of the proxied user are generated by using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key; a proxy relationship between the proxied user and the proxy user is established by using the key pair and identity information, wherein the proxy user is used to complete transactions between the proxied user and the transaction object on behalf of the proxied user; based on the proxy relationship, the transaction between the proxied user and the transaction object is completed by a proxy blind signature, wherein the proxy blind signature is used to protect transaction privacy, complete identity authentication, and ensure the data integrity of transaction privacy. Since the embodiment of the present application first generates a quantum-resistant key pair and identity information by using a target algorithm, then establishes a proxy relationship, and finally completes the transaction by using a proxy blind signature, this not only avoids the leakage of transaction privacy caused by the key being cracked by a quantum computer through the quantum-resistant key, but also avoids the leakage of transaction privacy to the proxy user through the proxy blind signature, solving the problem that the key is easily cracked by a quantum computer and the transaction privacy is easily leaked in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0053] Figure 1 is a flowchart of an optional transaction privacy protection method according to an embodiment of the present application;

[0054] Figure 2 is an optional proxy blind signature flow chart according to an embodiment of the present application;

[0055] Figure 3 is a structural block diagram of an optional transaction privacy protection device according to an embodiment of the present application;

[0056] Figure 4 It is a structural block diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0058] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0059] Quantum computers obtain computing power far exceeding that of classical computers through quantum parallel computing technology. Quantum computers store numbers in exponential form. If the quantum bit is increased to 300, the quantum computer can store more numbers than all the atoms in the universe and can perform calculations at the same time. With high computing power, quantum computers can easily crack traditional keys. Therefore, quantum computers bring huge challenges to blockchains that protect transaction information through keys and other applications that need to protect privacy information. Among them, blockchain is a tamper-proof distributed database that achieves security in each link through a decentralized manner and combined with cryptography, and is widely used. In blockchain technology, transaction information needs to be encrypted and signed by a key. If the key is cracked, especially the key involved in the assets on the blockchain ledger is cracked, the block link relationship of the blockchain ledger will be broken. Blockchain technology is an optional application scenario of the embodiment of the present application. The embodiment of the present application can also be applied to application scenarios such as mobile proxy e-commerce, e-government, e-election, e-auction, and e-cash system that need to protect privacy information.

[0060] Taking into account the need for quantum resistance and avoiding the disclosure of transaction privacy by proxy users, according to one aspect of an embodiment of the present application, a transaction privacy protection method is provided, such as Figure 1 As shown, the process of the method may include the following steps:

[0061] Step S101, using a target algorithm to generate a key pair and identity information of the proxied user, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key.

[0062] Optionally, the proxy user is user i, and the lattice-based trapdoor generation algorithm and the preimage sampling algorithm are used in turn to generate the public-private key pair of user i. The public-private key pair is generated based on the lattice difficult problem and has the property of anti-quantum computing. After that, a random and independent vector is selected as the identity information of user i.

[0063] Step S102, using the key pair and identity information, establish a proxy relationship between the proxy user and the proxy user, wherein the proxy user is used to complete the transaction between the proxy user and the transaction object.

[0064] Optionally, the proxy user is user k, user i generates an authorization proxy message, and generates a proxy key pair for proxy based on its own key pair, and then sends the authorization proxy message and the proxy key pair to user k. The authorization proxy message contains the identity information of user i. After receiving it, user k verifies the validity of the authorization proxy message. If the verification is successful, the proxy relationship between user i and user k is successfully established, and user k can use the above proxy key pair to sign for the proxy user i.

[0065] Step S103, based on the proxy relationship, the transaction between the proxy user and the transaction object is completed through the proxy blind signature, wherein the proxy blind signature is used to protect the transaction privacy, complete identity authentication and ensure the data integrity of the transaction privacy.

[0066] Optionally, the transaction object is user j. Based on the proxy relationship, user k generates a proxy signature commitment, and then sends the proxy signature commitment and the proxy public key to user j. User j blinds the transaction data and sends it to user k. User k then performs a proxy signature based on the blinded transaction data. If the proxy signature is successfully verified by user j, the proxy signature generated by user k on behalf of user i is valid. In the above process, the transaction data is transferred, that is, the transaction between user i and user j is completed. Blockchain is an optional application scenario of the embodiment of the present application. In the blockchain, the proxy user, the proxy user and the transaction object can be blockchain users or blockchain nodes.

[0067] In an embodiment of the present application, a key pair and identity information of the proxied user are generated by using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key; a proxy relationship between the proxied user and the proxy user is established by using the key pair and identity information, wherein the proxy user is used to complete transactions between the proxied user and the transaction object on behalf of the proxied user; based on the proxy relationship, the transaction between the proxied user and the transaction object is completed by a proxy blind signature, wherein the proxy blind signature is used to protect transaction privacy, complete identity authentication, and ensure the data integrity of transaction privacy. Since the embodiment of the present application first generates a quantum-resistant key pair and identity information by using a target algorithm, then establishes a proxy relationship, and finally completes the transaction by using a proxy blind signature, this not only avoids the leakage of transaction privacy caused by the key being cracked by a quantum computer through the quantum-resistant key, but also avoids the leakage of transaction privacy to the proxy user through the proxy blind signature, solving the problem that the key is easily cracked by a quantum computer and the transaction privacy is easily leaked in the related technology.

[0068] As an optional embodiment, using the target algorithm to generate the key pair and identity information of the proxied user includes:

[0069] Get the preset hash algorithm;

[0070] Generate a random independent vector as the identity information of the proxied user and generate a master key and a target matrix using a first preset algorithm;

[0071] Generate public parameters based on a preset hash algorithm, identity information, a master key and a target matrix, wherein the public parameters are used to generate a key pair;

[0072] Generate first random Gaussian parameters;

[0073] The public parameters, the master key and the first random Gaussian parameters are processed using a second preset algorithm to obtain a key pair.

[0074] Optionally, set the hash algorithm:

[0075]

[0076] H 2 :{0,1} * →{v:v∈{-1,0,1} k ,||v||≤λ} (2)

[0077]

[0078] Among them, v is the result of the hash operation, ∈ is the mathematical symbol, ||v|| represents the length of v, the symbol |||| means to find the length, {0,1} is a regular expression, * For the Kleinian star, express is {0,1} * The symbol → indicates that the right side of the arrow is the result of the operation on the left side of the arrow. represents a matrix with n rows and k columns, represents a matrix with m rows and m columns, n is a security parameter, parameter q is a prime number and satisfies q≥2, m, n and k are integers greater than zero and satisfy m≥5nlgq, and λ is a real number greater than zero.

[0079] Select a random independent vector as the identity ID of the proxy user i i , ID i ∈{0,1} * , i = 1, 2, ..., l. Use the first preset algorithm, namely the lattice-based trapdoor generation algorithm TrapGen (q, n, m), to output a matrix in a probabilistic polynomial time PPT Harmony ⊥ A trapdoor lattice corresponding to (A,q) represents a matrix with n rows and m columns, and A satisfies The upper uniform distribution cannot be distinguished, and the lattice basis T A Satisfy with an absolute advantage O represents the computational complexity, and ~ is a mathematical expression. In order to distinguish the parameters, T A as the master key and A as the target matrix.

[0080] Generate public parameters PP = {Α,H 1 ,H 2 ,ID i ∈{0,1}* ,i=1,2,…,l},H in PP 1 ,H 2 They are the above hash algorithms H 1 ,H 2 The name of the

[0081] Generate a random Gaussian parameter s as the first random Gaussian parameter, ω is a parameter.

[0082] Run the original image sampling algorithm SampleMat(A,T A ,s,H 1 (ID i )) is the second preset algorithm, the SampleMat algorithm can output the private key of user i as sk within a probabilistic polynomial time PPT i , ∈ means belongs to, represents a matrix with m rows and k columns, and sk i Satisfied in The uniform distribution cannot be distinguished. i =H 1 (ID i )modq and Where i = 1, 2, ..., l, Represents the grid based on Λ ⊥ (A,q), mod is the remainder function, and the target matrix A is used as the public key of user i, so the key pair is (sk i , A).

[0083] In the embodiment of the present application, a key pair of the proxy user i is generated based on the lattice difficult problem through a lattice-based trapdoor generation algorithm. The key pair can effectively protect the security of system data, has the property of anti-quantum computing, and can hide the user's transaction privacy information, providing anti-quantum security for blockchain or other applications that need to protect privacy information. The problem that the key is easily cracked by quantum computers in the related technology is solved.

[0084] As an optional embodiment, using the key pair and the identity information to establish a proxy relationship between the proxy user and the proxy user includes:

[0085] Generate an authorized proxy file and a second random Gaussian parameter using the proxied user;

[0086] Generate an authorization proxy message and an expiration condition of the authorization proxy message using the proxy user according to the identity information, the private key, the authorization proxy file and the second random Gaussian parameter, wherein the expiration condition is used to determine whether the authorization proxy message is valid;

[0087] Using the delegated user to generate a first preset probability based on the authorization proxy message and the private key, wherein the first preset probability is a probability that the authorization proxy message is available;

[0088] Using the delegated user to determine whether the authorization proxy message is available based on a first preset probability, and if available, sending the authorization proxy message to the proxy user;

[0089] The proxy user verifies the authorization proxy message based on the expiration condition through the authorization proxy file, the preset hash algorithm and the public key. If the verification is successful, the proxy relationship between the proxied user and the proxy user is completed.

[0090] Optionally, the delegated user i generates an authorization proxy file T d , and from the Gaussian distribution Randomly select Gaussian parameters e d As the second random Gaussian parameter, σ=12sλm. Then through the formula:

[0091] z d =H 2 (Α*e d ,H 1 (T d )) (4)

[0092] c d =sk i *z d +e d (5)

[0093] Generate user i's signature message z d and the signed message c d , H 1 (T d ) indicates T d Through the hash algorithm H 1 The hash value after the operation.

[0094] Generate authorization proxy message T i→k , T i→k ←(T d ,ID i ,z d ,c d ) indicates T i→k is (T d ,ID i ,z d ,c d ), that is, T i→k Contains(T d ,ID i ,z d ,c d), the symbol ← indicates that the left side of the arrow is the result of the operation on the right side of the arrow. In order to further enhance the effectiveness and security of the proxy signature, it can be stipulated that the authorization proxy message is only applicable to this transaction or the validity period of the authorization proxy message. If the prescribed validity period is exceeded or it has been used, the authorization proxy message will be invalid.

[0095] Generate the first preset probability as Indicates a very large probability (the probability value is very close to 1), M d Gaussian distribution The first preset probability is the signature message (z d ,c d ) is available, that is, the probability that the authorization agent message is available. If the authorization agent message T i→k If available, T i→k Sent to the proxied user k.

[0096] After user k receives the authorization agent message, he first calculates:

[0097] Ac d -H 1 (T d ) d =A(sk i *z d +e d )-H 1 (T d ) d

[0098] =A*sk i *z d +A*e d -H 1 (T d ) d

[0099] =H 1 (T d ) d +A*e d -H 1 (T d ) d

[0100] =A*e d

[0101] The above calculation process is to use public keys A and T d It is concluded that (z d ,c d ) in the information A*e d .

[0102] Then through the formula:

[0103]

[0104]

[0105] Verify the authorization agent message, where the symbol Indicates whether the two sides are equal. It means judging whether the left side is less than or equal to the right side. If both formula (6) and formula (7) are true, the proxy relationship between user i and user k is successfully established, and user k can perform proxy blind signature on behalf of user i.

[0106] In an embodiment of the present application, by establishing a proxy relationship between the proxy user and the proxy user, the proxy user can perform proxy blind signature on behalf of the proxy user. On the one hand, this avoids the situation where the proxy user is unable to complete the transaction by himself due to certain circumstances, thus affecting the transaction progress. On the other hand, by setting the expiration condition of the authorized proxy message, the effectiveness and security of the proxy relationship are further enhanced.

[0107] As an optional embodiment, before the proxy user verifies the authorization proxy message based on the expiration condition by using the authorization proxy file, the preset hash algorithm and the public key, the method further includes:

[0108] Using the delegated user to generate a proxy key pair according to the key pair, wherein the proxy key pair includes a proxy private key and a proxy public key;

[0109] The proxy key pair is sent to the proxy user by the proxy user.

[0110] Optionally, user i uses his own key pair (sk i , A) Generate a proxy key pair (A) through formulas (8), (9) and (10) d ,S d ):

[0111] B←H 3 (T d ,z d ,c d ) (8)

[0112] A d =A*B (9)

[0113] S d =B T *S (10)

[0114] Among them, B is a matrix, representing the hash algorithm H on the right side 3 The result of the operation. T is the transposed matrix of B, A d is the proxy public key, S dThe proxy private key.

[0115] User i will (sk i , A) is sent to proxy user k.

[0116] In an embodiment of the present application, the proxy private key is generated using the private key of the proxied user and then sent to the proxy user. The proxy user cannot calculate the private key of the proxied user through the proxy private key, thereby protecting the core data of the proxied user. The proxy key pair can meet the requirements of anonymous authentication and non-repudiation.

[0117] As an optional embodiment, based on the proxy relationship, completing the transaction between the proxy user and the transaction object through the proxy blind signature includes:

[0118] Generate a third random Gaussian parameter using the proxy user and generate a proxy signature commitment according to the proxy public key and the third random Gaussian parameter, wherein the proxy signature commitment is used to determine the identity of the proxy user;

[0119] Use the proxy user to send the proxy public key and proxy signature commitment to the transaction object;

[0120] Generate a blinding factor using the transaction object according to Gaussian distribution, where the blinding factor is used to blind the transaction privacy;

[0121] Using the transaction object, blinding the original data according to the preset hash algorithm, proxy public key, proxy signature commitment and blinding factor to obtain blinded information, where the original data contains the transaction privacy that needs to be protected;

[0122] Generate a second preset probability using the transaction object based on the proxy signature commitment, the blinding factor and the blinding information, wherein the second preset probability is the probability that the blinding information is available;

[0123] Using the transaction object to determine whether the blinded information is available based on the second preset probability, and if available, sending the blinded information to the proxy user;

[0124] The proxy user generates a proxy signature based on the proxy private key and blinded information, and sends the proxy signature to the transaction object;

[0125] The transaction object is used to verify the validity of the proxy signature. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

[0126] Optionally, the proxy user k first selects a random Gaussian parameter e as the third random Gaussian parameter, Then generate the proxy signature commitment r, r←A d *e, user k will (r, A d ) is sent to the transaction object, user j.

[0127] User j needs to protect the original transaction information T m To perform blinding processing, first randomly select a blinding factor z from the Ligossian distribution. Then the blinded information x is obtained according to formula (11).

[0128] x=H 2 (r+A d *z,T m ) (11)

[0129] Generate a second preset probability Indicates a very large probability (the probability value is very close to 1), and M is a Gaussian distribution The second preset probability is the probability that x is available. If the blinded information x is available, x is sent to the proxy user k.

[0130] User k uses the proxy private key S d Sign the blinded message x, get the proxy signature u, and send u to user j.

[0131] After user j receives the proxy signature u, he uses the proxy public key A d Unblind and verify the validity of the proxy signature u. If verified, the signature generated by user k on behalf of user i is valid, and user i and user j successfully complete the transaction between the proxy user and the transaction object through the proxy blind signature. If not verified, terminate the proxy blind signature.

[0132] In the embodiment of the present application, by blinding the original transaction data that needs to be protected, the proxy user cannot obtain the original transaction data during the entire process of completing the proxy blind signature, thereby effectively protecting the privacy of both parties to the transaction and solving the problem that the related technology easily leaks the transaction privacy to the proxy user, causing the transaction privacy leakage.

[0133] As an optional embodiment, using the proxy user to generate a proxy signature based on the proxy private key and blinded information, and sending the proxy signature to the transaction object includes:

[0134] Using the proxy user to generate a proxy signature according to the third random Gaussian parameter, the blinding information and the proxy private key;

[0135] Generate a third preset probability using the proxy user based on the third random Gaussian parameter, the blinding information, and the proxy signature, wherein the third preset probability is a probability that the proxy signature is available;

[0136] The proxy user is used to determine whether the proxy signature is available based on a third preset probability, and if available, the proxy signature is sent to the transaction object.

[0137] Optionally, user k obtains the proxy blind signature u through formula (12),

[0138] u=e+xS d (12)

[0139] Generate a third preset probability Indicates a very large probability (the probability value is very close to 1), M 1 Gaussian distribution The third preset probability is the probability that u is available. If the proxy blind signature u is available, u is sent to the transaction object, that is, user j.

[0140] In the embodiment of the present application, the proxy user cannot obtain the original message, which well protects the security of the original information. The proxy blind signature satisfies the needs of identity authentication, transaction information encryption, prevention of forged transaction information, and prevention of transaction parties from denying transaction privacy during the transaction process.

[0141] As an optional embodiment, using the transaction object to verify the validity of the proxy signature includes:

[0142] Using the transaction object to unblind the proxy signature according to the blinding factor to obtain unblinding information;

[0143] Generate a fourth preset probability using the transaction object based on the proxy signature, the blinding factor and the unblinding information, wherein the fourth preset probability is a probability that the unblinding information is available;

[0144] Using the transaction object to determine whether the unblinding information is available based on a fourth preset probability, and if available, combining the blinding information and the unblinding information to obtain an unblinding signature, wherein the unblinding signature is used to verify the validity of the proxy signature;

[0145] The transaction object processes the unblinded signature according to the proxy public key to obtain the unblinded signature information contained in the unblinded signature;

[0146] The transaction object verifies the validity of the proxy signature through a preset hash algorithm, original data and deblinded signature information. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

[0147] Optionally, user j obtains the unblinded signature y according to formula (13), where z is the above-mentioned blinding factor.

[0148] y=z+u (13)

[0149] Generate a fourth preset probability Indicates a very large probability (the probability value is very close to 1), M 2 Gaussian distribution The fourth preset probability is the probability that (y, x) is available. If the deblind signature (y, x) is available, the following calculation is performed:

[0150] A d *yq*x=A d (z+u)-q*x=A d (z+e+S d *x)-q*x=A d *z+A d *e+A d *S d *xq*x=r+A d *z+A*B*B T *S*xq*x=r+A d *z+q*xq*x=r+A d *z.

[0151] The above calculation result is the unblinded signature information, based on which formulas (14) and (15) are verified to be valid.

[0152]

[0153]

[0154] Among them, the symbol Indicates whether the two sides are equal. Indicates whether the left side is less than or equal to the right side, c is the partial authentication message, s is the first random Gaussian parameter mentioned above, if both formula (14) and formula (15) are true, the transaction between user i and user j is successfully completed through the proxy blind signature between the proxied user and the transaction object.

[0155] In the embodiment of the present application, by blinding the original transaction data, the proxy user generates a proxy blind signature when the original transaction data cannot be obtained, and the transaction user then unblinds and verifies the proxy blind signature, thereby effectively protecting the privacy of the original transaction data and solving the problem that the related technology easily leaks the transaction privacy to the proxy user, causing the transaction privacy leakage.

[0156] As an optional embodiment, Figure 2 This is an optional proxy blind signature flow chart according to an embodiment of the present application, and the flow chart steps are:

[0157] The i-th user, i.e. user i, first authorizes the proxy user, the proxy user verifies the validity of the authorization, the proxy user signs on behalf of the i-th user, and the j-th user, i.e. user j, verifies the validity of the proxy user's blind signature. If the blind signature is valid, the i-th user and the j-th user complete the proxy blind signature through the proxy user.

[0158] In the embodiment of the present application, a proxy relationship is first established between user i and the proxy user, and then the proxy user generates a proxy blind signature to complete the transaction between the proxy user and the transaction object, which has a good function of protecting privacy and core data.

[0159] The transaction privacy protection method and device, electronic device and storage medium proposed in the embodiment of the present application first use the lattice-based difficult problem to sign and authenticate the user, which improves the network security, can effectively protect the security of system data, has the properties of anti-quantum computing, and hides the user's sensitive information. Afterwards, the original data that needs to be protected is blinded, and the proxy user cannot obtain the original message during the entire signing process, which well protects the security of the original information. In addition, the proxy private key is generated based on the private key of the proxied user, and the proxy user cannot calculate the private key of the proxied user, which provides protection for the core data of the proxy user and has the function of anonymous verification.

[0160] The above-mentioned transaction privacy protection method and device, electronic device and storage medium are highly secure and have excellent privacy and core data protection functions. They are suitable for blockchain or other applications that require privacy information protection, such as mobile agent e-commerce, e-government, e-elections, e-auctions, and electronic cash systems. They are resistant to quantum computing and can ensure information security in the post-quantum era. They have broad prospects for practical application.

[0161] According to another aspect of an embodiment of the present application, a transaction privacy protection device for implementing the above-mentioned transaction privacy protection method is also provided. Figure 3 is a structural block diagram of an optional transaction privacy protection device according to an embodiment of the present application, such as Figure 3 As shown, the device may include:

[0162] A generation module 301 is used to generate a key pair and identity information of the proxied user using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key;

[0163] Establishing module 302, used to establish a proxy relationship between the proxy user and the proxy user by using the key pair and identity information, wherein the proxy user is used to complete the transaction between the proxy user and the transaction object on behalf of the proxy user;

[0164] The completion module 303 is used to complete the transaction between the proxied user and the transaction object through the proxy blind signature based on the proxy relationship, wherein the proxy blind signature is used to protect the transaction privacy, complete identity authentication and ensure the data integrity of the transaction privacy.

[0165] As an optional embodiment, the generating module includes:

[0166] An acquisition unit, used for acquiring a preset hash algorithm;

[0167] A first generating unit, used to generate a random independent vector as the identity information of the proxied user and generate a master key and a target matrix using a first preset algorithm;

[0168] A second generating unit, used to generate public parameters based on a preset hash algorithm, identity information, a master key and a target matrix, wherein the public parameters are used to generate a key pair;

[0169] A third generating unit, used to generate a first random Gaussian parameter;

[0170] The first processing unit is used to process the public parameters, the master key and the first random Gaussian parameters by using a second preset algorithm to obtain a key pair.

[0171] As an optional embodiment, the establishment module includes:

[0172] A fourth generating unit, used to generate an authorized proxy file and a second random Gaussian parameter using the proxy user;

[0173] A fifth generating unit, configured to generate an authorization proxy message and an expiration condition of the authorization proxy message by using the proxy user according to the identity information, the private key, the authorization proxy file and the second random Gaussian parameter, wherein the expiration condition is used to determine whether the authorization proxy message is valid;

[0174] A sixth generating unit, configured to generate a first preset probability using the delegated user based on the authorization proxy message and the private key, wherein the first preset probability is a probability that the authorization proxy message is available;

[0175] A first judgment unit, configured to use the delegated user to judge whether the authorization proxy message is available based on a first preset probability, and if available, send the authorization proxy message to the proxy user;

[0176] The first verification unit is used to verify the authorization proxy message using the proxy user based on the expiration condition through the authorization proxy file, the preset hash algorithm and the public key. If the verification is successful, the proxy relationship between the proxy user and the proxy user is completed.

[0177] As an optional embodiment, the first verification unit includes:

[0178] A first generating submodule is used to generate a proxy key pair using the proxy user according to the key pair, wherein the proxy key pair includes a proxy private key and a proxy public key;

[0179] The sending submodule is used to send the proxy key pair to the proxy user by using the proxied user.

[0180] As an optional embodiment, the completion module includes:

[0181] a seventh generating unit, configured to generate a third random Gaussian parameter using the proxy user and generate a proxy signature commitment according to the proxy public key and the third random Gaussian parameter, wherein the proxy signature commitment is used to determine the identity of the proxy user;

[0182] A sending unit, used to send a proxy public key and a proxy signature commitment to a transaction object using a proxy user;

[0183] an eighth generating unit, configured to generate a blinding factor using the transaction object according to a Gaussian distribution, wherein the blinding factor is used to perform blinding processing on the transaction privacy;

[0184] The second processing unit is used to perform blinding processing on the original data using the transaction object according to a preset hash algorithm, a proxy public key, a proxy signature commitment and a blinding factor to obtain blinding information, wherein the original data contains transaction privacy that needs to be protected;

[0185] A ninth generating unit, configured to generate a second preset probability using the transaction object based on the proxy signature commitment, the blinding factor and the blinding information, wherein the second preset probability is a probability that the blinding information is available;

[0186] A second judgment unit is used to use the transaction object to judge whether the blinding information is available based on the second preset probability, and if available, send the blinding information to the proxy user;

[0187] a tenth generating unit, configured to generate a proxy signature using the proxy user based on the proxy private key and the blinding information, and send the proxy signature to the transaction object;

[0188] The second verification unit is used to verify the validity of the proxy signature using the transaction object. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

[0189] As an optional embodiment, the tenth generating unit includes:

[0190] A second generation submodule is used to generate a proxy signature using a proxy user according to a third random Gaussian parameter, blinding information and a proxy private key;

[0191] A third generating submodule, configured to generate a third preset probability using the proxy user based on a third random Gaussian parameter, blinding information, and the proxy signature, wherein the third preset probability is a probability that the proxy signature is available;

[0192] The first judgment submodule is used to use the proxy user to judge whether the proxy signature is available based on a third preset probability, and if available, send the proxy signature to the transaction object.

[0193] As an optional embodiment, the second verification unit includes:

[0194] The first processing submodule is used to use the transaction object to unblind the proxy signature according to the blinding factor to obtain unblinding information;

[0195] A fourth generating submodule, used to generate a fourth preset probability based on the proxy signature, the blinding factor and the unblinding information using the transaction object, wherein the fourth preset probability is a probability that the unblinding information is available;

[0196] A second judgment submodule is used to use the transaction object to judge whether the unblinding information is available based on a fourth preset probability, and if available, to obtain an unblinding signature by combining the blinding information and the unblinding information, wherein the unblinding signature is used to verify the validity of the proxy signature;

[0197] The second processing submodule is used to process the unblinded signature using the transaction object according to the proxy public key to obtain the unblinded signature information contained in the unblinded signature;

[0198] The verification submodule is used to verify the validity of the proxy signature using the transaction object through a preset hash algorithm, original data and blind signature information. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

[0199] It should be noted here that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments.

[0200] Figure 4 is a structural block diagram of an optional electronic device according to an embodiment of the present application, such as Figure 4 As shown, it includes a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 communicate with each other through the communication bus 404, wherein,

[0201] Memory 403, used for storing computer programs;

[0202] The processor 401 is used to implement the following steps when executing the computer program stored in the memory 403:

[0203] The target algorithm is used to generate a key pair and identity information of the proxied user, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key;

[0204] Using the key pair and identity information, an agent relationship is established between the agent user and the agent user, wherein the agent user acts on behalf of the agent user to complete transactions with the transaction object;

[0205] Based on the proxy relationship, the transaction between the proxy user and the transaction object is completed through the proxy blind signature, where the proxy blind signature is used to protect the transaction privacy, complete identity authentication, and ensure the data integrity of the transaction privacy.

[0206] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0207] The communication interface is used for communication between the above electronic device and other devices.

[0208] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0209] As an example, Figure 4 As shown, the memory 403 may include, but is not limited to, the generation module 301, the establishment module 302, and the completion module 303 in the transaction privacy protection device. In addition, it may also include, but is not limited to, other module units in the transaction privacy protection device, which will not be repeated in this example.

[0210] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0211] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0212] It can be understood by those skilled in the art that Figure 4 The structure shown is for illustration only. The device for implementing the above-mentioned transaction privacy protection method may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Figure 4 It does not limit the structure of the above electronic device. For example, the terminal device may also include Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 4 Different configurations shown.

[0213] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.

[0214] According to another aspect of the embodiment of the present application, a storage medium is also provided. Optionally, in this embodiment, the storage medium can be used to store program codes for executing the transaction privacy protection method.

[0215] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.

[0216] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:

[0217] The target algorithm is used to generate a key pair and identity information of the proxied user, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key;

[0218] Using the key pair and identity information, an agent relationship is established between the agent user and the agent user, wherein the agent user acts on behalf of the agent user to complete transactions with the transaction object;

[0219] Based on the proxy relationship, the transaction between the proxy user and the transaction object is completed through the proxy blind signature, where the proxy blind signature is used to protect the transaction privacy, complete identity authentication, and ensure the data integrity of the transaction privacy.

[0220] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, which will not be described in detail in this embodiment.

[0221] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk.

[0222] In the description of this specification, the description with reference to the terms "this embodiment", "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless there is any contradiction. In the description of the present disclosure, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0223] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A transaction privacy protection method, characterized in that: The method comprises: Generate a key pair and identity information of the proxied user using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key; The generating of the key pair and identity information of the proxied user by using the target algorithm includes: Obtain a preset hash algorithm, wherein the preset hash algorithm includes: , as well as ,in, is the result of the hash operation, is a mathematical symbol belonging to express The length, symbol Indicates the length. is a regular expression, For the Kleinian star, express for The result of the operation, symbol Indicates that the right side of the arrow is the result of the operation on the left side of the arrow; represents a matrix with n rows and k columns, represents a matrix with m rows and m columns, is a security parameter. is a prime number and satisfies , , and is an integer greater than zero, satisfying , is a real number greater than zero; Generate a random independent vector as the identity information of the proxied user and use the first preset algorithm to generate a master key and a target matrix, wherein the identity information is , , the first preset algorithm is a lattice-based trapdoor generation algorithm, and the master key is , the target matrix is ; Generate public parameters based on the preset hash algorithm, the identity information, the master key and the target matrix, wherein the public parameters are , They are respectively ; Generate a first random Gaussian parameter, wherein the first random Gaussian parameter is , , is a parameter; The public parameter, the master key and the first random Gaussian parameter are processed by a second preset algorithm to obtain the key pair, wherein the second preset algorithm is a pre-image sampling algorithm , the key pair is ( , ), The user generated by the second preset algorithm The private key of Using the key pair and the identity information, a proxy relationship is established between the proxy user and the proxy user, wherein the proxy user is used to complete a transaction with a transaction object on behalf of the proxy user; Based on the proxy relationship, the transaction between the proxy user and the transaction object is completed through a proxy blind signature, wherein the proxy blind signature is used to protect the transaction privacy, complete identity authentication, and ensure the data integrity of the transaction privacy.

2. The method according to claim 1, characterized in that The establishing of a proxy relationship between the proxied user and the proxy user by using the key pair and the identity information includes: Generate an authorization proxy file and a second random Gaussian parameter using the proxied user; Generate an authorization proxy message and an expiration condition of the authorization proxy message by using the proxied user according to the identity information, the private key, the authorization proxy file and the second random Gaussian parameter, wherein the expiration condition is used to determine whether the authorization proxy message is valid; Using the delegated user to generate a first preset probability based on the authorization proxy message and the private key, wherein the first preset probability is a probability that the authorization proxy message is available; Using the delegated user to determine whether the authorization proxy message is available based on the first preset probability, and if available, sending the authorization proxy message to the proxy user; The proxy user verifies the authorization proxy message based on the expiration condition through the authorization proxy file, the preset hash algorithm and the public key. If the verification is successful, the proxy relationship between the proxy user and the proxy user is completed.

3. The method according to claim 2, characterized in that Before the proxy user verifies the authorization proxy message based on the expiration condition through the authorization proxy file, the preset hash algorithm and the public key, the method further includes: Using the delegated user to generate a proxy key pair according to the key pair, wherein the proxy key pair includes a proxy private key and a proxy public key; The proxy key pair is sent to the proxy user by using the proxy user.

4. The method according to claim 3, characterized in that The completing the transaction between the proxy user and the transaction object through the proxy blind signature based on the proxy relationship includes: Generate a third random Gaussian parameter using the proxy user and generate a proxy signature commitment according to the proxy public key and the third random Gaussian parameter, wherein the proxy signature commitment is used to determine the identity of the proxy user; Using the proxy user to send the proxy public key and the proxy signature commitment to the transaction object; Using the transaction object to generate a blinding factor according to Gaussian distribution, wherein the blinding factor is used to blind the transaction privacy; Using the transaction object to blind the original data according to the preset hash algorithm, the proxy public key, the proxy signature commitment and the blinding factor to obtain blinded information, wherein the original data contains the transaction privacy that needs to be protected; Generate a second preset probability using the transaction object based on the proxy signature commitment, the blinding factor and the blinding information, wherein the second preset probability is a probability that the blinding information is available; Using the transaction object to determine whether the blinded information is available based on the second preset probability, and if available, sending the blinded information to the proxy user; Using the proxy user to generate a proxy signature based on the proxy private key and the blinding information, and sending the proxy signature to the transaction object; The transaction object is used to verify the validity of the proxy signature. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

5. The method according to claim 4, characterized in that The generating a proxy signature based on the proxy private key and the blinding information by using the proxy user, and sending the proxy signature to the transaction object comprises: Using the proxy user to generate the proxy signature according to the third random Gaussian parameter, the blinding information and the proxy private key; Using the proxy user to generate a third preset probability based on the third random Gaussian parameter, the blinding information, and the proxy signature, wherein the third preset probability is a probability that the proxy signature is available; The proxy user is used to determine whether the proxy signature is available based on the third preset probability, and if available, the proxy signature is sent to the transaction object.

6. The method according to claim 4, characterized in that The using the transaction object to verify the validity of the proxy signature includes: Using the transaction object to unblind the proxy signature according to the blinding factor to obtain unblinding information; Generate a fourth preset probability using the transaction object based on the proxy signature, the blinding factor and the unblinding information, wherein the fourth preset probability is a probability that the unblinding information is available; Using the transaction object to determine whether the unblinding information is available based on the fourth preset probability, and if available, combining the blinding information and the unblinding information to obtain an unblinding signature, wherein the unblinding signature is used to verify the validity of the proxy signature; Using the transaction object to process the unblinded signature according to the proxy public key to obtain unblinded signature information contained in the unblinded signature; The transaction object verifies the validity of the proxy signature through the preset hash algorithm, the original data and the blind signature information. If the proxy signature is valid, the transaction between the proxy user and the transaction object is successfully completed through the proxy blind signature.

7. A transaction privacy protection device, characterized in that: include: A generation module, used to generate a key pair and identity information of the proxied user using a target algorithm, wherein the key pair includes a public key and a private key, and the target algorithm can generate a quantum-resistant key; The generating of the key pair and identity information of the proxied user by using the target algorithm includes: Obtain a preset hash algorithm, wherein the preset hash algorithm includes: , as well as ,in, is the result of the hash operation, is a mathematical symbol belonging to express The length, symbol Indicates the length. is a regular expression, For the Kleene star, express for The result of the operation, symbol Indicates that the right side of the arrow is the result of the operation on the left side of the arrow; represents a matrix with n rows and k columns, represents a matrix with m rows and m columns, is a security parameter. is a prime number and satisfies , , and is an integer greater than zero, satisfying , is a real number greater than zero; Generate a random independent vector as the identity information of the proxied user and use the first preset algorithm to generate a master key and a target matrix, wherein the identity information is , , the first preset algorithm is a lattice-based trapdoor generation algorithm, and the master key is , the target matrix is ; Generate public parameters based on the preset hash algorithm, the identity information, the master key and the target matrix, wherein the public parameters are , They are respectively ; Generate a first random Gaussian parameter, wherein the first random Gaussian parameter is , , is a parameter; The public parameter, the master key and the first random Gaussian parameter are processed by a second preset algorithm to obtain the key pair, wherein the second preset algorithm is a pre-image sampling algorithm , the key pair is ( , ), The user generated by the second preset algorithm The private key of An establishing module, used to establish a proxy relationship between the proxy user and the proxy user by using the key pair and the identity information, wherein the proxy user is used to complete a transaction with the transaction object on behalf of the proxy user; A completion module is used to complete the transaction between the proxied user and the transaction object through a proxy blind signature based on the proxy relationship, wherein the proxy blind signature is used to protect the transaction privacy, complete identity authentication, and ensure the data integrity of the transaction privacy.

8. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface and the memory communicate with each other via the communication bus, wherein: The memory is used to store computer programs; The processor is configured to execute the steps of the method described in any one of claims 1 to 6 by running the computer program stored in the memory.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 6 when executed by a processor.