Efficient multifunctional access control method and system based on attribute encryption
By outsourcing the decryption operation to a server with strong computing power in the attribute encryption access control scheme, and introducing version keys and identity identifiers, the problems of high decryption calculation overhead, privacy leakage and attribute revocation complexity in the existing technology are solved. problem, achieving efficient and secure multi-functional access control.
Patent Information
- Application Number
- CN202410626472.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-23
AI Technical Summary
Existing access control solutions based on attribute encryption have problems such as excessive decryption calculation overhead, server surveillance and self-theft, data owner privacy leakage, and attribute revocation complexity.
By setting the attribute access policy of the data owner, the plaintext data is encrypted using the encryption key, and the ciphertext data is uploaded to the cloud server. The data user pre-decrypts it on the outsourcing server, and decrypts it by combining its own attributes and decryption key. , Utilize a trusted central authority to generate system parameters and attribute authorities to manage key updates and tracking to achieve efficient access control.
It improves computing efficiency and privacy protection, reduces local computing burden, simplifies attribute revocation and policy updates, enhances the ability to track malicious users, and achieves efficient multi-functional access control.
Smart Images

Figure CN118536136A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security technology, and in particular to an efficient and multifunctional access control method and system based on attribute encryption. Background Art
[0002] Cloud storage is a branch of cloud computing. It provides a highly available, high-performance, and low-cost way to host user data, and widely serves various users such as enterprises, individuals, and institutions. By storing data in the cloud, users can remotely access, back up, and share data, greatly reducing the difficulty and cost of data management. However, it also brings serious data privacy issues. A series of effective security measures must be taken to ensure the security and privacy of user data.
[0003] As an extension of identity-based encryption schemes, attribute encryption schemes can achieve fine-grained access control while ensuring the confidentiality of data. In particular, attribute encryption schemes based on ciphertext policies allow data owners to formulate access control policies according to their needs, providing simplicity, flexibility, and applicability, and are suitable for various fields such as cloud computing, healthcare, and the Internet of Things. However, existing attribute encryption-based access control schemes have problems such as excessive decryption computation overhead, server theft, data owner privacy leakage, and high complexity of attribute revocation. Summary of the invention
[0004] The present invention provides an efficient and multifunctional access control method and system based on attribute encryption, which has better privacy performance and higher computing efficiency.
[0005] The first aspect of the present invention provides an efficient and multifunctional access control method based on attribute encryption, comprising the following steps:
[0006] Set the attribute access policy of the data owner, encrypt the plaintext data with the encryption key, obtain the ciphertext data, and upload the ciphertext data to the cloud server;
[0007] After the data user applies for the ciphertext data from the cloud server, the data user converts the ciphertext data to obtain converted ciphertext, and sends the converted ciphertext and the conversion key to the outsourcing server, which pre-decrypts the ciphertext data and then sends it to the data user;
[0008] The pre-decrypted ciphertext data is decrypted according to the data user's own attributes and the decryption key, and the data decryption is completed when the data user's attributes match the attribute access policy.
[0009] Optionally, in one embodiment of the present invention, before setting the attribute access policy of the data owner, the method further includes:
[0010] A trusted central authority is used to generate system parameters and issue identity identifiers to attribute authorities and data users. The attribute authority generates attribute public keys, attribute private keys, and attribute version keys. The attribute public keys are sent to data owners as encryption keys to encrypt plaintext data, and the attribute private keys are sent to data users as decryption keys to decrypt ciphertext data.
[0011] Optionally, in one embodiment of the present invention, when an attribute of any data user is revoked, the attribute authority that owns the revoked attribute randomly selects a new attribute version key and generates a key update key and a ciphertext update key. The attribute authority uses the key update key to output a new key to the non-revoked data user to update the decryption key, and the cloud server uses the ciphertext update key to update the stored ciphertext data.
[0012] Optionally, in one embodiment of the present invention, when the data owner updates the attribute access policy, three sets are output based on the correspondence between the attributes in the new access policy and the original access policy, the attribute authority outputs a ciphertext update key based on the three set results obtained by comparing the new access policy with the original access policy and the previous secret sharing information, and the cloud server updates the stored ciphertext data based on the ciphertext update key.
[0013] Optionally, in one embodiment of the present invention, when ciphertext data is leaked, the attribute authority applies for tracking services from a trusted third-party agency, and obtains the identity identifier of the malicious user who leaked the decryption key based on the user decryption key that may have been leaked and the attribute authority's public key set. The attribute authority adds the identity of the malicious user to the user revocation list and sends the user revocation list to the cloud server, which updates the ciphertext data.
[0014] The second aspect of the present invention provides an efficient and multifunctional access control system based on attribute encryption, comprising:
[0015] The encryption module is used to set the attribute access policy of the data owner, encrypt the plaintext data with the encryption key, obtain the ciphertext data, and upload the ciphertext data to the cloud server;
[0016] The decryption module is used for the data user to apply for the ciphertext data from the cloud server, and the data user converts the ciphertext data to obtain the converted ciphertext, and sends the converted ciphertext and the conversion key to the outsourcing server. The outsourcing server pre-decrypts the ciphertext data and then sends it to the data user, decrypts the pre-decrypted ciphertext data according to the data user's own attributes and the decryption key, and completes the data decryption when the data user's attributes match the attribute access policy.
[0017] Optionally, in one embodiment of the present invention, it further includes:
[0018] The system initialization module is used to generate system parameters using a trusted central agency and issue identity identifiers to attribute authorities and data users. The attribute authority generates attribute public keys, attribute private keys and attribute version keys, and sends the attribute public keys to the data owner as encryption keys to encrypt plaintext data, and sends the attribute private keys to the data user as decryption keys to decrypt ciphertext data.
[0019] Optionally, in one embodiment of the present invention, it further includes:
[0020] The revocation module is used to randomly select a new attribute version key and generate a key update key and a ciphertext update key when an attribute of any data user is revoked. The attribute authority uses the key update key to output a new key to the non-revoked data user to update the decryption key, and the cloud server uses the ciphertext update key to update the stored ciphertext data.
[0021] Optionally, in one embodiment of the present invention, the policy update module is used to output three sets according to the correspondence between the attributes in the new access policy and the original access policy when the data owner updates the attribute access policy. The attribute authority outputs a ciphertext update key based on the three set results obtained by comparing the new access policy with the original access policy and the previous secret sharing information, and the cloud server updates the stored ciphertext data according to the ciphertext update key.
[0022] Optionally, in one embodiment of the present invention, it further includes:
[0023] The malicious user tracking module is used to apply for tracking services from a trusted third-party organization when the ciphertext data is leaked. The malicious user's identity identifier is obtained based on the user's decryption key that may be leaked and the attribute authority's public key set. The attribute authority adds the malicious user's identity to the user revocation list and sends the user revocation list to the cloud server, which updates the ciphertext data.
[0024] In the embodiment of the present invention, the efficient and multifunctional access control method and system based on attribute encryption, in terms of performance, the calculation and storage are completed by the outsourced server. The outsourced server has strong computing and storage capabilities, and supports multi-server parallel processing. It can respond quickly to user instructions and complete data processing functions, thereby reducing the user's local computing burden and storage cost.
[0025] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0027] Figure 1 A flowchart of an efficient and multifunctional access control method based on attribute encryption according to an embodiment of the present invention;
[0028] Figure 2 It is a flowchart of an efficient and multifunctional access control method based on attribute encryption according to a specific embodiment;
[0029] Figure 3 A diagram of a rights management model according to an embodiment of the present invention;
[0030] Figure 4 It is a block diagram of an efficient and multifunctional access control system based on attribute encryption according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0032] Figure 1 The present invention provides a flowchart of an efficient and multifunctional access control method based on attribute encryption according to an embodiment of the present invention.
[0033] like Figure 1 As shown, the efficient and multifunctional access control method based on attribute encryption includes the following steps:
[0034] In step S101, the attribute access policy of the data owner is set, the plaintext data is encrypted using an encryption key to obtain ciphertext data, and the ciphertext data is uploaded to the cloud server.
[0035] In an embodiment of the present invention, the data owner encrypts the plaintext data, uploads the personal data to the cloud server, and sets an attribute access policy so that only data users with the attribute can access the data, thereby achieving data confidentiality and access control.
[0036] Optionally, in an embodiment of the present invention, before setting the attribute access policy of the data owner, the method further includes:
[0037] A trusted central agency is used to generate system parameters and issue identity identifiers to attribute authorities and data users. The attribute authority generates attribute public keys, attribute private keys, and attribute version keys. The attribute public keys are sent to data owners as encryption keys to encrypt plaintext data, and the attribute private keys are sent to data users as decryption keys to decrypt ciphertext data.
[0038] It is understandable that when the system is initialized, the trusted central authority generates system parameters and issues identity identifiers to attribute authorities and data users. The identity identifier can confirm the identity of the data user and facilitate the confirmation of the user's identity when there is a malicious user or attribute revocation.
[0039] The calculations for key construction in this scheme are completed by multiple authorized agencies in cooperation, which reduces the computing pressure and has better privacy performance and higher computing efficiency while realizing more functions.
[0040] In step S102, after the data user applies for ciphertext data from the cloud server, the data user converts the ciphertext data to obtain converted ciphertext, and sends the converted ciphertext and the conversion key to the outsourcing server, which pre-decrypts the ciphertext data and then sends it to the data user.
[0041] In step S103, the pre-decrypted ciphertext data is decrypted according to the data user's own attributes and the decryption key. When the data user's attributes match the attribute access policy, the data decryption is completed.
[0042] In commonly used technical solutions, data users directly perform data decryption with high computational overhead. To solve this problem, an embodiment of the present invention utilizes an outsourced server to perform calculations to reduce local computational overhead.
[0043] Specifically, the data user requests data from the cloud server, and the cloud server sends the encrypted ciphertext data to the data user. If the data user decrypts it by himself, he will match his own attributes with the attribute access policy. If they match, the data can be decrypted, otherwise a special symbol is output to indicate that it cannot be decrypted. If the data user uses an outsourced server to decrypt, the data user converts the ciphertext data obtained from the cloud server, and sends the converted ciphertext and conversion key to the outsourced server. After receiving the converted ciphertext and conversion key, the outsourced server pre-decrypts the data in combination with the data user's identity and returns the result to the data user. After receiving the pre-decrypted data returned by the outsourced server, the data user decrypts it. If the data user's attributes match the access policy, the data can be decrypted, otherwise the decryption fails.
[0044] Optionally, in one embodiment of the present invention, when an attribute of any data user is revoked, the attribute authority that owns the revoked attribute randomly selects a new attribute version key and generates a key update key and a ciphertext update key. The attribute authority uses the key update key to output a new key to the non-revoked data user to update the decryption key, and the cloud server uses the ciphertext update key to update the stored ciphertext data.
[0045] Optionally, in one embodiment of the present invention, when the data owner updates the attribute access policy, three sets are output based on the correspondence between the attributes in the new access policy and the original access policy, the attribute authority outputs a ciphertext update key based on the three set results obtained by comparing the new access policy with the original access policy and the previous secret sharing information, and the cloud server updates the stored ciphertext data based on the ciphertext update key.
[0046] Optionally, in one embodiment of the present invention, when ciphertext data is leaked, the attribute authority applies for tracking services from a trusted third-party agency, and obtains the identity identifier of the malicious user who leaked the decryption key based on the user decryption key that may have been leaked and the public key of the attribute authority. The attribute authority adds the identity of the malicious user to the user revocation list and sends the user revocation list to the cloud server, which updates the ciphertext data.
[0047] The present invention is based on the q-type hypothesis and the LRSW hypothesis. When the data owner uploads the data to the cloud, the CBC mode of the symmetric encryption algorithm AES is first used to encrypt the plaintext, and the encryption key of the AES algorithm is encrypted by ciphertext policy attribute encryption based on the linear secret sharing structure and then uploaded to the cloud. After the data user applies for access rights to the data, the cloud server sends the AES encrypted data and the attribute encrypted key to the data user at the same time. Users who meet the attribute policy can decrypt the AES encryption key and decrypt the data.
[0048] like Figure 2 As shown in the figure, the present invention sets up a three-layer architecture of users, central agencies, and cloud servers, including key modules such as encryption and decryption, multiple authoritative agencies, attribute updates, and user tracking, achieving three security indicators of static security, forward security, and anti-conspiracy attacks, and realizing five functional extensions of multiple authoritative agencies, attribute revocation, access policy updates, outsourced decryption calculations, and malicious user tracking. Figure 3 As shown, the permissions of each role are displayed.
[0049] When the present invention is used for encryption, the storage space added by the ciphertext is less than 1 / 3 of the plaintext. The time required for encryption and decryption is positively linearly correlated with the number of attributes. Compared with existing solutions with similar functions, the encryption efficiency is increased by 36% and the decryption efficiency is increased by 22%.
[0050] The following is a detailed description of the efficient and multifunctional access control method based on attribute encryption of the present invention through a specific embodiment. The meanings of the parameters used are shown in Table 1.
[0051] Table 1
[0052]
[0053]
[0054] (1) System initialization: The central agency and the attribute authority respectively initialize and establish the system. The central agency executes the global initialization algorithm GlobalSetup, inputs the security parameter λ, and outputs the system global parameter GP.
[0055] GlobalSetup(λ)→GP
[0056] AA with the identifier aid aid Execute the authority initialization algorithm AA, input system parameters GP and AA aid Managed attribute set S aid , output the public key pair (PK aid ,K aid ), attribute version key and attribute public key collection
[0057]
[0058] (2) Key generation: The attribute authority set AAs jointly executes the key generation algorithm KeyGen, which inputs the system parameter GP, the identity of the data user uid, the attribute set S associated with the data user, and the private key SK of the relevant attribute authority. aid , and the property version key of the relevant property AAs outputs the private key SK of the data user s,uid .
[0059]
[0060] (3) Data encryption: The data owner executes the data encryption algorithm Encrypt, inputting the system parameter GP, the access structure (A, ρ), and the public key set {K aid}、Related attribute public key collection and plaintext data M, output ciphertext CT, and send the ciphertext to the cloud server.
[0061]
[0062] (4) Data decryption: The data user whose identity identifier is uid executes the data decryption algorithm Decrypt, inputting the system parameter GP, the ciphertext CT obtained from the cloud server, and the data user's key SK S,uid , output plaintext M or return decryption error flag Δ.
[0063] Decrypt(GP,CT,SK S,uid )→MorΔ
[0064] (5) Outsourced decryption: The data user uid executes the conversion key and ciphertext algorithm GenTransKey, inputting the system parameter GP, ciphertext CT and the data user's key SK S,uid , output conversion key TK S,uid and the reserved key RK S,uid , and the converted ciphertext data CT′ is used for the outsourced decryption operation.
[0065] GenTransKey(GP,CT,SK S,uid )→TK S,uid ,RK S,uid ,CT′
[0066] The outsourced server executes the data pre-decryption algorithm PDecrypt, inputs the system parameter GP, the conversion ciphertext CT′, and the conversion key TK S,uid And the data user identity uid, output conversion output ciphertext CT′ out .
[0067] PDecrypt(GP,CT′,uid,TK S,uid )→CT′ out
[0068] Data user uid executes the data decryption algorithm OutsourcingDecrypt. Input system parameter GP, convert output ciphertext CT′ out and the reserved key RK S,uid , output plaintext M or decryption error flag Δ.
[0069] OutsourcingDecrypt(GP,CT′ out ,K S,uid )→MorΔ
[0070] (6) Attribute revocation: The attribute authority with identifier aid executes the algorithm UKeyGen to generate the update key, and inputs the key SK aid , revoked attributes and the version key of the property being revoked Output the new version key and update key
[0071]
[0072] The attribute authority executes the key update algorithm SKUpdate, inputting the key SK S,uid and update key Output new keys for unrevoked data user uids
[0073]
[0074] The cloud server executes the ciphertext update algorithm CTUpdate, inputs the current ciphertext CT and the update key Convert and output new ciphertext
[0075]
[0076] (7) Strategy update: Input the new access strategy (M′, ρ) and the original access strategy (m, ρ), and output three sets I1, I2, and I3 according to the corresponding relationship between the attributes in the two access strategies.
[0077] PolicyCompare((M′,ρ),(M,ρ))→I1,I2,I3
[0078] Input system parameters GP, attribute authority public key set {PK aid}, secret sharing information related to plaintext M, three attribute sets obtained by comparing the new and old strategies, and outputting the ciphertext update key PUK for M M .
[0079] PKUpdate(GP,{PK aid},SharesInfo(M),{I1,I2,I3})→PUK M
[0080] The cloud server executes the ciphertext update algorithm PCTUpdate, inputs the current ciphertext CT and the ciphertext update key PUK M , output the updated ciphertext CT′.
[0081] PCTUpdate(CT,PUK M )→CT′
[0082] (8) Tracking implementation: The attribute authority initiates the algorithm, and the trusted third party executes the algorithm. The algorithm input is the user decryption key SK which may be leaked. s,gid , attribute authority public key set As well as the system parameter GP, output the identity identifier uid of the malicious user who leaked the decryption key or the tracking failure flag Δ.
[0083]
[0084] According to the efficient and multifunctional access control method based on attribute encryption proposed in the embodiment of the present invention, the high-cost decryption operation is transferred to the outsourcing server, which reduces the computing burden of the terminal, improves the response speed of the system, and disperses the computing pressure when the key is constructed to multiple authorization centers. The attributes are managed by multiple attribute agencies, ensuring the security and reliability of the key; by introducing the version key in the attribute to realize attribute revocation, when the attribute revocation operation is required, only the version key needs to be updated, making the attribute revocation more convenient and quick; using the identity identifier to realize key tracking, embedding the user's identity information in the key, it can quickly track the malicious user who leaks the decryption key, and increase the system's management ability for users; providing a flexible policy update mechanism, the data owner can modify the access policy of the plaintext and ciphertext at any time according to the requirements, and adapt to the changes in different scenarios and needs. This solution is fully functional, highly practical, multi-scenario, efficient and strong security. After testing, each module is executed normally and correctly as expected, with good performance and practicality, and has broad application prospects. This solution solves the problems of excessive decryption calculation overhead, server theft, data owner privacy leakage and high complexity of attribute revocation in the existing attribute encryption scheme.
[0085] Next, a highly efficient and multifunctional access control system based on attribute encryption according to an embodiment of the present invention will be described with reference to the accompanying drawings.
[0086] Figure 4 It is a block diagram of an efficient and multifunctional access control system based on attribute encryption according to an embodiment of the present invention.
[0087] like Figure 4 As shown, the efficient and multifunctional access control system 10 based on attribute encryption includes: an encryption module 100 and a decryption module 200 .
[0088] Among them, the encryption module 100 is used to set the attribute access policy of the data owner, use the encryption key to encrypt the plaintext data, obtain the ciphertext data, and upload the ciphertext data to the cloud server; the decryption module 200 is used for the data user to apply for the ciphertext data from the cloud server, and the data user converts the ciphertext data to obtain the converted ciphertext, and sends the converted ciphertext and the conversion key to the outsourcing server, and the outsourcing server pre-decrypts the ciphertext data and sends it to the data user, decrypts the pre-decrypted ciphertext data according to the data user's own attributes and the decryption key, and completes the data decryption when the data user's attributes match the attribute access policy.
[0089] Optionally, in an embodiment of the present invention, the efficient and multifunctional access control system 10 based on attribute encryption further includes:
[0090] The system initialization module is used to generate system parameters using a trusted central agency and issue identity identifiers to attribute authorities and data users. The attribute authority generates attribute public keys, attribute private keys, and attribute version keys, and sends the attribute public keys to the data owner as encryption keys to encrypt plaintext data, and sends the attribute private keys to the data user as decryption keys to decrypt ciphertext data.
[0091] Optionally, in an embodiment of the present invention, the efficient and multifunctional access control system 10 based on attribute encryption further includes:
[0092] The revocation module is used to randomly select a new attribute version key and generate a key update key and a ciphertext update key when an attribute of any data user is revoked. The attribute authority uses the key update key to output a new key to the non-revoked data user to update the decryption key, and the cloud server uses the ciphertext update key to update the stored ciphertext data.
[0093] Optionally, in an embodiment of the present invention, the efficient and multifunctional access control system 10 based on attribute encryption further includes:
[0094] The policy update module is used to output three sets according to the correspondence between the new access policy and the attributes in the original access policy when the data owner updates the attribute access policy. The attribute authority outputs the ciphertext update key based on the three set results obtained by comparing the new access policy with the original access policy and the previous secret sharing information. The cloud server updates the stored ciphertext data according to the ciphertext update key.
[0095] Optionally, in an embodiment of the present invention, the efficient and multifunctional access control system 10 based on attribute encryption further includes:
[0096] The malicious user tracking module is used for the attribute authority to apply for tracking services from a trusted third-party agency when the ciphertext data is leaked. The malicious user's identity identifier is obtained based on the user's decryption key that may be leaked and the attribute authority's public key set. The attribute authority adds the malicious user's identity to the user revocation list and sends the user revocation list to the cloud server, which updates the ciphertext data.
[0097] It should be noted that the aforementioned explanation of the embodiment of the efficient and multifunctional access control method based on attribute encryption is also applicable to the efficient and multifunctional access control system based on attribute encryption of this embodiment and will not be repeated here.
[0098] According to the efficient and multifunctional access control system based on attribute encryption proposed in the embodiment of the present invention, the high-overhead decryption operation is transferred to the outsourcing server, which reduces the computing burden of the terminal, improves the response speed of the system, and disperses the computing pressure when building the key to multiple authorization centers. The attributes are managed by multiple attribute agencies, ensuring the security and reliability of the key; by introducing the version key in the attribute to realize the attribute revocation, when the attribute revocation operation is required, only the version key needs to be updated, making the attribute revocation more convenient and quick; using the identity identifier to realize key tracking, embedding the user's identity information in the key, it can quickly track the malicious user who leaked the decryption key, and increase the system's management ability for users; providing a flexible policy update mechanism, the data owner can modify the access policy of the plaintext and ciphertext at any time according to the requirements, and adapt to the changes in different scenarios and needs. This solution is fully functional, highly practical, multi-scenario, efficient and highly secure. After testing, each module is executed normally and correctly as expected, with good performance and practicality, and has broad application prospects.
[0099] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0100] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "N" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0101] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
Claims
1. An efficient and multifunctional access control method based on attribute encryption, characterized in that: The following steps are involved: Set the attribute access policy of the data owner, encrypt the plaintext data with the encryption key, obtain the ciphertext data, and upload the ciphertext data to the cloud server; After the data user applies for the ciphertext data from the cloud server, the data user converts the ciphertext data to obtain converted ciphertext, and sends the converted ciphertext and the conversion key to the outsourcing server, which pre-decrypts the ciphertext data and then sends it to the data user; The pre-decrypted ciphertext data is decrypted according to the data user's own attributes and the decryption key, and the data decryption is completed when the data user's attributes match the attribute access policy.
2. The method according to claim 1, characterized in that Before setting the data owner's attribute access policy, also include: A trusted central authority is used to generate system parameters and issue identity identifiers to attribute authorities and data users. The attribute authority generates attribute public keys, attribute private keys, and attribute version keys. The attribute public keys are sent to data owners as encryption keys to encrypt plaintext data, and the attribute private keys are sent to data users as decryption keys to decrypt ciphertext data.
3. The method according to claim 2, characterized in that When an attribute of any data user is revoked, the attribute authority that owns the revoked attribute randomly selects a new attribute version key and generates a key update key and a ciphertext update key. The attribute authority uses the key update key to output a new key to the non-revoked data user to update the decryption key, and the cloud server uses the ciphertext update key to update the stored ciphertext data.
4. The method according to claim 1, characterized in that: When the data owner updates the attribute access policy, three sets are output based on the correspondence between the new access policy and the attributes in the original access policy. The attribute authority outputs the ciphertext update key based on the three set results obtained by comparing the new access policy with the original access policy and the previous secret sharing information. The cloud server updates the stored ciphertext data based on the ciphertext update key.
5. The method according to claim 2, characterized in that: When the ciphertext data is leaked, the attribute authority applies for tracking services from a trusted third-party agency, and obtains the identity identifier of the malicious user who leaked the decryption key based on the user decryption key that may be leaked and the attribute authority's public key set. The attribute authority adds the identity of the malicious user to the user revocation list and sends the user revocation list to the cloud server, which updates the ciphertext data.
6. An efficient and multifunctional access control system based on attribute encryption, characterized in that: include: The encryption module is used to set the attribute access policy of the data owner, encrypt the plaintext data with the encryption key, obtain the ciphertext data, and upload the ciphertext data to the cloud server; The decryption module is used for the data user to apply for the ciphertext data from the cloud server, and the data user converts the ciphertext data to obtain the converted ciphertext, and sends the converted ciphertext and the conversion key to the outsourcing server. The outsourcing server pre-decrypts the ciphertext data and then sends it to the data user, decrypts the pre-decrypted ciphertext data according to the data user's own attributes and the decryption key, and completes the data decryption when the data user's attributes match the attribute access policy.
7. The system according to claim 6, characterized in that Also includes: The system initialization module is used to generate system parameters using a trusted central agency and issue identity identifiers to attribute authorities and data users. The attribute authority generates attribute public keys, attribute private keys and attribute version keys, and sends the attribute public keys to the data owner as encryption keys to encrypt plaintext data, and sends the attribute private keys to the data user as decryption keys to decrypt ciphertext data.
8. The system according to claim 7, characterized in that Also includes: The revocation module is used to randomly select a new attribute version key and generate a key update key and a ciphertext update key when an attribute of any data user is revoked. The attribute authority uses the key update key to output a new key to the non-revoked data user to update the decryption key, and the cloud server uses the ciphertext update key to update the stored ciphertext data.
9. The system according to claim 7, characterized in that Also includes: The policy update module is used to output three sets according to the correspondence between the new access policy and the attributes in the original access policy when the data owner updates the attribute access policy. The attribute authority outputs the ciphertext update key based on the three set results obtained by comparing the new access policy with the original access policy and the previous secret sharing information. The cloud server updates the stored ciphertext data according to the ciphertext update key.
10. The system according to claim 6, characterized in that Also includes: The malicious user tracking module is used to apply for tracking services from a trusted third-party organization when the ciphertext data is leaked. The malicious user's identity identifier is obtained based on the user's decryption key that may be leaked and the attribute authority's public key set. The attribute authority adds the malicious user's identity to the user revocation list and sends the user revocation list to the cloud server, which updates the ciphertext data.
Citation Information
Cited By
Data processing method, system and equipment based on attribute-based encryption
CN118802379A
Data electronic fence processing system and method based on attribute encryption and block chain
CN121509036A
