Attribute-based searchable encryption method and system for multiple authorization centers with revocable attributes

By adopting a multi-authorization center attribute-based searchable encryption method with revocable attributes in the Internet of Vehicles scenario, combined with ciphertext policy attribute encryption that hides part of the access policy, the problem of being unable to achieve real-time attribute revocation and keyword search in the existing technology is solved. , reducing computing pressure and single point failure risks, ensuring fine-grained access control of data and user privacy protection.

CN118659899APending Publication Date: 2024-09-17HUAIYIN INSTITUTE OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410686423.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing technology cannot realize real-time attribute revocation and keyword search of data users in the Internet of Vehicles scenario, resulting in high computing and storage pressure on the attribute authorization center, the risk of single point failure, and the inability to achieve fine-grained access control and user privacy protection.

Method used

Adopting an attribute-revocable multi-authorization center-based attribute-based searchable encryption method, through the central authorization center and multiple attribute authorization centers, dynamic updating of user private keys and real-time matching of ciphertexts are achieved, combined with ciphertext policy attributes that hide part of the access policy. Encryption, supporting fine-grained access control and user privacy protection.

Benefits of technology

It reduces the computing pressure of the attribute authorization center, realizes real-time revocation and keyword search of user attributes, reduces the risk of single point of failure, ensures fine-grained access control of data and user privacy protection, and prevents data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659899A
    Figure CN118659899A
Patent Text Reader

Abstract

The invention discloses an attribute-based searchable encryption method and system for multiple authorization centers with revocation attributes, the system comprises a system parameter setting module, a key generation module, an encryption module, a trap door generation module, a search module, a decryption module and an attribute revocation module, the system parameter setting module generates a public key, a private key and a public attribute key; the key generation module generates a data user private key; the encryption module generates a ciphertext and an index; the trap door generation module generates a search trap door; the search module returns to obtain a search ciphertext according to the search trap door and the keyword index; the decryption module decrypts the searched ciphertext to obtain a plaintext; the attribute revocation module generates an attribute update key, a new public attribute key, a data user private key, and an updated ciphertext. According to the method, fine-grained access control and user privacy protection can be realized, the calculation pressure of each attribute authorization center is reduced, keyword search is realized, and attribute revocation is performed on the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of cloud computing security technology, and in particular relates to an attribute-revocable multi-authorization center-based attribute-searchable encryption method and system. Background Art

[0002] Attribute-Based Encryption (ABE) can achieve data confidentiality and fine-grained access control, and is considered to be the most promising cloud storage data protection method. ABE includes Key-Policy Attribute-Based Encryption (KP-ABE) and Ciphertext-Policy Attribute-Based Encryption (CP-ABE). Compared with KP-ABE, the CP-ABE solution is more suitable for cloud storage application scenarios. Data owners can authorize users who can decrypt their ciphertexts through CP-ABE.

[0003] In 2019, Jiang et al. proposed an attribute-revocable ABE scheme suitable for the Internet of Vehicles scenario. The scheme regenerates ciphertext and private key for data users by executing an update algorithm to achieve attribute revocation, but this scheme cannot achieve real-time revocation of data users.

[0004] In 2023, Li et al. proposed a solution based on blockchain and attribute encryption in the Internet of Vehicles to achieve secure data transmission between roadside units (RSU) and vehicles, and use the Inter-Planetary File System (IPFS) to improve the efficiency and security of the data sharing system. This solution uses attribute-based encryption to implement fine-grained access control. In Li et al.'s solution, the Attribute Authority (AA) is responsible for managing the attributes of the vehicle, including the generation, distribution, and revocation of attribute keys, which brings huge computing and storage overhead to the AA and may also cause single point failure problems. In addition, the application scenario of the Internet of Vehicles often involves keyword search on ciphertext, but this solution does not have this function. Summary of the invention

[0005] Purpose of the invention: The purpose of the present invention is to provide an attribute-searchable encryption method and system based on multiple authorization centers with revocable attributes, which can reduce the computing pressure of the attribute authorization center, realize user attribute revocation and keyword search, and realize fine-grained access control and user privacy protection for the application scenarios of Internet of Vehicles in cloud environment.

[0006] Technical solution: The attribute-revocable multi-authorization center of the present invention is based on an attribute-searchable encryption method, including:

[0007] (1) Configure security parameters λ, and the central authorization center CA outputs public parameters PP; the central authorization center CA generates the corresponding identity θ based on the attributes of the attribute authorization center AA; based on the public parameters PP, the central authorization center CA outputs the attribute authorization center AA θ The public key PK θ and private key SK θ , Attribute Authority AA θ Output public attribute key PAK θ,i ;

[0008] (2) Based on the private key SK θ , public parameters PP, user identity DU of the data user j and its attribute set S j , Attribute Authority AA θ Output User DU j The private key SK θ,j ;

[0009] (3) Based on the public key PK θ , public parameters PP, access policy (M, ρ), message m to be encrypted and keyword w extracted from message m, data owner DO outputs ciphertext CT and keyword index I w ; M is an l×n-order matrix, l is the number of corresponding attributes, n is the number of columns of the matrix M, and ρ is the execution probability distribution of the access strategy;

[0010] (4) Based on the public key PK θ 、Private key SK θ,j and the keyword w′ to be searched, the data user DU j Output trapdoor T w′ ;

[0011] (5) According to the trapdoor T w′ and keyword index I w , the cloud storage server CSS performs a match. If the match is successful, the cloud storage server CSS outputs the ciphertext CT w′ ;

[0012] (6) According to the ciphertext CT w′ and private key SK θ,j , if the attribute set S j Satisfying the access policy (M, ρ) embedded in the ciphertext, the decrypted ciphertext CT w′ , output plaintext m;

[0013] (7) Based on the public key PK θ 、Private key SK θAnd revoke attribute i′, attribute authority AA θ Output attribute update key AUK θ,i′ ; According to the private key SK θ,j and Attribute Update Key AUK θ,i′ , the data user outputs the updated private key SK′ θ,j ; Update key AUK based on the ciphertext CT′ and attribute associated with the revoked attribute i′ θ,i′ , the cloud storage server CSS outputs the updated ciphertext CT″.

[0014] Further, step (1) includes: inputting a security parameter λ, the central authorization center CA selects a large prime number p, and the p-factorial cyclic group and Bilinear Map Central Authorization Center CA Selection Group The generator g of two hash functions and T:Z→{0,1} l , {0, 1} * Represents a set of bit strings of arbitrary length, {0, 1} l Represents a set of bit strings of length l; the central authorization center CA outputs public parameters

[0015] The attribute authority AA defines a set of all attributes U. For each attribute i∈U, there is a corresponding attribute authority identity θ=T(i); the attribute authority AA θ Randomly select α θ , β θ , γ θ , θ ∈Z p , Z p The set of integers modulo p, that is, all integers from 0 to p-1, where p is a prime number; the central authority CA outputs the attribute authority AA θ The public key and private key SK θ ={α θ , β θ , γ θ , θ}; For each attribute i∈U, RL i Represents the attribute revocation list; choose a random number η i ∈Z p , Attribute Authority AA θ Output public attribute key

[0016] Furthermore, step (2) includes: randomly selecting u j,θ ∈Zp As the unique identity of user j, calculate For all i∈S j ,calculate Attribute Authority AA θ Output User DU j Private key

[0017] Furthermore, step (3) includes: let x∈I={1, ..., l} correspond to the rows in the matrix M, define a function μ(x)=T(ρ(x)), associate each row in the matrix M with a specific attribute authorization center, that is, μ:{1, ..., l}→U θ , U θ It is a collection associated with the identity of the attribute authority;

[0018] Randomly select v 2 , ..., v n ∈Z p As a vector , where s is the shared secret value;

[0019] For 1≤x≤l, the share of the secret value s is calculated as M x is the x-th row of matrix M; calculate α is the private key SK θ , γ is the private key SK θ , η is the public attribute key PAK θ,i , ζ is the private key SK θ , β is the private key SK θ components of;

[0020] The data owner DO outputs the ciphertext CT = {C 0 , C 1 , C 2 , C 3} and sent to the cloud storage server CSS;

[0021] Random Selection is the multiplicative group modulo p, the set of all non-zero integers modulo p; compute C s =g τ / w C 1 , I 2 =g w , Data owner DO output keyword index I w ={C s , I 1, I 2 , I 3} and upload it to the cloud storage server CSS.

[0022] Furthermore, step (4) includes: calculating Data User DU j Generate Trapdoor T w′ ={T w1 , T w2 , T ws} and sent to the cloud storage server CSS.

[0023] Further, step (5) includes: the cloud storage server CSS verifies the equation e(T w1 , C s )=I 1 ·e(I 3 , T w2 )·e(T ws , I 2 ), if the equation holds, the cloud storage server CSS returns the ciphertext CT w′ To Data Users j ; otherwise return ⊥.

[0024] Furthermore, step (6) includes: if the attribute set S of the data user j Satisfying the access policy (M, ρ) embedded in the ciphertext, data users can Decrypt the encrypted message m;

[0025]

[0026] Among them, w x Represents the keyword corresponding to attribute x.

[0027] Further, step (7) includes: for the attribute to be revoked, the attribute authority AA θ Randomly select a value And the output attribute update key η i′ Update the key components for generating attributes;

[0028] Further attributes Authorization Center AA θ Output new public attribute key PAK i′ The public attribute key associated with the revoked attribute; the attribute authority AA θ Update the attribute key AUK θ,i′ and attribute revocation list RL i′ Sent to data consumers and CSS for non-revoked attributes;

[0029] Given the private key SK of the data user θ,j and Attribute Update Key AUK θ,i′ , the data user performs the private key update operation:

[0030] For i≠i′, the data user outputs the updated private key

[0031]

[0032] For i=i′, the data user outputs the updated private key

[0033]

[0034] Further, step (7) further includes: given the ciphertext CT′ and the attribute update key AUK associated with the revoked attribute i′ θ,i′ , the cloud storage server CSS performs the ciphertext update operation:

[0035] for The cloud storage server CSS outputs the updated ciphertext CT″={C′ 0 =C 0 , C′ 1 =C 1 , C′ 2 =C 2 , C′ 3 =C 3};for Cloud storage server CSS output update ciphertext

[0036] The attribute-revocable multi-authorization center-based attribute-searchable encryption system of the present invention includes:

[0037] The system parameter setting module is used to configure the security parameter λ. The central authorization center CA outputs the public parameter PP. The central authorization center CA generates the corresponding identity θ according to the attributes of the attribute authorization center AA. According to the public parameter PP, the central authorization center CA outputs the attribute authorization center AA θ The public key PK θ and private key SK θ , Attribute Authority AA θ Output public attribute key PAK θ,i ;Public key PK θ Send it to the encryption module, trapdoor generation module, and attribute revocation module; send the private key SK θ Send to the key generation module and attribute revocation module; public attribute key PAK θ,i Send to attribute revocation module;

[0038] The key generation module is used to generate a private key SKθ , public parameters PP, user identity DU of the data user j and its attribute set S j , Attribute Authority AA θ Output User DU j The private key SK θ,j ; The private key SK θ,j Send to the decryption module, attribute revocation module and trapdoor generation module;

[0039] Encryption module, used to θ , public parameters PP, access policy (M, ρ), message m to be encrypted and keyword w extracted from message m, data owner DO outputs ciphertext CT and keyword index I w ; M is an l×n matrix, l is the number of corresponding attributes, n is the number of columns of the matrix M, and ρ is the execution probability distribution of the access policy; send the ciphertext CT to the attribute revocation module, and the keyword index I w Send to search module;

[0040] Trapdoor generation module, used to generate θ 、Private key SK θ,j and the keyword w′ to be searched, the data user DU j Output trapdoor T w′ ; Set the trapdoor T w′ Send to search module;

[0041] The search module is used to search for w′ and keyword index I w , the cloud storage server CSS performs a match. If the match is successful, the cloud storage server CSS outputs the ciphertext CT w′ ; The ciphertext CT w′ Send to decryption module;

[0042] Decryption module, used to decrypt the ciphertext CT w′ and private key SK θ,j , if the attribute set S j Satisfying the access policy (M, ρ) embedded in the ciphertext, the decrypted ciphertext CT w′ , output plaintext m;

[0043] And, an attribute revocation module for revoking the public key PK θ 、Private key SK θ And revoke attribute i′, attribute authority AA θ Output attribute update key AUK θ,i′ ; According to the private key SK θ,j and Attribute Update Key AUK θ,i′ , the data user outputs the updated private key SK′θ,j ; Update key AUK based on the ciphertext CT′ and attribute associated with the revoked attribute i′ θ,i′ , the cloud storage server CSS outputs the updated ciphertext CT″.

[0044] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: The present invention combines ciphertext policy attribute encryption based on hidden partial access policy and a multi-attribute authorization center to simultaneously achieve fine-grained access control and user privacy protection, reduce the computational pressure of each attribute authorization center, keyword search, and user attribute revocation. CP-ABE based on hidden partial access policy achieves fine-grained access control, data sharing, and user privacy protection. Introducing a central authorization center (CA) and multiple attribute authorization centers (AA) reduces the computational pressure of a single AA and the possibility of single point failure problems. For vehicles that have already left, revoke their attributes in a timely manner to prevent the vehicle from still being able to access encrypted information after leaving, thereby avoiding data leakage. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a schematic diagram of the structure of the attribute-searchable encryption system based on multiple authorization centers with revocable attributes provided by an embodiment of the present invention;

[0046] Figure 2 It is a schematic diagram of user usage status of an attribute-revocable multi-authorization center-based attribute-searchable encryption system in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The present invention will be further described below in conjunction with the accompanying drawings.

[0048] The embodiment of the present invention provides a method for revocable attribute-based multi-authorization center searchable encryption, which specifically includes the following steps:

[0049] (1) Configure security parameters λ, and the central authority (CA) outputs public parameters (PP). The central authority CA generates the corresponding identity θ based on the attributes of the attribute authority (AA). Based on the public parameters PP, the central authority CA outputs the attribute authority AA. θ The public key PK θ and private key SK θ , Attribute Authority AA θ Output public attribute key PAK θ,i ;

[0050] Step (1) comprises:

[0051] (1.1) Input security parameter λ, the central authorization center CA selects a large prime number p, and the p factorial cyclic group and Bilinear Map

[0052] (1.2) Central Authorization Center CA Selection Group The generator g of two hash functions and T:Z→{0,1} l , {0, 1} * Represents a set of bit strings of arbitrary length, {0, 1} l Represents a set of bit strings of length l; the central authorization center CA outputs public parameters

[0053] (1.3) The attribute authority AA defines a set of all attributes U. For each attribute i∈U, there is a corresponding attribute authority identity θ=T(i);

[0054] (1.4) Attribute Authority AA θ Randomly select α θ , β θ , γ θ , θ ∈Z p , Z p represents the set of integers modulo p, that is, all integers from 0 to p-1, where p is a prime number;

[0055] Central Authorization Center CA Output Attribute Authorization Center AA θ The public key and private key SK θ ={α θ , β θ , γ θ , θ}; For each attribute i∈U, RL i Represents the attribute revocation list; choose a random number η i ∈Z p , Attribute Authority AA θ Output public attribute key

[0056] (2) Based on the private key SK θ , the user identity of the data user (DU) j , the attribute set S of the data user j And public parameters PP, attribute authorization center AA θ Output User DU j The corresponding private key SKθ,j ;

[0057] Step (2) comprises:

[0058] Given the identity of the data user DU j , attribute set S j , Attribute Authority AA θ The private key SK θ And the public parameter PP, randomly select u j,θ ∈Z p As the unique identity of user j, calculate For all i∈S j ,calculate Attribute Authority AA θ Output Data User DU j Private key

[0059] (3) Based on the public key PK θ , the message m to be encrypted, the access policy (M, ρ), the public parameter PP and the keyword w extracted from the message m, the data owner (Data Owner, DO) outputs the ciphertext CT and the keyword index I w ; M is an l×n-order matrix, l is the number of corresponding attributes, n is the number of columns of the matrix M, and ρ is the execution probability distribution of the access strategy;

[0060] Step (3) includes:

[0061] (3.1) Given an attribute authority AA θ The public key PK θ , public parameters PP, the message m to be encrypted, and an access policy (M, ρ); let x∈I={1, ..., l} correspond to the rows in the matrix M, define a function μ(x)=T(ρ(x)), associate each row in the matrix M with a specific authorization center, that is, μ:{1, ..., l}→U θ , U θ It is a collection associated with the identity of the attribute authority;

[0062] Randomly select v 2 , ..., v n ∈Z p As a vector , where s is the shared secret value;

[0063] For 1≤x≤l, the share of the secret value s is calculated as M x is the x-th row of matrix M; calculate α is the private key SK θ, γ is the private key SK θ , η is the public attribute key PAK θ,i , ζ is the private key SK θ , β is the private key SK θ components of;

[0064] The data owner DO outputs the ciphertext CT = {C 0 , C 1 , C 2 , C 3} and sent to the cloud storage server CSS;

[0065] (3.2) Given an attribute authority AA θ The public key PK θ , ciphertext CT, public parameter PP, and keyword w extracted by the data owner from message m; randomly selected is the multiplicative group modulo p, the set of all non-zero integers modulo p;

[0066] Calculate C s =g τ / w C 1 , I 2 =g w , Data owner DO output keyword index I w ={C s , I 1 , I 2 , I 3} and upload it to the Cloud Storage Server (CSS).

[0067] (4) Based on the public key PK θ , Data User DU j The private key SK θ,j and the keyword w′ to be searched, the data user DU j Output trapdoor T w′ ;

[0068] Step (4) comprises:

[0069] calculate Data User DU j Generate Trapdoor T w′ ={T w1 , T w2 , T ws} and sent to the cloud storage server CSS.

[0070] (5) According to the trapdoor Tw′ and keyword index I w , the cloud storage server CSS performs a match. If the match is successful, the cloud storage server CSS will send the ciphertext CT w′ Output to data user DU j ; Otherwise output ⊥;

[0071] Step (5) comprises:

[0072] According to the keyword index I uploaded to the cloud storage server CSS by the data owner DO w and data users DU j Trapdoor T uploaded to cloud storage server CSS w′ , the cloud storage server CSS verification equation e(T w1 , C s )=I 1 ·e(I 3 , T w2 )·e(T ws , I 2 ), if the equation holds, the cloud storage server CSS returns the ciphertext CT w′ To Data Users j ; otherwise return ⊥.

[0073] (6) According to the ciphertext CT w′ and data users DU j The private key SK θ,j If the data user DU j The attribute set S j Satisfying the access policy (M, ρ) embedded in the ciphertext, the decrypted ciphertext CT w′ , output plaintext m; otherwise output ⊥;

[0074] Step (6) comprises:

[0075] The ciphertext CT received by the data user from the cloud storage server CSS w′ , if the attribute set S of the data user j Satisfying the access policy (M, ρ) embedded in the ciphertext, data users can Decrypt the encrypted message m;

[0076]

[0077] Among them, w x represents the keyword corresponding to attribute x;

[0078] Otherwise output ⊥.

[0079] (7) Based on the public key PK θ 、Private key SK θAnd revoke attribute i′, attribute authority AA θ Output attribute update key AUK θ,i′ ; Based on the data user's existing private key SK θ,j and Attribute Update Key AUK θ,i′ , the data user outputs the updated private key SK′ θ,j ; Update key AUK based on the ciphertext CT′ and attribute associated with the revoked attribute i′ θ,i′ , the cloud storage server CSS outputs the updated ciphertext CT″;

[0080] Step (7) comprises:

[0081] (7.1) Based on the attribute authorization center AA θ The public key PK θ 、Private key SK θ And revoke attribute i′, for the attribute you want to revoke, the attribute authority AA θ Randomly select a value And the output attribute update key η i′ To generate the component of attribute update key; further attribute authority AA θ Output new public attribute key PAK i′ The public attribute key associated with the revoked attribute; the attribute authority AA θ Update the attribute key AUK θ,i′ and attribute revocation list RL i′ Sent to data consumers and CSS for non-revoked attributes;

[0082] (7.2) Given the private key SK of the data user θ,j and Attribute Update Key AUK θ,i′ , the data user performs the private key update operation:

[0083] For i≠i′, the data user outputs the updated private key

[0084]

[0085] For i=i′, the data user outputs the updated private key

[0086]

[0087] (7.3) Given the ciphertext CT′ associated with the revoked attribute i′ and the attribute update key AUK θ,i′ , CSS performs the ciphertext update operation:

[0088] for The cloud storage server CSS outputs the updated ciphertext CT″={C′ 0 =C 0 , C′ 1 =C 1 , C′ 2 =C 2 , C′ 3 =C 3};for Cloud storage server CSS output update ciphertext

[0089] like Figure 1 As shown, the embodiment of the present invention also provides a multi-authorization center attribute-based searchable encryption system with revocable attributes, including:

[0090] The system parameter setting module is used to configure the security parameter λ. The central authorization center CA outputs the public parameter PP. The central authorization center CA generates the corresponding identity θ according to the attributes of the attribute authorization center AA. According to the public parameter PP, the central authorization center CA outputs the attribute authorization center AA θ The public key PK θ and private key SK θ , Attribute Authority AA θ Output public attribute key PAK θ,i ;Public key PK θ Send it to the encryption module, trapdoor generation module, and attribute revocation module; send the private key SK θ Send to the key generation module and attribute revocation module; public attribute key PAK θ,i Send to attribute revocation module;

[0091] The key generation module is used to generate a private key SK θ , public parameters PP, user identity DU of the data user j and its attribute set S j , Attribute Authority AA θ Output User DU j The private key SK θ,j ; The private key SK θ,j Send to the decryption module, attribute revocation module and trapdoor generation module;

[0092] Encryption module, used to θ , public parameters PP, access policy (M, ρ), message m to be encrypted and keyword w extracted from message m, data owner DO outputs ciphertext CT and keyword index I w ; M is an l×n matrix, l is the number of corresponding attributes, n is the number of columns of the matrix M, and ρ is the execution probability distribution of the access policy; send the ciphertext CT to the attribute revocation module, and the keyword index Iw Send to search module;

[0093] Trapdoor generation module, used to generate θ 、Private key SK θ,j and the keyword w′ to be searched, the data user DU j Output trapdoor T w′ ; Set the trapdoor T w′ Send to search module;

[0094] The search module is used to search for w′ and keyword index I w , the cloud storage server CSS performs a match. If the match is successful, the cloud storage server CSS outputs the ciphertext CT w′ ; The ciphertext CT w′ Send to decryption module;

[0095] Decryption module, used to decrypt the ciphertext CT w′ and private key SK θ,j , if the attribute set S j Satisfying the access policy (M, ρ) embedded in the ciphertext, the decrypted ciphertext CT w′ ,, output plaintext m;

[0096] And, an attribute revocation module for revoking the public key PK θ 、Private key SK θ And revoke attribute i′, attribute authority AA θ Output attribute update key AUK θ,i′ ,; According to the private key SK θ,j and Attribute Update Key AUK θ,i′ , the data user outputs the updated private key SK′ θ,j ; Update key AUK based on the ciphertext CT′ and attribute associated with the revoked attribute i′ θ,i′ , the cloud storage server CSS outputs the updated ciphertext CT″.

[0097] like Figure 2 As shown, the attribute-revocable multi-authorization center-based attribute-searchable encryption system provided by the present invention mainly has the following five entities:

[0098] Central Attribute Authority (CA): CA is completely honest and trustworthy. It is mainly responsible for generating public parameters of the system.

[0099] Attribute Authorization Center (AAs): AA is responsible for generating the public and private keys of the system and generating private keys for each user. AA is also responsible for attribute revocation. Furthermore, multiple AAs can also reduce the possibility of single-point performance bottlenecks.

[0100] Cloud Storage Server (CSS): CSS is responsible for storing keyword indexes and ciphertexts, and sending ciphertexts containing search keywords to data users when the search module is successfully executed.

[0101] Data Owner (DO): The data owner is responsible for building access policies, extracting keywords, and generating ciphertext. Finally, the generated ciphertext and keyword index are uploaded to CSS.

[0102] Data User (DU): Each data user has a private key associated with his / her attributes. He / she can generate a trapdoor corresponding to the search keyword and use the trapdoor to obtain the ciphertext containing the search keyword on the CSS. If his / her attributes meet the access policy in the ciphertext, he / she can decrypt the ciphertext with his / her private key.

[0103] The following will describe an example scenario in which the attribute-revocable multi-authorization center-based attribute-searchable encryption method and system described in the application embodiments are applied to cloud computing.

[0104] For vehicle networking applications, suppose that multiple roadside units (RSUs) in a certain road section need to inform vehicles traveling on the road section of information such as road congestion and traffic light warnings. The roadside units first encrypt the information and upload it to the cloud storage server. Since there are many messages uploaded by the roadside units to the cloud storage server, vehicles traveling on the road section can perform keyword queries on the ciphertext in the cloud storage server according to their needs, and then download the ciphertext that meets their own access policy, and then use their own private key to decrypt and restore the plaintext. At the same time, when a vehicle in the road section leaves the road section, in order to ensure that it can no longer access the information sent by the roadside unit in this section, it is necessary to revoke the attribute of being able to access the information sent by the roadside unit from the cloud storage server. Furthermore, since the access policy usually contains sensitive information, the cloud storage server or malicious users may guess the information through the access policy, so some access policies are hidden to achieve user privacy protection.

Claims

1. A multi-authorization center attribute-revocable searchable encryption method based on attributes, characterized in that: include: (1) Configure security parameters λ, and the central authorization center CA outputs public parameters PP; The central authorization center CA generates the corresponding identity θ according to the attributes of the attribute authorization center AA; Based on the public parameters PP, the central authority CA outputs the attribute authority AA θ The public key PK θ and private key SK θ , Attribute Authority AA θ Output public attribute key PAK θ,i ; (2) Based on the private key SK θ , public parameters PP, user identity DU of the data user j and its attribute set S j , Attribute Authority AA θ Output User DU j The private key SK θ,j ; (3) Based on the public key PK θ , public parameters PP, access policy (M, ρ), message m to be encrypted and keyword w extracted from message m, data owner DO outputs ciphertext CT and keyword index I w ; M It is an l×n-order matrix, where l is the number of corresponding attributes, n is the number of columns of the matrix M, and ρ is the execution probability distribution of the access strategy; (4) Based on the public key PK θ 、Private key SK θ,j and the keyword w′ to be searched, the data user DU j Output trapdoor T w′ ; (5) According to the trapdoor T w′ and keyword index I w , the cloud storage server CSS performs a match. If the match is successful, the cloud storage server CSS outputs the ciphertext CT w′ ; (6) According to the ciphertext CT w′ and private key SK θ,j , if the attribute set S j Satisfying the access policy (M, ρ) embedded in the ciphertext, the decrypted ciphertext CT w′ , output plaintext m; (7) Based on the public key PK θ 、Private key SK θ And revoke attribute i′, attribute authority AA θ Output attribute update key AUK θ,i′ ; According to the private key SK θ,j and Attribute Update Key AUK θ,i′ , the data user outputs the updated private key SK′ θ,j ; Update key AUK based on the ciphertext CT′ and attribute associated with the revoked attribute i′ θ,i′ , the cloud storage server CSS outputs the updated ciphertext CT″.

2. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 1, characterized in that: Step (1) includes: inputting security parameter λ, the central authorization center CA selects a large prime number p, and the p-factorial cyclic group and Bilinear Map Central Authorization Center CA Selection Group Generator g of two hash functions and T:Z→{0,1} l , {0,1} * Represents a set of bit strings of arbitrary length, {0,1} l Represents a set of bit strings of length l; the central authorization center CA outputs public parameters The attribute authority AA defines a set of all attributes U. For each attribute i∈U, there is a corresponding attribute authority identity θ=T(i); the attribute authority AA θ Randomly select α θ ,β θ ,γ θ ,ζ θ ∈Z p , Z p The set of integers modulo p, that is, all integers from 0 to p-1, where p is a prime number; the central authority CA outputs the attribute authority AA θ The public key and private key SK θ ={α θ ,β θ ,γ θ ,ζ θ }; For each attribute i∈U, RL i Represents the attribute revocation list; choose a random number η i ∈Z p , Attribute Authority AA θ Output public attribute key 3. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 2, characterized in that: Step (2) includes: randomly selecting u j,θ ∈Z p As the unique identity of user j, calculate For all i∈S j ,calculate Attribute Authority AA θ Output User DU j Private key 4. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 3, characterized in that: Step (3) includes: let x∈I={1,...,l} correspond to the rows in the matrix M, define a function μ(x)=T(ρ(x)), associate each row in the matrix M with a specific attribute authorization center, that is, μ:{1,...,l}→U θ , U θ It is a collection associated with the identity of the attribute authority; Randomly select v2,...,v n ∈Z p As a vector , where s is the shared secret value; For 1≤x≤l, the share of the secret value s is calculated as M x is the x-th row of matrix M; calculate α is the private key SK θ , γ is the private key SK θ , η is the public attribute key PAK θ,i , ζ is the private key SK θ , β is the private key SK θ components of; The data owner DO outputs the ciphertext CT = {C0, C1, C2, C3} and sends it to the cloud storage server CSS; Random Selection is the multiplicative group modulo p, the set of all non-zero integers modulo p; compute I2=g w , Data owner DO output keyword index I w ={C s ,I1,I2,I3} and upload them to the cloud storage server CSS.

5. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 4, characterized in that: Step (4) includes: calculating Data User DU j Generate Trapdoor T w′ ={T w1 ,T w2 ,T ws } and sent to the cloud storage server CSS.

6. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 5, characterized in that: Step (5) includes: the cloud storage server CSS verifies the equation e(T w1 ,C s )=I1·e(I3,T w2 )·e(T ws ,I2), if the equation holds, the cloud storage server CSS returns the ciphertext CT w′ To Data Users j ; otherwise return ⊥.

7. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 6, characterized in that: Step (6) includes: if the attribute set S of the data user j Satisfying the access policy (M,ρ) embedded in the ciphertext, data users can Decrypt the encrypted message m; Among them, w x Represents the keyword corresponding to attribute x.

8. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 7, characterized in that: Step (7) includes: for the attribute to be revoked, the attribute authority AA θ Randomly select a value And the output attribute update key η i′ Update the key components for generating attributes; Further attributes Authorization Center AA θ Output new public attribute key PAK i′ The public attribute key associated with the revoked attribute; the attribute authority AA θ Update the attribute key AUK θ,i′ and attribute revocation list RL i′ Sent to data consumers and CSS for non-revoked attributes; Given the private key SK of the data user θ,j and Attribute Update Key AUK θ,i′ , the data user performs the private key update operation: For i≠i′, the data user outputs the updated private key For i=i′, the data user outputs the updated private key 9. The attribute-revocable multi-authorization center-based attribute searchable encryption method according to claim 8, characterized in that: Step (7) also includes: given the ciphertext CT′ associated with the revoked attribute i′ and the attribute update key AUK θ,i′ , the cloud storage server CSS performs the ciphertext update operation: For ρ(x)≠i′, The cloud storage server CSS outputs the updated ciphertext CT″={C0′=C0,C1′=C1,C2′=C2,C3′=C3}; for ρ(x)=i′, Cloud storage server CSS output update ciphertext 10. An attribute-revocable multi-authorization center-based attribute searchable encryption system, characterized in that: include: System parameter setting module, used to configure security parameters λ, and the central authorization center CA outputs public parameters PP; The central authorization center CA generates the corresponding identity θ according to the attributes of the attribute authorization center AA; Based on the public parameters PP, the central authority CA outputs the attribute authority AA θ The public key PK θ and private key SK θ , Attribute Authority AA θ Output public attribute key PAK θ,i ;Public key PK θ Send it to the encryption module, trapdoor generation module, and attribute revocation module; send the private key SK θ Send to the key generation module and attribute revocation module; public attribute key PAK θ,i Send to attribute revocation module; The key generation module is used to generate a private key SK θ , public parameters PP, user identity DU of the data user j and its attribute set S j , Attribute Authority AA θ Output User DU j The private key SK θ,j ; The private key SK θ,j Send to the decryption module, attribute revocation module and trapdoor generation module; Encryption module, used to θ , public parameters PP, access policy (M, ρ), message m to be encrypted and keyword w extracted from message m, data owner DO outputs ciphertext CT and keyword index I w ; M is an l×n-order matrix, where l is the number of corresponding attributes, n is the number of columns of the matrix M, and ρ is the execution probability distribution of the access policy; the ciphertext CT is sent to the attribute revocation module, and the keyword index I w Send to search module; Trapdoor generation module, used to generate θ 、Private key SK θ,j and the keyword w′ to be searched, the data user DU j Output trapdoor T w′ ; Set the trapdoor T w′ Send to search module; The search module is used to search for w′ and keyword index I w , the cloud storage server CSS performs a match. If the match is successful, the cloud storage server CSS outputs the ciphertext CT w′ ; The ciphertext CT w′ Send to decryption module; Decryption module, used to decrypt the ciphertext CT w′ and private key SK θ,j , if the attribute set S j Satisfying the access policy (M, ρ) embedded in the ciphertext, the decrypted ciphertext CT w′ , output plaintext m; And, an attribute revocation module, used to revoke the public key PK θ 、Private key SK θ And revoke attribute i′, attribute authority AA θ Output attribute update key AUK θ,i′ ; According to the private key SK θ,j and Attribute Update Key AUK θ,i′ , the data user outputs the updated private key SK′ θ,j ; Update key AUK based on the ciphertext CT′ and attribute associated with the revoked attribute i′ θ,i′ , the cloud storage server CSS outputs the updated ciphertext CT″.