Lightweight quantum digital signature and quantum digital signcryption method

By only performing the issuance and verification functions of signature certificates in the CA certification center, combined with one-time certificates and hash functions, the problem of quantum digital signatures' resource burden and security on the CA certification center is solved, and the integrity and insecurity of data transmission are achieved. Non-repudiation prevents third parties from obtaining communication data.

CN118784243AActive Publication Date: 2024-10-15MATRICTIME DIGITAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410935128.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-15
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

The existing quantum digital signature method imposes a large resource burden on the CA certification center and may leak communication data between users, affecting the security of the signature.

Method used

By only performing the issuance and verification functions of signature certificates in the trusted CA center, we avoid storing the content of communication messages between users, and use one-time certificates and hash functions for data signing and verification to ensure the authenticity of data during transmission. Integrity and non-repudiation.

Benefits of technology

It reduces the load pressure on the CA certification center, improves resource utilization, ensures the security of quantum digital signatures, prevents third parties from obtaining communication data, and enhances the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784243A_ABST
    Figure CN118784243A_ABST
Patent Text Reader

Abstract

The invention discloses a lightweight quantum digital signature and quantum digital signcryption method, and the method comprises the steps: a user A generates a request req for carrying out the quantum digital signature of data M, and transmits the request req to a trusted CA center; a user A registers in the trusted CA center, and negotiates with the trusted CA center to generate and store a one-time certificate for signature; the user A signs the data M to generate a signature file M-SIGN; the user A generates a transmission file DOC based on the signature file M-SIGN and sends the transmission file DOC to the user B, and the user B executes signature verification operation on the signature file M-SIGN in the transmission file DOC. A user A signs data M by using a signature certificate otCA, a public CA certificate CA1A of the user A and the like, so that binding between the sent data M and the identity of the user A is realized; and the communication data is only transmitted between the user A and the user B, and cannot be received by a third party, so that the communication data cannot be known by an irrelevant third party.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital signatures, and in particular to a lightweight quantum digital signature and a quantum digital signcryption method. Background Art

[0002] Digital signature is a method of authenticating the authenticity of messages that has emerged with the rapid development of social digitization and informatization. It can verify whether the message has been tampered with during the transmission process and ensure the integrity, authenticity and non-repudiation of data transmission.

[0003] Application No. 2022101851462 proposes a digital signature method, which includes: the CA certification center registered by user A and the two communicating parties together constitute the three participants of the quantum signature to perform unconditional and secure quantum signature, in which the quantum signature needs to join the "one-time one-identity" generated in the previous process to complete the complete quantum signature. Among them, the CA (Certificate Authority) certification center, as the verification party in the quantum signature process, needs to receive the file to be signed forwarded from user B, which contains the message content sent by user A to user B.

[0004] The message content may be relatively large, so when the CA Certification Center performs the verification of the quantum signature, it is necessary to reserve a large resource space to receive and store the message content. Even more, when many users apply for the verification of the quantum signature at the same time, it is necessary to reserve a larger resource space to receive and store the message content. However, for the CA Certification Center, these message contents are not sent to the CA Certification Center, that is, these message contents that occupy a large storage capacity are only used in the verification process of the time, and are meaningless at other times. Therefore, the CA Certification Center receives the message content communicated between the two users for verification, which will cause a great resource burden on the CA Certification Center, and over time, it may affect the efficiency of the center. In addition, as the two users of the digital signature, they often do not want a third party to know the content of the file signed by both parties.

[0005] In view of this, how to reduce the resource burden of CA certification centers in the process of quantum digital signatures, ensure the efficiency of CA certification centers, and at the same time ensure the security of quantum digital signatures is a technical issue that the industry is currently concerned about. Summary of the invention

[0006] Purpose of the invention: The purpose of the present invention is to provide a lightweight quantum digital signature and quantum digital signcryption method, which solves the problem that the current quantum digital signature imposes a heavy resource burden on the CA certification center, and also solves the problem that the third party knows the files signed by both parties, which affects the security of the quantum digital signature. The trusted CA center of the present invention only needs to issue the signature certificate in the quantum digital signature process and provide the verification function of the signature certificate, without sharing its own storage resources to store the communication message content between users, which reduces the load pressure of the trusted CA center and ensures the security of the quantum digital signature.

[0007] Technical solution: The present invention provides a lightweight quantum digital signature method, which includes the following steps:

[0008] (1) User A generates a request req for quantum digital signature of data M and sends the request req to the trusted CA center. The request req includes the serial number No of the quantum digital signature;

[0009] (2) User A registers with the trusted CA center, and then obtains and stores the public CA user certificate of User A from the trusted CA center. 1A , Privacy CA User Certificate CA 2A and the organization information ca of the trusted CA center; then, user A negotiates with the trusted CA center to generate and store a one-time certificate for signing, namely the first certificate otCA;

[0010] (3) User A uses the first certificate otCA, serial number No, and user A's public CA certificate CA 1A , the organization information ca of the trusted CA center jointly signs the data M to generate a signature file M-SIGN;

[0011] (4) User A generates a transmission file DOC based on the signature file M-SIGN and sends it to user B; user B receives the transmission file DOC and performs a signature verification operation on the signature file M-SIGN in the transmission file DOC. If the signature verification passes, user B receives the data M in the signature file M-SIGN; otherwise, user B refuses to receive it, and the quantum digital signature process ends.

[0012] Furthermore, the specific process of user A negotiating with the trusted CA center to generate and store a one-time certificate for signing is as follows:

[0013] 1) User A obtains a set of keys u1 from the local key pool as random numbers to generate an irreducible polynomial p1(x), and then records the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p1(x) as str1;

[0014] 2) User A negotiates a set of keys (u2, u3, u4) with the trusted CA center, and then user A generates a hash function based on the irreducible polynomial p1(x) and key u2 Use this hash function Calculate the privacy CA user certificate CA obtained from user A locally 2A The first hash value is obtained Use key u3 to XOR encrypt the hash value and get the first certificate

[0015] 3) User A uses the key u4 negotiated with the trusted CA center to encrypt the string str1 to obtain Then the first certificate otCA and Sent to the trusted CA center, Sent to the trusted CA center; the trusted CA center receives and decrypts using the negotiated key (u3, u4) to obtain the second hash value and string str1′; the trusted CA center uses the coefficients of each item of the polynomial except the highest item of each bit of the decrypted string str1′ to generate an irreducible polynomial p′1(x) with the highest item coefficient of 1, and generates a hash function based on the irreducible polynomial p′1(x) and the key u2 Using a hash function Calculate the private CA user certificate CA of user A obtained locally from the trusted CA center 2A The third hash value is

[0016] The trusted CA center will calculate the third hash value and the second hash value after decryption A comparison is performed. If they are consistent, the authentication is successful, and the trusted CA center stores the first certificate otCA, and associates the first certificate otCA with the serial number No in the request req, that is, stores (No, otCA); if they are inconsistent, the authentication fails, and user A renegotiates with the trusted CA center to generate a one-time certificate for signing.

[0017] Furthermore, the specific process of user A generating a transmission file DOC based on the signature file M-SIGN and sending it to user B is as follows:

[0018] First, user A obtains a set of keys v1 from the local key pool as random numbers to generate an irreducible polynomial p2(x). After obtaining the irreducible polynomial, the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p2(x) is recorded as str2;

[0019] Next, user A and user B negotiate a set of keys (v2, v3, v4). User A generates a hash function based on the irreducible polynomial p2(x) and key v2. Using a hash function Calculate the hash value of the signature file M-SIGN Then use the key (v3, v4) to encrypt the hash value and string str2, and then generate the transmission file DOC,

[0020]

[0021] User A sends the transfer file DOC to user B.

[0022] Furthermore, the specific process of user B receiving the transmission file DOC and performing the signature verification operation on the signature file M-SIGN in the transmission file DOC is as follows:

[0023] S1: User B receives the transmission file DOC and uses the negotiated key (v3, v4) to and Decrypt and obtain the hash value of the decrypted signature file and string str2′;

[0024] S2: User B addresses the trusted CA center based on the organization information ca of the trusted CA center in the signature file M-SIGN in the received transmission file DOC, and establishes a connection with the trusted CA center;

[0025] S3: User B negotiates with the trusted CA center for the transmission key k1. User B uses the transmission key k1 to encrypt the serial number No in the signature file M-SIGN in the received transmission file DOC and the first certificate otCA into ciphertext Send to the trusted CA center;

[0026] S4: The trusted CA center receives the ciphertext The negotiated key k1 is used to decrypt (No′, otCA′). The trusted CA center finds the locally stored serial number No based on the decrypted serial number No′, and further obtains the first certificate otCA stored in association with the serial number No. The decrypted certificate otCA′ is compared with the locally stored first certificate otCA to see if they are consistent. If they are consistent, the trusted CA center sends a certificate verification success message to user B and proceeds to the next step; otherwise, the trusted CA center sends a certificate verification failure message to user B, the signature verification fails, and the quantum digital signature process ends;

[0027] S5: User B uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str2′ to generate an irreducible polynomial p′2(x) with the highest item coefficient being 1, and generates a hash function based on the irreducible polynomial p′2(x) and the key v2 Then, user B uses the hash function Calculate the hash value of the received signature file M-SIGN to obtain Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B performs signature verification on the signature file M-SIGN and passes it, and user B receives the data M in the signature file M-SIGN; if they are inconsistent, the signature verification fails, user B refuses to receive the data M in the signature file M-SIGN, and the quantum digital signature process ends.

[0028] Furthermore, the specific process of user A negotiating with the trusted CA center to generate and store a one-time certificate for signing may be:

[0029] A1: User B obtains and stores the public CA user certificate of user B from the trusted CA center 1B and Privacy CA User Certificate CA 2B The trusted CA center also stores user B's public CA user certificate CA 1B and Privacy CA User Certificate CA 2B ; Then, user A obtains user B's public CA user certificate from the trusted CA center 1B ;

[0030] A2: User A obtains a set of keys u1 from the local key pool as random numbers to generate an irreducible polynomial p1(x), and then records the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p1(x) as str1;

[0031] A3: User A negotiates a set of keys (u2, u3, u4, u5) with the trusted CA center, and then user A generates a hash function based on the irreducible polynomial p1(x) and key u2 Use this hash function Calculate the privacy CA user certificate CA obtained from user A locally 2A The first hash value is obtained Use key u3 to XOR encrypt the hash value and get the first certificate

[0032] A4: User A uses the keys u4 and u5 negotiated with the trusted CA center to encrypt the string str1 and user B's public CA user certificate CA respectively. 1B get and Then the first certificate otCA, and Sent to the trusted CA center, Sent to the trusted CA center; the trusted CA center receives and decrypts using the negotiated key (u3, u4, u5) to obtain the second hash value String str1′ and public CA user certificate CA′ 1B The trusted CA center uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str1′ to generate an irreducible polynomial p′1(x) with the highest item coefficient of 1, and generates a hash function based on the irreducible polynomial p′1(x) and the key u2 Using a hash function Calculate the private CA user certificate CA of user A obtained locally from the trusted CA center 2A The third hash value is

[0033]

[0034] The trusted CA center will calculate the third hash value and the second hash value after decryption Compare and verify. If they are consistent, the authentication is passed. The trusted CA center stores the first certificate otCA and verifies the public CA user certificate CA′ 1B Get the private CA user certificate of user B from the local CA 2B , the first certificate otCA, the serial number No in the request req, and the public CA user certificate CA′ 1B and Privacy CA User Certificate CA 2B Perform associated storage, that is, store (No,otCA,CA′ 1B ,CA 2B ); if they are inconsistent, the authentication fails, and user A renegotiates with the trusted CA center to generate a one-time certificate for signing.

[0035] Furthermore, the specific process of user B receiving the transmission file DOC and performing the signature verification operation on the signature file M-SIGN in the transmission file DOC may be:

[0036] B1: User B receives the transmission file DOC and uses the negotiated key (v3, v4) to and Decrypt and obtain the hash value of the decrypted signature file and string str2′;

[0037] B2: User B negotiates with the trusted CA center for the transmission key k1. User B uses the transmission key k1 to convert the serial number No in the signature file M-SIGN in the received transmission file DOC, the first certificate otCA, and its own locally stored privacy CA user certificate CA 2B Encrypted Send to the trusted CA center;

[0038] B3: Received by the trusted CA center Decrypted using the negotiated key k1, we get (No″,otCA′,CA 2B ′); then the trusted CA center verifies the identity of user B. After the verification is passed, the locally stored serial number No is found based on the decrypted serial number No″, and the first certificate otCA associated with the serial number No is further obtained. The decrypted certificate otCA′ is compared with the locally stored first certificate otCA to see if they are consistent. If they are consistent, the trusted CA center sends a certificate verification success message to user B and proceeds to the next step; otherwise, the trusted CA center sends a certificate verification failure message to user B, the signature verification fails, and the quantum digital signature process ends;

[0039] B4: User B uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str2′ to generate an irreducible polynomial p′2(x) with the highest item coefficient as 1, and generates a hash function based on the irreducible polynomial p′2(x) and the key v2 Then, user B uses the hash function Calculate the hash value of the received signature file M-SIGN to obtain Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B performs signature verification on the signature file M-SIGN and passes it, and user B receives the data M in the signature file M-SIGN; if they are inconsistent, the signature verification fails, user B refuses to receive the data M in the signature file M-SIGN, and the quantum digital signature process ends.

[0040] Furthermore, the specific process of the trusted CA center verifying the identity of user B is as follows:

[0041] The trusted CA center finds the locally stored serial number No based on the decrypted serial number No″, and further obtains the private CA user certificate CA associated with the serial number No. 2B If the stored private CA user certificate CA 2B and the decrypted certificate CA′ 2B If they are consistent, user B’s identity verification passes and certificate verification is performed; otherwise, the verification fails and the trusted CA center refuses to perform certificate verification.

[0042] Furthermore, the specific process of the trusted CA center verifying the identity of user B is as follows:

[0043] C1: User B obtains a set of keys w1 from the local key pool as random numbers to generate an irreducible polynomial p3(x). After obtaining the irreducible polynomial, the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p3(x) is recorded as str3;

[0044] C2: User B negotiates the key (w2, w3, w4, w5) with the trusted CA center. User B generates a hash function based on the irreducible polynomial p3(x) and the key w2. Using a hash function Calculate user B privacy CA user certificate CA 2B The hash value is obtained

[0045] C3: User B uses the negotiated keys (w3, w4, w5) to encrypt the received sequence number and hash value and string str3 gets Then send it to the trusted CA center;

[0046] C4: The trusted CA center uses the negotiated key (w3, w4, w5) to decrypt and obtain the serial number No″′ and hash value and string str3′; the trusted CA center generates an irreducible polynomial p′3(x) with a highest term coefficient of 1 based on the coefficients of each polynomial corresponding to each bit of the decrypted string str3′, and generates a hash function based on the irreducible polynomial p′3(x) and the negotiated key w2 The trusted CA center finds the locally stored serial number No based on the decrypted serial number No″′, and then further obtains the private CA user certificate CA associated with the serial number No. 2B , and then use the generated hash function Calculate the private CA user certificate CA stored in association with serial number No 2B The hash value is obtained Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B’s identity verification is successful and certificate verification is performed; otherwise, the verification fails and the trusted CA center refuses to perform certificate verification.

[0047] The present invention also includes a lightweight quantum digital signcryption method, the method comprising the following steps:

[0048] a. Encryption: User A encrypts data M using encryption key a to obtain ciphertext

[0049] b. Digitally sign the ciphertext m by the quantum digital signature method described in any one of claims 1 to 8, and sign the ciphertext m in the digital signature process to form a signature file; and user A also sends the encryption key a to user B in an unconditionally secure manner;

[0050] c. After completing the quantum digital signature, user B decrypts the ciphertext m according to the encryption key a to obtain the plaintext data M. The plaintext data M is the message that needs to be transmitted.

[0051] Furthermore, in step b, the unconditionally secure method is implemented by using quantum key distribution technology or secure distribution of quantum random numbers.

[0052] Beneficial effects of the present invention:

[0053] (1) The quantum digital signature method proposed in the present invention reduces the load pressure of the trusted CA center while ensuring the security of the quantum digital signature. The trusted CA center only needs to issue the signature certificate in the quantum digital signature process and provide the signature certificate verification function. It does not need to share its own storage resources to store the communication message content between users, nor does it need to consume its own computing power resources to verify the signature of the message content. In this way, the trusted CA center can effectively use its own limited storage resources, improve resource utilization, and reduce the hardware cost of the trusted CA center.

[0054] (2) Through the quantum digital signature method proposed by the present invention, user A uses the signature certificate otCA and its own public CA certificate CA 1A , the organization information ca of the trusted CA center jointly signs the data M. This signing process realizes the binding of the sent data M with the identity of user A, and truly plays the role of user A signing the data M. Moreover, the quantum digital signature method of the present invention can ensure the integrity (i.e., non-tamperability) and non-repudiation of the data during the transmission process, thereby ensuring the security of data transmission. Moreover, the communication data is only transmitted between users A and B, and no third party will receive the communication data, thereby ensuring that the communication data will not be known by irrelevant third parties.

[0055] (3) Using the quantum digital signcryption method proposed in the present invention, before user B performs the last decryption operation, all the aforementioned steps are performed on the ciphertext m, which reduces the risk of leakage of the plaintext data M and improves the security of the data transmission process. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1A schematic diagram of the connection between the participants of the quantum digital signature method of the present invention;

[0057] Figure 2 It is a schematic diagram of the flow chart of the quantum digital signature method of the present invention. DETAILED DESCRIPTION

[0058] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:

[0059] As mentioned in the background technology, as the verification party in the digital signature process, the CA certification center needs to receive the message content communicated between users. The load size of the message content becomes a resource burden for the CA certification center. In view of this, this application proposes a lightweight quantum digital signature method.

[0060] like Figure 1 As shown, the lightweight quantum digital signature participants proposed in this application include two-to-two connected user A, user B and a trusted CA center. Among them, user A is the data sender and signer, user B is the data receiver and signature verifier, and the trusted CA center is used to provide user A's signature for this quantum digital signature process. The trusted CA center here can use the method in the patent with application number 2022101851462 described in the background technology to obtain its own trusted identity, and prove its trusted identity to the higher-level CA center that governs the trusted CA center; after one proof, there is no need to repeat the proof later.

[0061] As the signature verifier, user B will only connect to the trusted CA center when the signature verification process is initiated, thereby reducing the consumption of connection resources caused by continuous connection to user B and the trusted CA center.

[0062] Example 1

[0063] like Figure 2 As shown, the present invention provides a lightweight quantum digital signature method, which includes the following steps:

[0064] (1) User A generates a request req for quantum digital signature of data M, and sends the request req to the trusted CA center. The request req includes the serial number No of the quantum digital signature.

[0065] (2) User A registers with the trusted CA center, and then obtains and securely stores User A’s public CA user certificate from the trusted CA center. 1A , Privacy CA User Certificate CA 2A And the organization information ca of the trusted CA center;

[0066] Among them, the public CA user certificate CA 1A and Privacy CA User Certificate CA 2AThe digital certificate generation method described in the patent application number 2022101851462 in the background technology can be used to generate, that is, the privacy CA user certificate CA 2A =(CA 1A , timestamp, QRN). Among them, timestamp is optional, and the random number QRN comes from the local key pool of the trusted CA center. The random number QRN can be a 128-bit or 256-bit true random number, and the specific length can be determined according to actual usage requirements.

[0067] Next, user A negotiates with the trusted CA center to generate and store a one-time certificate for signing. The one-time certificate is the signature certificate in this quantum digital signature process. The one-time certificate is the first certificate otCA. The specific process of the one-time certificate is as follows:

[0068] 1) User A obtains a set of keys u1 from the local key pool as random numbers to generate an irreducible polynomial p1(x). After obtaining the irreducible polynomial, the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p1(x) is recorded as str1;

[0069] 2) User A negotiates a set of keys (u2, u3, u4) with the trusted CA center, and then user A generates a hash function based on the irreducible polynomial p1(x) and key u2 Use this hash function Calculate the privacy CA user certificate CA obtained from user A locally 2A The first hash value is obtained Use key u3 to encrypt the hash value, select XOR operation for encryption, and get the first certificate

[0070] Among them, the length of the key u1 is n, and the specific value of n can be determined according to actual usage requirements. The specific process of using the key u1 as a random number to generate the irreducible polynomial p1(x) is as follows:

[0071] Step (a): User A uses each bit of the key u1 to correspond to the coefficient of each term in the polynomial except the highest term, and generates an n-order polynomial in the GF(2) field, where the coefficient of the highest term is 1;

[0072] Step (b): Verify whether the polynomial is an irreducible polynomial. If the verification result is "no", user A obtains another set of keys and returns to step (a) as a new random number to regenerate the polynomial and verify it; if the verification result is "yes", the verification is stopped and user A obtains the irreducible polynomial p1(x). The method for verifying whether the polynomial is an irreducible polynomial can adopt the verification method proposed in the patent "A Quantum Digital Hybrid Signature Method" with application number 2021113539547.

[0073] 3) The next step is to verify the validity of the first certificate otCA: User A uses the key u4 negotiated with the trusted CA center to encrypt the string str1 to obtain Then the first certificate otCA and Sent to the trusted CA center, Sent to the trusted CA center; the trusted CA center receives and decrypts using the negotiated key (u3, u4) to obtain the second hash value and string str1′; the trusted CA center uses the coefficients of each item of the polynomial except the highest item of each bit of the decrypted string str1′ to generate an irreducible polynomial p′1(x) with the highest item coefficient of 1, and generates a hash function based on the irreducible polynomial p′1(x) and the key u2 Using a hash function Calculate the private CA user certificate CA of user A obtained locally from the trusted CA center 2A The third hash value is

[0074] The trusted CA center will calculate the third hash value and the second hash value after decryption A comparison is performed. If they are consistent, the authentication is successful. The trusted CA center stores the first certificate otCA in its secure storage area, and associates the first certificate otCA with the serial number No in the request req, that is, stores (No, otCA). The name of user A can also be stored at the same time to facilitate subsequent queries and verifications. If they are inconsistent, the authentication fails, and user A renegotiates with the trusted CA center to generate a one-time certificate for signing. Authenticate the validity of the first certificate otCA. In response to successful authentication, user A stores the first certificate otCA in correspondence with the serial number No of this quantum digital signature for quantum digital signature in subsequent steps. The trusted CA center associates the received first certificate otCA with the serial number No of this quantum digital signature, that is, stores (No, otCA), for signature verification in the subsequent quantum digital signature process. In response to failed authentication, user A and the trusted CA center renegotiate to generate a one-time certificate for signing.

[0075] (3) User A uses the first certificate otCA, serial number No, and user A's public CA certificate CA 1A , the organization information ca of the trusted CA center jointly signs the data M to generate a signature file M-SIGN;

[0076] M-SIGN=(M,CA 1A ,No,otCA,ca)

[0077] In an embodiment, user A may destroy the locally stored first certificate otCA after completing the signing.

[0078] (4) User A generates a transmission file DOC based on the signature file M-SIGN and sends it to user B. The specific process is as follows:

[0079] First, user A obtains a set of keys v1 from the local key pool as random numbers to generate an irreducible polynomial p2(x). After obtaining the irreducible polynomial, the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p2(x) is recorded as str2;

[0080] Next, user A and user B negotiate a set of keys (v2, v3, v4). User A generates a hash function based on the irreducible polynomial p2(x) and key v2. Using a hash function Calculate the hash value of the signature file M-SIGN Then use the key (v3, v4) to encrypt the hash value and string str2, and then generate the transmission file DOC,

[0081]

[0082] User A sends the transmission file DOC to user B. The method of generating the irreducible polynomial p2(x) is the same as that described above and will not be described in detail here.

[0083] User B receives the transmission file DOC and performs a signature verification operation on the signature file M-SIGN in the transmission file DOC. If the signature verification is successful, user B receives the data M in the signature file M-SIGN; otherwise, user B refuses to receive it, and the quantum digital signature process ends. The specific process of user B receiving the transmission file DOC and performing a signature verification operation on the signature file M-SIGN in the transmission file DOC is as follows:

[0084] S1: User B receives the transmission file DOC and uses the negotiated key (v3, v4) to and Decrypt and obtain the hash value of the decrypted signature file and string str2′; the signature file received by user B is M-SIGN, and the following performs a signature verification operation on it;

[0085] S2: The specific process of executing the signature verification is as follows: User B addresses the trusted CA center that generates the name for this quantum digital signature process based on the organization information ca of the trusted CA center in the signature file M-SIGN in the received transmission file DOC, and establishes a connection with the trusted CA center;

[0086] S3: User B negotiates with the trusted CA center for the transmission key k1. User B uses the transmission key k1 to encrypt the serial number No in the signature file M-SIGN in the received transmission file DOC and the first certificate otCA into ciphertext Send to the trusted CA center;

[0087] S4: The trusted CA center receives the ciphertext The negotiated key k1 is used to decrypt (No′, otCA′). The trusted CA center finds the locally stored serial number No based on the decrypted serial number No′, and further obtains the first certificate otCA stored in association with the serial number No. The decrypted certificate otCA′ is compared with the locally stored first certificate otCA to see if they are consistent. If they are consistent, the trusted CA center sends a certificate verification success message to user B and proceeds to the next step; otherwise, the trusted CA center sends a certificate verification failure message to user B, the signature verification fails, and the quantum digital signature process ends;

[0088] In an embodiment, regardless of whether the comparison results are consistent, after the comparison is completed, the trusted CA center can destroy the one-time certificate otCA stored locally.

[0089] In response to user B receiving the message indicating successful certificate verification, user B verifies the integrity of the received signature file M-SIGN.

[0090] S5: First, user B uses the same hash algorithm as user A to generate a hash function. That is, user B uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str2′ to generate an irreducible polynomial p′2(x) with the highest item coefficient being 1. A hash function is generated based on the irreducible polynomial p′2(x) and the key v2. Then, user B uses the hash function Calculate the hash value of the received signature file M-SIGN to obtain Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B performs signature verification on the signature file M-SIGN and passes it, and user B receives the data M in the signature file M-SIGN; if they are inconsistent, the signature verification fails, user B refuses to receive the data M in the signature file M-SIGN, and the quantum digital signature process ends.

[0091] Through the above-mentioned quantum digital signature method, the trusted CA center only generates and verifies a one-time certificate (i.e., a signature certificate) in the quantum digital signature process to confirm the validity of the signature in the quantum digital signature process. The trusted CA center does not need to use its own storage resources to store the transmission data M between users A and B, or use its own computing power to perform signature verification operations. In this way, the load pressure of the trusted CA center can be greatly reduced and the resource utilization of the trusted CA center can be improved.

[0092] User A uses the first certificate otCA and its own public CA certificate CA 1A , the organization information ca of the trusted CA center jointly signs the data M to obtain the signature file M-SIGN; user B verifies the integrity of the signature file to confirm whether the data M has been tampered with during the transmission process. This signing process realizes the binding of the sent data M with the identity of user A, and truly plays the role of user A signing the data M.

[0093] In some possible embodiments, the one-time certificate used for signing in the quantum digital signature process can be destroyed after the signing and verification process is completed, which truly achieves a one-time certificate and does not have the possibility of reuse. Even if a bad user can obtain the one-time certificate of this quantum digital signature, the trusted CA center will destroy the locally stored signature certificate after the first verification operation of the certificate; therefore, when the bad user goes to the trusted CA center for verification again, it is impossible to compare the certificates. Therefore, the bad user cannot send other information besides data M by stealing the signed certificate otCA.

[0094] Example 2

[0095] The present invention provides a lightweight quantum digital signature method, which comprises the following steps:

[0096] (1) User A generates a request req for quantum digital signature of data M and sends the request req to the trusted CA center. The request req includes the serial number No of the quantum digital signature.

[0097] (2) User A registers with the trusted CA center, then obtains and securely stores User A’s public CA user certificate from the trusted CA center. 1A , Privacy CA User Certificate CA 2Aand the organization information ca of the trusted CA center; the local of the trusted CA center also stores the public CA user certificate CA of user A 1A and Privacy CA User Certificate CA 2A ; Then, user A negotiates with the trusted CA center to generate and store a one-time certificate for signing. The one-time certificate is the signature certificate in this quantum digital signature process, and the one-time certificate is the first certificate otCA; In this embodiment, user A also attaches the identity information of user B during the process of generating a one-time certificate with the trusted CA center, so that the trusted CA center only accepts user B's signature verification query for the one-time identity, which further ensures the security of the quantum digital signature in this embodiment.

[0098] The specific process of user A negotiating with the trusted CA center to generate and store a one-time certificate for signing is as follows:

[0099] A1: User B registers with the trusted CA center, and then obtains and stores the public CA user certificate of user B from the trusted CA center. 1B , Privacy CA User Certificate CA 2B The trusted CA center also stores user B's public CA user certificate CA 1B and Privacy CA User Certificate CA 2B ; Then, user A obtains user B's public CA user certificate from the trusted CA center 1B ;

[0100] A2: User A obtains a set of keys u1 from the local key pool as random numbers to generate an irreducible polynomial p1(x), and then records the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p1(x) as str1;

[0101] A3: User A negotiates a set of keys (u2, u3, u4, u5) with the trusted CA center, and then user A generates a hash function based on the irreducible polynomial p1(x) and key u2 Use this hash function Calculate the privacy CA user certificate CA obtained from user A locally 2A The first hash value is obtained Use key u3 to XOR encrypt the hash value and get the first certificate

[0102] A4: User A uses the keys u4 and u5 negotiated with the trusted CA center to encrypt the string str1 and user B's public CA user certificate CA respectively. 1B get and Then the first certificate otCA, and Sent to the trusted CA center, Sent to the trusted CA center; the trusted CA center receives and decrypts using the negotiated key (u3, u4, u5) to obtain the second hash value String str1′ and public CA user certificate CA′ 1B The trusted CA center uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str1′ to generate an irreducible polynomial p′1(x) with the highest item coefficient of 1, and generates a hash function based on the irreducible polynomial p′1(x) and the key u2 Using a hash function Calculate the private CA user certificate CA of user A obtained locally from the trusted CA center 2A The third hash value is

[0103]

[0104] The trusted CA center will calculate the third hash value and the second hash value after decryption The comparison is performed. If they are consistent, the authentication is passed. The trusted CA center stores the first certificate otCA in its secure storage area and at the same time, according to the public CA user certificate CA′ 1B Get the private CA user certificate of user B from the local CA 2B , the first certificate otCA, the serial number No in the request req, and the public CA user certificate CA′ 1B and Privacy CA User Certificate CA 2B Perform associated storage, that is, store (No,otCA,CA′ 1B ,CA 2B ), and the name of user A can also be stored at the same time to facilitate subsequent query and verification; if they are inconsistent, the authentication fails, and user A renegotiates with the trusted CA center to generate a one-time certificate for signing.

[0105] (3) User A uses the first certificate otCA, serial number No, and user A's public CA certificate CA 1A , the organization information ca of the trusted CA center jointly signs the data M to generate a signature file M-SIGN;

[0106] M-SIGN=(M,CA 1A ,No,otCA,ca)

[0107] In an embodiment, user A may destroy the locally stored first certificate otCA after completing the signing.

[0108] (4) User A generates a transmission file DOC based on the signature file M-SIGN and sends it to user B. The specific process is the same as that in Example 1, so it will not be described again. User B receives the transmission file DOC and performs a signature verification operation on the signature file M-SIGN in the transmission file DOC. If the signature verification is successful, user B receives the data M in the signature file M-SIGN. Otherwise, user B refuses to receive the data, and the quantum digital signature process ends. The specific process of user B receiving the transmission file DOC and performing a signature verification operation on the signature file M-SIGN in the transmission file DOC is as follows:

[0109] B1: User B receives the transmission file DOC and uses the negotiated key (v3, v4) to and Decrypt and obtain the hash value of the decrypted signature file and string str2′;

[0110] B2: User B negotiates with the trusted CA center for the transmission key k1. User B uses the transmission key k1 to convert the serial number No in the signature file M-SIGN in the received transmission file DOC, the first certificate otCA, and its own locally stored privacy CA user certificate CA 2B Encrypted Send to the trusted CA center;

[0111] B3: Received by the trusted CA center Decrypted using the negotiated key k1, we get (No″,otCA′,CA 2B ′); Then the trusted CA center verifies the identity of user B. The specific process of the verification is as follows: the trusted CA center finds the locally stored serial number No based on the decrypted serial number No″, and further obtains the privacy CA user certificate CA associated with the serial number No. 2B If the stored private CA user certificate CA 2B and the decrypted certificate CA′ 2B If they are consistent, user B’s identity verification is successful and certificate verification is performed; otherwise, the verification fails, the trusted CA center refuses to perform certificate verification, and sends a certificate verification failure message to user B.

[0112] The specific process of verifying the identity of user B may be:

[0113] C1: User B obtains a set of keys w1 from the local key pool as random numbers to generate an irreducible polynomial p3(x). After obtaining the irreducible polynomial, the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p3(x) is recorded as str3;

[0114] C2: User B negotiates the key (w2, w3, w4, w5) with the trusted CA center. User B generates a hash function based on the irreducible polynomial p3(x) and the key w2. Using a hash function Calculate user B privacy CA user certificate CA 2B The hash value is obtained

[0115] C3: User B uses the negotiated keys (w3, w4, w5) to encrypt the received sequence number and hash value and string str3 gets Then send it to the trusted CA center;

[0116] C4: The trusted CA center uses the negotiated key (w3, w4, w5) to decrypt and obtain the serial number No″′ and hash value and string str3′; the trusted CA center generates an irreducible polynomial p′3(x) with a highest term coefficient of 1 based on the coefficients of each polynomial corresponding to each bit of the decrypted string str3′, and generates a hash function based on the irreducible polynomial p′3(x) and the negotiated key w2 The trusted CA center finds the locally stored serial number No based on the decrypted serial number No″′, and then further obtains the private CA user certificate CA associated with the serial number No. 2B , and then use the generated hash function Calculate the private CA user certificate CA stored in association with serial number No 2B The hash value is obtained Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B’s identity verification is successful and certificate verification is performed; otherwise, the verification fails, the trusted CA center refuses to perform certificate verification, and sends a certificate verification failure message to user B.

[0117] After user B's identity is verified, the certificate verification is performed: that is, based on the decrypted serial number No″, the locally stored serial number No is found, and the first certificate otCA associated with the serial number No is further obtained. The decrypted certificate otCA′ is compared with the locally stored first certificate otCA to see if they are consistent. If they are consistent, the trusted CA center sends a certificate verification success message to user B and proceeds to the next step; otherwise, the trusted CA center sends a certificate verification failure message to user B, the signature verification fails, and the quantum digital signature process ends;

[0118] B4: User B uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str2′ to generate an irreducible polynomial p′2(x) with the highest item coefficient as 1, and generates a hash function based on the irreducible polynomial p′2(x) and the key v2 Then, user B uses the hash function Calculate the hash value of the received signature file M-SIGN to obtain Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B performs signature verification on the signature file M-SIGN and passes it, and user B receives the data M in the signature file M-SIGN; if they are inconsistent, the signature verification fails, user B refuses to receive the data M in the signature file M-SIGN, and the quantum digital signature process ends.

[0119] The quantum digital signature method of the present invention can ensure the integrity (i.e., non-tamperability) and non-repudiation of data during transmission, thus ensuring the security of data transmission; and the communication data is only transmitted between users A and B, and no third party will receive the communication data, thus ensuring that the communication data will not be known by unrelated third parties;

[0120] Example 3

[0121] The present invention also includes a lightweight quantum digital signcryption method, which includes the following steps:

[0122] a. Encryption: User A encrypts data M using encryption key a to obtain ciphertext m=M⊕a. At this time, user A is the signatory. Before performing quantum digital signature, user A first encrypts data M.

[0123] b. Digitally sign the ciphertext m by the quantum digital signature method in Example 1 or 2. In the process of digital signature, the ciphertext m is signed to form a signature file, that is, the signature object in Example 1 or 2 is transformed from data M to ciphertext m; and user A also sends the encryption key a to user B in an unconditionally secure manner;

[0124] The signature file is verified by the quantum digital signature method. After the verification is passed, user B receives the ciphertext m in the signature file M-SIGN. User A also needs to send the encryption key a to user B in an unconditionally secure manner. The unconditionally secure manner is implemented by quantum key distribution technology or secure distribution of quantum random numbers.

[0125] c. After completing the quantum digital signature, that is, user B passes the signature verification of the signed file, user B decrypts the ciphertext m according to the encryption key a to obtain the plaintext data M, and the plaintext data M is the message that needs to be transmitted.

[0126] By adopting the quantum digital signcryption method proposed in this embodiment, before user B performs the last decryption operation, all the aforementioned steps are performed on the ciphertext m, which reduces the risk of leakage of the plaintext data M and improves the security of the data transmission process.

Claims

1. A lightweight quantum digital signature method, characterized in that: The method comprises the following steps: (1) User A generates a request req for quantum digital signature of data M and sends the request req to the trusted CA center. The request req includes the serial number No of the quantum digital signature; (2) User A registers with the trusted CA center, and then obtains and stores the public CA user certificate of User A from the trusted CA center. 1A , Privacy CA User Certificate CA 2A and the organization information ca of the trusted CA center; then, user A negotiates with the trusted CA center to generate and store a one-time certificate for signing, namely the first certificate otCA; (3) User A uses the first certificate otCA, serial number No, and user A's public CA certificate CA 1A , the organization information ca of the trusted CA center jointly signs the data M to generate a signature file M-SIGN; (4) User A generates a transmission file DOC based on the signature file M-SIGN and sends it to user B; user B receives the transmission file DOC and performs a signature verification operation on the signature file M-SIGN in the transmission file DOC. If the signature verification passes, user B receives the data M in the signature file M-SIGN; otherwise, user B refuses to receive it, and the quantum digital signature process ends.

2. A lightweight quantum digital signature method according to claim 1, characterized in that: The specific process of user A negotiating with the trusted CA center to generate and store a one-time certificate for signing is as follows: 1) User A obtains a set of keys u1 from the local key pool as random numbers to generate an irreducible polynomial p1(x), and then records the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p1(x) as str1; 2) User A negotiates a set of keys (u2, u3, u4) with the trusted CA center, and then user A generates a hash function h based on the irreducible polynomial p1(x) and key u2 p1,u2 , using the hash function h p1,u2 Calculate the privacy CA user certificate CA obtained from user A locally 2A The first hash value is h p1,u2 (C.A. 2A ), use the key u3 to XOR encrypt the hash value and obtain the first certificate otCA=h p1,u2 (C.A. 2A )⊕u3; 3) User A uses the key u4 negotiated with the trusted CA center to encrypt the string str1 to obtain str1⊕u4, and then sends the first certificate otCA and str1⊕u4 to the trusted CA center, that is, (otCA,str1⊕u4) is sent to the trusted CA center; the trusted CA center receives and decrypts it using the negotiated key (u3,u4) to obtain the second hash value h′ p1,u2 (C.A. 2A ) and string str1′; the trusted CA center uses the coefficients of each item of the polynomial except the highest item of each bit of the decrypted string str1′ to generate an irreducible polynomial p′1(x) with the highest item coefficient of 1, and generates a hash function based on the irreducible polynomial p′1(x) and the key u2 Using a hash function Calculate the private CA user certificate CA of user A obtained locally from the trusted CA center 2A The third hash value is The trusted CA center will calculate the third hash value and the second hash value after decryption A comparison is performed. If they are consistent, the authentication is successful, and the trusted CA center stores the first certificate otCA, and associates the first certificate otCA with the serial number No in the request req, that is, stores (No, otCA); if they are inconsistent, the authentication fails, and user A renegotiates with the trusted CA center to generate a one-time certificate for signing.

3. A lightweight quantum digital signature method according to claim 1, characterized in that: The specific process of user A generating a transmission file DOC based on the signature file M-SIGN and sending it to user B is as follows: First, user A obtains a set of keys v1 from the local key pool as random numbers to generate an irreducible polynomial p2(x). After obtaining the irreducible polynomial, the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p2(x) is recorded as str2; Next, user A and user B negotiate a set of keys (v2, v3, v4). User A generates a hash function based on the irreducible polynomial p2(x) and key v2. Using a hash function Calculate the hash value of the signature file M-SIGN Then use the key (v3, v4) to encrypt the hash value and string str2, and then generate the transmission file DOC, User A sends the transfer file DOC to user B.

4. A lightweight quantum digital signature method according to claim 3, characterized in that: The specific process of user B receiving the transmission file DOC and performing the signature verification operation on the signature file M-SIGN in the transmission file DOC is as follows: S1: User B receives the transmission file DOC and uses the negotiated key (v3, v4) to and Decrypt and obtain the hash value of the decrypted signature file and string str2′; S2: User B addresses the trusted CA center based on the organization information ca of the trusted CA center in the signature file M-SIGN in the received transmission file DOC, and establishes a connection with the trusted CA center; S3: User B negotiates with the trusted CA center for the transmission key k1. User B uses the transmission key k1 to encrypt the serial number No in the signature file M-SIGN in the received transmission file DOC and the first certificate otCA into ciphertext Send to the trusted CA center; S4: The trusted CA center receives the ciphertext Decrypted using the negotiated key k1 to obtain (No′, otCA′), the trusted CA center finds the locally stored serial number No based on the decrypted serial number No′, further obtains the first certificate otCA associated with the serial number No, and compares the decrypted certificate otCA′ with the locally stored first certificate otCA to see if they are consistent. If they are consistent, the trusted CA center sends a certificate verification success message to user B and proceeds to the next step; Otherwise, the trusted CA center sends a message to user B indicating that the certificate verification failed, and the signature verification fails, and the quantum digital signature process ends; S5: User B uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str2′ to generate an irreducible polynomial p′2(x) with the highest item coefficient being 1, and generates a hash function based on the irreducible polynomial p′2(x) and the key v2 Then, user B uses the hash function Calculate the hash value of the received signature file M-SIGN to obtain Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B performs signature verification on the signature file M-SIGN and passes it, and user B receives the data M in the signature file M-SIGN; if they are inconsistent, the signature verification fails, user B refuses to receive the data M in the signature file M-SIGN, and the quantum digital signature process ends.

5. A lightweight quantum digital signature method according to claim 3, characterized in that: The specific process of user A negotiating with the trusted CA center to generate and store a one-time certificate for signing may be: A1: User B obtains and stores the public CA user certificate of user B from the trusted CA center 1B and Privacy CA User Certificate CA 2B ; The trusted CA center also stores user B's public CA user certificate CA 1B and Privacy CA User Certificate CA 2B ; Then, user A obtains user B's public CA user certificate from the trusted CA center 1B ; A2: User A obtains a set of keys u1 from the local key pool as random numbers to generate an irreducible polynomial p1(x), and then records the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p1(x) as str1; A3: User A negotiates a set of keys (u2, u3, u4, u5) with the trusted CA center, and then user A generates a hash function based on the irreducible polynomial p1(x) and key u2 Use this hash function Calculate the privacy CA user certificate CA obtained from user A locally 2A The first hash value is obtained Use key u3 to XOR encrypt the hash value and get the first certificate A4: User A uses the keys u4 and u5 negotiated with the trusted CA center to encrypt the string str1 and user B's public CA user certificate CA respectively. 1B get and Then the first certificate otCA, and Sent to the trusted CA center, Sent to the trusted CA center; the trusted CA center receives and decrypts using the negotiated key (u3, u4, u5) to obtain the second hash value String str1′ and public CA user certificate CA′ 1B The trusted CA center uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str1′ to generate an irreducible polynomial p′1(x) with the highest item coefficient of 1, and generates a hash function based on the irreducible polynomial p′1(x) and the key u2 Using a hash function Calculate the private CA user certificate CA of user A obtained locally from the trusted CA center 2A The third hash value is The trusted CA center will calculate the third hash value and the second hash value after decryption Compare and verify. If they are consistent, the authentication is passed. The trusted CA center stores the first certificate otCA and verifies the public CA user certificate CA′ 1B Get the private CA user certificate of user B from the local CA 2B , the first certificate otCA, the serial number No in the request req, and the public CA user certificate CA′ 1B and Privacy CA User Certificate CA 2B Perform associated storage, that is, store (No,otCA,CA′ 1B ,CA 2B ); if they are inconsistent, the authentication fails, and user A renegotiates with the trusted CA center to generate a one-time certificate for signing.

6. A lightweight quantum digital signature method according to claim 5, characterized in that: The specific process of user B receiving the transmission file DOC and performing the signature verification operation on the signature file M-SIGN in the transmission file DOC is as follows: B1: User B receives the transmission file DOC and uses the negotiated key (v3, v4) to and Decrypt and obtain the hash value of the decrypted signature file and string str2′; B2: User B negotiates with the trusted CA center for the transmission key k1. User B uses the transmission key k1 to convert the serial number No in the signature file M-SIGN in the received transmission file DOC, the first certificate otCA, and its own locally stored privacy CA user certificate CA 2B Encrypted Send to the trusted CA center; B3: Received by the trusted CA center Decrypted using the negotiated key k1, we get (No″,otCA′,CA 2B ′); then the trusted CA center verifies the identity of user B. After the verification is passed, the locally stored serial number No is found based on the decrypted serial number No″, and the first certificate otCA stored in association with the serial number No is further obtained. The decrypted certificate otCA′ is compared with the locally stored first certificate otCA to see if they are consistent. If they are consistent, the trusted CA center sends a certificate verification success message to user B and proceeds to the next step; Otherwise, the trusted CA center sends a message to user B indicating that the certificate verification failed, and the signature verification fails, and the quantum digital signature process ends; B4: User B uses the coefficients of each item of the polynomial except the highest item in each bit of the decrypted string str2′ to generate an irreducible polynomial p′2(x) with the highest item coefficient as 1, and generates a hash function based on the irreducible polynomial p′2(x) and the key v2 Then, user B uses the hash function Calculate the hash value of the received signature file M-SIGN to obtain Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B performs signature verification on the signature file M-SIGN and passes it, and user B receives the data M in the signature file M-SIGN; if they are inconsistent, the signature verification fails, user B refuses to receive the data M in the signature file M-SIGN, and the quantum digital signature process ends.

7. A lightweight quantum digital signature method according to claim 6, characterized in that: The specific process of the trusted CA center verifying the identity of user B is as follows: The trusted CA center finds the locally stored serial number No based on the decrypted serial number No″, and further obtains the private CA user certificate CA associated with the serial number No. 2B If the stored private CA user certificate CA 2B and the decrypted certificate CA′ 2B If they are consistent, user B’s identity verification passes and certificate verification is performed; otherwise, the verification fails and the trusted CA center refuses to perform certificate verification.

8. A lightweight quantum digital signature method according to claim 6, characterized in that: The specific process of the trusted CA center verifying the identity of user B is as follows: C1: User B obtains a set of keys w1 from the local key pool as random numbers to generate an irreducible polynomial p3(x). After obtaining the irreducible polynomial, the string consisting of the coefficients of each term except the highest term in the irreducible polynomial p3(x) is recorded as str3; C2: User B negotiates the key (w2, w3, w4, w5) with the trusted CA center. User B generates a hash function based on the irreducible polynomial p3(x) and the key w2. Using a hash function Calculate user B privacy CA user certificate CA 2B The hash value is obtained C3: User B uses the negotiated keys (w3, w4, w5) to encrypt the received sequence number and hash value and string str3 gets Then send it to the trusted CA center; C4: The trusted CA center uses the negotiated key (w3, w4, w5) to decrypt and obtain the serial number No″′ and hash value and string str3′; the trusted CA center generates an irreducible polynomial p′3(x) with a highest term coefficient of 1 based on the coefficients of each polynomial corresponding to each bit of the decrypted string str3′, and generates a hash function based on the irreducible polynomial p′3(x) and the negotiated key w2 The trusted CA center finds the locally stored serial number No based on the decrypted serial number No″′, and then further obtains the private CA user certificate CA associated with the serial number No. 2B , and then use the generated hash function Calculate the private CA user certificate CA stored in association with serial number No 2B The hash value is obtained Compare the calculated hash value And the decrypted hash value Are they consistent? If they are consistent, user B’s identity verification is successful and certificate verification is performed; otherwise, the verification fails and the trusted CA center refuses to perform certificate verification.

9. A lightweight quantum digital signcryption method, characterized in that: The method comprises the following steps: a. Encryption: User A encrypts data M using encryption key a to obtain ciphertext b. Digitally sign the ciphertext m by the quantum digital signature method described in any one of claims 1 to 8, and sign the ciphertext m in the digital signature process to form a signature file; and user A also sends the encryption key a to user B in an unconditionally secure manner; c. After completing the quantum digital signature, user B decrypts the ciphertext m according to the encryption key a to obtain the plaintext data M. The plaintext data M is the message that needs to be transmitted.

10. A lightweight quantum digital signcryption method according to claim 9, characterized in that: In step b, the unconditionally secure method is implemented by using quantum key distribution technology or securely distributing quantum random numbers.

Citation Information

Patent Citations

  • Digital certificate generation method, identity authentication method, quantum CA authentication center and quantum CA authentication system

    CN114254284A

  • Anonymous double-offline transaction method and system based on trusted intermediary and one-time certificate

    CN114462985A

  • Agile digital signature verification method and system

    CN115277019A

  • Method and system for a verifiable identity based encryption (VIBE) using certificate-less authentication encryption (CLAE)

    US20230231714A1