CCA secure SM9 anonymous broadcast encryption method

By introducing the CCA secure anonymous broadcast encryption method into the SM9 algorithm and using the system's main public key and private key for encryption and decryption, one encryption, multiple decryptions and receiver anonymity are achieved, which solves the problem of the SM9 algorithm's inability to resist active attacks in broadcast encryption. and issues of protecting identity information, improving information security and efficiency.

CN115603902BActive Publication Date: 2024-10-15FUJIAN NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211194966.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2024-10-15
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In the existing technology, the SM9 algorithm cannot effectively resist active attacks in broadcast encryption, cannot protect the recipient's identity information from being leaked, and cannot achieve CCA-safe anonymous broadcast encryption.

Method used

The CCA secure SM9 anonymous broadcast encryption method is used to generate the system master public key and private key through the key generation center. The user private key is sent by KGC through a secure channel. The sender uses the system master public key and the receiver identification set to encrypt the message. The recipient uses the system's main public key and private key to decrypt, achieving once-encrypted multiple decryptions and recipient anonymity.

Benefits of technology

It achieves efficient one-to-many communication in scenarios such as big data, cloud computing, and the Internet of Things, resists adaptive selected ciphertext attacks, protects recipient identity information, and ensures data confidentiality and anonymity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115603902B_ABST
    Figure CN115603902B_ABST
Patent Text Reader

Abstract

The invention discloses a CCA-secure SM9 anonymous broadcast encryption method, which comprises the following steps: a key generation center (KGC) generates a system master public key and a system master private key according to security parameters, discloses the system master public key to users in the system, and the system master private key is secretly stored by the key generation center; the key generation center generates a user private key based on a user's request by using a system master public-private key pair, and sends the user private key to the user through a secure channel; an encryptor encrypts a message by using the disclosed system master public key and a receiver identification set, and sends the generated ciphertext to the user in a broadcasting manner; the receiver decrypts the ciphertext by using the system master public key and his own private key to obtain a plaintext.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a CCA secure SM9 anonymous broadcast encryption method. Background Art

[0002] The SM9 algorithm is the cryptographic industry standard in my country, and is also a national standard and ISO / IEC standard, including digital signature algorithm, key exchange protocol, key encapsulation mechanism and public key encryption algorithm. SM9 is an identification algorithm, which is implemented based on bilinear pairing of elliptic curves. The ID number, mobile phone number, email address and other unique strings that can represent the user's identity can be used as public keys, and the user's private key is calculated by the Key Generation Center (KGC) and sent to the user through a secure channel. The SM9 algorithm has now become one of the best choices for IoT security authentication, effectively overcoming the problems of weak security of traditional key distribution algorithms in IoT.

[0003] With the popularity of digital products such as e-books, online music, and online movies, the Internet has gradually evolved from traditional point-to-point communication to one-to-many and many-to-many communication. Safe and efficient distribution of digital products has long been a difficult problem that has been difficult to solve. To this end, people usually use encryption technology to ensure the confidentiality of data. A simple solution is to use point-to-point encryption multiple times to achieve secure sharing of multi-user data. However, this approach consumes high computing overhead and communication costs and is difficult to apply on a large scale. Broadcast encryption proposed by Fiat and Naor is a typical technology for secure sharing of group information, which can effectively solve this problem. In a broadcast encryption system, the sender can securely distribute data to a group of selected users through a broadcast channel (usually an insecure channel). Specifically, the encryptor first selects a group of receivers, encrypts the data using their public key set S, and finally sends the ciphertext through an open channel. Only users in the set S can correctly decrypt and obtain the plaintext, and users not in the set S cannot obtain the plaintext content even if they collude. Broadcast encryption is now widely used in applications such as pay TV, satellite communications, and wireless sensor networks.

[0004] In some special applications, the identity information of the receiver is also sensitive information and is not allowed to be leaked. For example, in broadcast subscription services, some sensitive broadcast subscribers do not want other subscribers to know the channels they subscribe to. In blockchain applications, it is also necessary to protect the identity information of users. Therefore, anonymity is an important security requirement for broadcast encryption. Adaptively Chosen Ciphertext Attack (CCA) can effectively characterize active attacks in real applications. Adversaries with active attack capabilities have strong attack capabilities in broadcast channels, while plaintext-secure broadcast encryption schemes cannot fully meet the needs of practical applications for broadcast encryption security. Therefore, CCA-secure schemes become particularly important. As a national standard in my country, SM9 has little research on broadcast encryption. Currently, there is no research on anonymous broadcast encryption based on SM9 with CCA security in mainstream journals and conferences. Summary of the invention

[0005] The purpose of the present invention is to provide a CCA-secure SM9 anonymous broadcast encryption method to solve the technical problems in the prior art of leaking receiver identity information and being unable to resist active attacks.

[0006] The technical solution adopted by the present invention is:

[0007] The CCA-secured SM9 anonymous broadcast encryption method has three entities, namely, the key generation center (KGC), the sender (broadcaster), and the receiver (authorized user). The specific encryption method includes the following steps:

[0008] S1. The key generation center (KGC) generates the system master public key and system master private key according to the security parameters, and makes the system master public key public to the users in the system, while the system master private key is kept secret by the key generation center;

[0009] Furthermore, the specific steps of S1 are as follows:

[0010] S1-1, the key generation center KGC first determines the maximum number of recipients m for one encryption, and selects the bilinear group BP=(G1, G2, G T ,e,p),

[0011] S1-2, randomly select the generator P1 of group G1 and the generators P2, R, U and V of group G2; for any receiver i∈1,2,…,m, calculate the element α in group G1 respectively i P1, element P in group G2 pub =α 2 P2,;

[0012] S1-3, select random number As the system master private key, three cryptographic hash functions H1, H2 and H3 and the key derivation function KDF are selected to jointly generate the system master public key mpk and make it public; the expression of the master public key mpk is as follows

[0013]

[0014] Among them, BP is a bilinear group; p is a cyclic group G1, G2, G T The order of is greater than 2 191 prime number; G1, G2 represent additive cyclic groups of order p; G T represents the multiplicative cyclic group of prime order p; e represents the number from G1×G2 to G T bilinear mapping; α represents the system master private key; m represents the maximum number of recipients for one encryption; P1 is the generator of group G1; P2, R, U, and V represent the generators of group G2 respectively; represents the elements in group G1; P pub is an element in group G2; H1, H2, H3 represent cryptographic hash functions respectively; KDF represents key derivation function; mpk represents the system master public key.

[0015] S2. The key generation center generates a user private key based on the user's request using the system public and private key pair, and sends the user private key to the user through a secure channel. The calculation formula for the user private key is as follows:

[0016]

[0017] Where ID represents a known user ID; sk ID The user private key representing the user ID belongs to the element in group G2; H1 represents {0, 1} * arrive Cryptographic functions derived from cryptographic hash functions;

[0018] S3, the encryptor uses the public system master public key and the receiver identification set S = (ID1, ID2, ..., ID n )(n≤m) treats the bit string M∈{0,1} of the encrypted message l Encrypt to get the ciphertext, and send the ciphertext to all users on the channel in a broadcast manner;

[0019] The specific encryption steps of S3 are as follows:

[0020] S3-1. Define polynomial

[0021] S3-2. Select random numbers r, k,

[0022] S3-3. Calculate the elements C0 = p(α)P1, C1 = rp(α)P1 in the group G1;

[0023] S3-4. For any i=1, 2, ..., n, calculate the group G T The element w in i =e(αp i (α)P1,P2) r ;

[0024] S3-5. Defining polynomials where b n =1;

[0025] S3-6. Calculate K = KDF (C0, k, l), calculate Calculate C3 = rP pub ;

[0026] S3-7. Calculate h = H3 (C0, C1, C2, C3, b0, b1, ..., b n ), calculate the element C4=r(hR+τU+V) in the group G2, and output the ciphertext CT=(τ, C0, C1, C2, C3, C4, b0, b1, …, b n ).

[0027] Where M is the message to be encrypted; ID i is the identifier of user i; S is the set of receiver identifiers; r, k, τ represent The random numbers in; C0 and C1 are temporary variables, belonging to the elements of group G1; w i is a temporary variable, belonging to group G T Elements in b i are the coefficients of the polynomial q(x), belonging to the finite field F p The elements in; K is the encapsulated session key, a bit string of length l; KDF is to {0, 1} l The key derivation function; C2 is a temporary variable, C2 is a string of length l; C3 is a temporary variable, belonging to the element in group G2; H3 is arrive A cryptographic function derived from a cryptographic hash function; C4 is a temporary variable belonging to an element of group G2; CT is the encapsulated ciphertext.

[0028] S4. The receiver uses the system master public key and his own private key to decrypt the ciphertext to obtain the plaintext, specifically:

[0029] S4-1, the decryptor receives the ciphertext CT = (τ, C0, C1, C2, C3, C4, b0, b1, ..., b n), first calculate ′=H3(C0, C1, C2, C3, b0, b1, ..., b n ), and determine whether the equation e(C1, 'R+τU+V) = e(C0, C4) holds; if so, execute S4-2; otherwise, output an error message;

[0030] S4-2, calculation using private key

[0031] S4-3, calculate K′=KDF(C0, k′, l), And output the decrypted message M', the decryption method is: determine whether it can be based on 3. Calculate w i ; then k′=k, K′=K,

[0032] Among them, ′ is a temporary variable, belonging to the finite field F p The elements in; w′ is a temporary variable, belonging to the group G T elements in; k′ is a temporary variable belonging to the finite field F p The elements in ; K′ is a temporary variable, a bit string of length l; M′ is the decrypted message.

[0033] The present invention adopts the above technical scheme, a key generation center (KGC) generates a system master public key and a system master private key according to security parameters, discloses the system master public key to users in the system, and the system master private key is secretly stored by the key generation center; the key generation center generates a user private key based on the user's request using the system master public-private key pair, and sends the user private key to the user through a secure channel; the encryptor encrypts the message using the disclosed system master public key and the receiver identification set, and sends the generated ciphertext to the user in a broadcast manner; the receiver decrypts the ciphertext using the system master public key and his own private key to obtain plaintext.

[0034] The present invention has the following beneficial effects: (1) Based on my country's self-developed SM9, it ensures that information security is independent and controllable. (2) The present invention uses polynomial technology to achieve decryption of a ciphertext encrypted once by multiple recipients. Compared with using the SM9 encryption algorithm multiple times to achieve one-to-many communication, it is more efficient and more suitable for one-to-many communication application scenarios in multi-user scenarios such as big data, cloud computing, and the Internet of Things; (3) The present invention is more secure and can resist adaptive chosen ciphertext attacks; (4) While achieving efficient data transmission, it ensures data confidentiality and recipient anonymity. No authorized user or unauthorized user can obtain information about other recipients from the ciphertext.

[0035] In summary, the function realized by the present invention focuses on anonymity, which can meet the requirements of anonymity, and there is no need to enter the identification information ID of all recipients during the decryption process. i, the encryptor knows the identification information of all recipients. The anonymity is reflected in that only the encryptor knows all the recipient information, while authorized users and unauthorized users cannot obtain the recipient information, which is completely different from the construction method of existing algorithms. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments;

[0037] Figure 1 Flowchart of the SM9 anonymous broadcast encryption method for CCA security. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, 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.

[0039] The invention discloses a CCA secure SM9 anonymous broadcast encryption method, which comprises the following steps: a key generation center (KGC) generates a system master public key and a system master private key according to security parameters, discloses the system master public key to users in the system, and the system master private key is secretly stored by the key generation center; the key generation center generates a user private key based on a user's request by using a system master public-private key pair, and sends the user private key to the user through a secure channel; an encryptor encrypts a message by using the disclosed system master public key and a receiver identification set, and sends the generated ciphertext to the user in a broadcasting manner; the receiver decrypts the ciphertext by using the system master public key and his own private key to obtain a plaintext.

[0040] The CCA-secured SM9 anonymous broadcast encryption method has three entities, namely, the key generation center (KGC), the sender (broadcaster), and the receiver (authorized user). The specific encryption method includes the following steps:

[0041] S1. The key generation center (KGC) generates the system master public key and system master private key according to the security parameters, and makes the system master public key public to the users in the system, while the system master private key is kept secret by the key generation center;

[0042] Furthermore, the specific steps of S1 are as follows:

[0043] S1-1, the key generation center KGC first determines the maximum number of recipients m for one encryption, and selects the bilinear group BP=(G1, G2, G T ,e,p),

[0044] S1-2, randomly select the generator P1 of group G1 and the generators P2, R, U and V of group G2; for any receiver i∈1,2,…,m, calculate the element α in group G1 respectively i P1, element P in group G2pub =α 2 P2,;

[0045] S1-3, select random number As the system master private key, three cryptographic hash functions H1, H2 and H3 and the key derivation function KDF are selected to jointly generate the system master public key mpk and make it public; the expression of the master public key mpk is as follows

[0046]

[0047] Among them, BP is a bilinear group; p is a cyclic group G1, G2, G T The order of is greater than 2 191 prime number; G1, G2 represent additive cyclic groups of order p; G T represents the multiplicative cyclic group of prime order p; e represents the number from G1×G2 to G T bilinear mapping; α represents the system master private key; m represents the maximum number of recipients for one encryption; P1 is the generator of group G1; P2, R, U, and V represent the generators of group G2 respectively; represents the elements in group G1; P pub is an element in group G2; H1, H2, H3 represent cryptographic hash functions respectively; KDF represents key derivation function; mpk represents the system master public key.

[0048] S2. The key generation center generates a user private key based on the user's request using the system public and private key pair, and sends the user private key to the user through a secure channel. The calculation formula for the user private key is as follows:

[0049]

[0050] Where ID represents a known user ID; sk ID The user private key representing the user ID belongs to the element in group G2; H1 represents {0, 1} * arrive Cryptographic functions derived from cryptographic hash functions;

[0051] S3, the encryptor uses the public system master public key and the receiver identification set S = (ID1, ID2, ..., ID n )(n≤m) treats the bit string M∈{0,1} of the encrypted message l Encrypt to get the ciphertext, and send the ciphertext to all users on the channel in a broadcast manner;

[0052] The specific encryption steps of S3 are as follows:

[0053] S3-1. Define polynomial

[0054] S3-2. Select random numbers r, k,

[0055] S3-3. Calculate the elements C0=p(α)P1, C1=rp(α)P1 in the group G1; where, due to α i P1 is a public parameter of the system, so C0 and C1 are computable.

[0056] S3-4. For any i=1, 2, ..., n, calculate the group G T The element w in i =e(αp i (α)P1,P2) r ; Due to αp i (α)P1 is computable, so w i is computable.

[0057] S3-5. Defining polynomials where b n =1;

[0058] S3-6. Calculate K = KDF (C0, k, l), calculate Calculate C3 = rP pub ;

[0059] S3-7. Calculate h = H3 (C0, C1, C2, C3, b0, b1, ..., b n ), calculate the element C4=r(hR+τU+V) in the group G2, and output the ciphertext CT=(τ, C0, C1, C2, C3, C4, b0, b1, …, b n ).

[0060] Where M is the message to be encrypted; ID i is the identifier of user i; S is the set of receiver identifiers; r, k, τ represent The random numbers in; C0 and C1 are temporary variables, belonging to the elements of group G1; w i is a temporary variable, belonging to group G T Elements in b i are the coefficients of the polynomial q(x), belonging to the finite field F p The elements in; K is the encapsulated session key, a bit string of length l; KDF is to {0, 1} l The key derivation function; C2 is a temporary variable, C2 is a string of length l; C3 is a temporary variable, belonging to the element in group G2; H3 is arrive A cryptographic function derived from a cryptographic hash function; C4 is a temporary variable belonging to an element of group G2; CT is the encapsulated ciphertext.

[0061] S4. The receiver uses the system master public key and his own private key to decrypt the ciphertext to obtain the plaintext, specifically:

[0062] S4-1, the decryptor receives the ciphertext CT = (τ, C0, C1, C2, C3, C4, b0, b1, ..., b n ), first calculate h′=H3(C0, C1, C2, C3, b0, b1, ..., b n ), and determine whether the equation e(C1, h′R+τU+V)=e(C0, C4) holds; if so, execute S4-2; otherwise, output an error message;

[0063] S4-2, calculation using private key

[0064] S4-3, calculate K′=KDF(C0, k′, l), And output the decrypted message M', the decryption method is: determine whether it can be based on Correctly calculate w i ; then k′=k, K′=K,

[0065] Among them, h′ is a temporary variable, belonging to the finite field F p The elements in; w′ is a temporary variable, belonging to the group G T elements in; k′ is a temporary variable belonging to the finite field F p The elements in ; K′ is a temporary variable, a bit string of length l; M′ is the decrypted message.

[0066] The present invention is based on the SM9 identification encryption algorithm, and mainly modifies the encryption and decryption algorithm so that it satisfies that the ciphertext generated by one encryption can be decrypted by multiple users at the same time. The present invention includes three types of entities, namely the key generation center (KGC), the sender (broadcaster) and the receiver (authorized user). The key generation center generates the system master public key, the system master private key and the user private key. In the specific broadcast encryption process, the sender encrypts the broadcast message for all target receivers and broadcasts it through a public channel. At this time, both the authorized users and unauthorized users who monitor the channel can obtain the broadcast ciphertext. However, only authorized users can use their own private keys to decrypt the ciphertext to obtain the message, and unauthorized users will obtain a meaningless string of characters when decrypting with their own private keys. In addition, no user can obtain the identity information of other receivers from the ciphertext, which effectively protects the identity information of the receiver. In terms of computing efficiency, the present invention has obvious advantages in the decryption stage and is suitable for scenarios such as cloud computing and the Internet of Things.

[0067] The present invention adopts the above technical solution and has the following beneficial effects: (1) Based on my country's self-developed SM9, it ensures that information security is independent and controllable. (2) The present invention uses polynomial technology to achieve decryption of a ciphertext encrypted once by multiple recipients. Compared with using the SM9 encryption algorithm multiple times to achieve one-to-many communication, it is more efficient and more suitable for one-to-many communication application scenarios in multi-user scenarios such as big data, cloud computing, and the Internet of Things; (3) The present invention is more secure and can resist adaptive chosen ciphertext attacks; (4) While achieving efficient data transmission, it ensures data confidentiality and recipient anonymity. No authorized user or unauthorized user can obtain information about other recipients from the ciphertext.

[0068] In summary, the function realized by the present invention focuses on anonymity and can meet the requirement of anonymity. In the encryption step of the algorithm, only one's own identification information needs to be input, and the identification information of all recipients does not need to be input, which is completely different from the construction method of the existing algorithm.

[0069] Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present application is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians of the art without making creative work are within the scope of protection of the present application.

Claims

1. The CCA secure SM9 anonymous broadcast encryption method has three types of participating entities, namely the key generation center, the sender and the receiver, and is characterized by: The encryption method includes the following steps: S1. The key generation center generates the system master public key and system master private key according to the security parameters, and makes the system master public key public to the users in the system. The system master private key is kept secret by the key generation center. The specific steps of S1 are as follows: S1-1, the key generation center first determines the maximum number of recipients m for one encryption, and selects the bilinear group BP=(G1, G2, G T ,e,p), S1-2, randomly select the generator P1 of group G1 and the generators P2, R, U and V of group G2; for any receiver i∈1,2,…,m, calculate the element α in group G1 respectively i P1, element P in group G2 pub =α 2 P2; S1-3, select random number As the system master private key, three cryptographic hash functions H1, H2 and H3 and the key derivation function KDF are selected to jointly generate the system master public key mpk and make it public; the expression of the master public key mpk is as follows Among them, BP is a bilinear group; p is a cyclic group G1, G2, G T The order of is greater than 2 191 prime number; G1, G2 represent additive cyclic groups of order p; G T represents the multiplicative cyclic group of prime order p; e represents the number from G1×G2 to G T bilinear mapping; α represents the system master private key; m represents the maximum number of recipients for one encryption; P1 is the generator of group G1; P2, R, U, and V represent the generators of group G2 respectively; represents the elements in group G1; P pub is an element in group G2; H1, H2, H3 represent cryptographic hash functions; KDF represents key derivation function; mpk represents the system master public key; S2. The key generation center generates a user private key based on the user's request using the system public and private key pair, and sends the user private key to the user through a secure channel. The calculation formula for the user private key is as follows: Where ID represents a known user ID; Sk ID The user private key representing the user ID belongs to the element in group G2; H1 represents {0, 1} * arrive A cryptographic function derived from a cryptographic hash function; {0, 1} * Represents a bit string of arbitrary length; Z p * is the set of integers {1, 2, …, p-1}; S3, the encryptor uses the public system master public key and the receiver identification set S = {ID1, ID2, ..., ID n } Treat the encrypted message as a bit string M∈{0,1} l Encrypt to get the ciphertext, and broadcast the ciphertext to the public channel. The specific encryption steps are as follows: S3-1. Define polynomial S3-2. Select random numbers S3-3. Calculate the elements C0 = p(α)P1, C1 = rp(α)P1 in the group G1; S3-4. For any i=1, 2, ..., n, calculate the group G T The element w in i =e(αp i (α)P1,P2) r ; S3-5. Defining polynomials where b n =1; S3-6. Calculate K = KDF (C0, k, l), calculate Calculate C3 = rP pub ; S3-7. Calculate h = H3 (C0, C1, C2, C3, b0, b1, ..., b n ), calculate the element C4=r(hR+τU+V) in the group G2, and output the ciphertext CT=(τ, C0, C1, C2, C3, C4, b0, b1, …, b n ); Where M is the message to be encrypted; ID i is the ID of user i; S is the set of IDs of the recipients of the current message, S = (ID1, ID2, ..., ID n ), n represents the number of recipients of the current message, n≤m, m is the maximum number of recipients; r, k, τ represent The random numbers in; C0 and C1 are temporary variables, belonging to the elements of group G1; w i is a temporary variable, belonging to group G T Elements in b i are the coefficients of the polynomial q(x), belonging to the finite field F p The elements in; K is the encapsulated session key, a bit string of length l; KDF is to {0, 1} l The key derivation function; C2 is a temporary variable, C2 is a string of length l; C3 is a temporary variable, belonging to the element in group G2; H3 is arrive A cryptographic function derived from a cryptographic hash function; C4 is a temporary variable, an element of group G2; CT is the encapsulated ciphertext; S4. The receiver uses the system master public key and his own private key to decrypt the ciphertext to obtain the plaintext. The specific steps of S4 are: S4-1, the decryptor receives the ciphertext CT = (τ, C0, C1, C2, C3, C4, b0, b1, ..., b n ), first calculate h′=H3(C0, C1, C2, C3, b0, b1, ..., b n ), and determine whether the equation e(C1, h′R+τU+V)=e(C0, C4) holds; if so, execute S4-2; otherwise, output an error message; S4-2, calculation using private key S4-3, calculate K′=KDF(C0, k′, l), And output the decrypted message M', the decryption method is: determine whether it can be based on Correctly calculate w i ; then k′=k, K′=K, Among them, h′ is a temporary variable, belonging to the finite field F p The elements in; w′ is a temporary variable, belonging to the group G T elements in; k′ is a temporary variable belonging to the finite field F p The elements in ; K′ is a temporary variable, a bit string of length l; M′ is the decrypted message.