A hierarchical key management and data security distribution method and system
Through hierarchical key management and searchable encryption technology, a tree-shaped user organization structure is constructed to solve the security problem of user key storage and management in the data center, achieve efficient and secure data distribution, and reduce computing overhead and bandwidth. consumption.
Patent Information
- Application Number
- CN202210671838.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-06-14
AI Technical Summary
The existing technology has security problems in the storage and management of user keys in data centers, and the calculation overhead and bandwidth consumption during data distribution are high, making it difficult to achieve efficient and secure key management and data distribution.
Adopt a hierarchical key management and data security distribution method, build a tree-shaped user organization structure, use searchable encryption technology to encrypt and store user keys on the server, use the public key to transmit the key set and decrypt it with the private key to generate a session key Key-encrypted data is transmitted to the authorized client, reducing ciphertext length and computing overhead.
It achieves efficient and secure storage and management of user keys, reduces the computing overhead of the data center, improves the efficiency of data distribution, and avoids the problem of the ciphertext length increasing with the number of users.
Smart Images

Figure CN114938274B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security technology, and in particular to a hierarchical key management and data security distribution method and system. Background Art
[0002] With the development of the Internet and the advent of the big data era, data security is becoming an increasingly important research topic in real life. In some large enterprises or institutions, once data leakage or some other security issues occur, it will have a serious impact on the business and reputation of the enterprise. Cryptography technology, as an underlying tool for protecting data security, has been widely used, such as various encryption protocols and signature protocols. In practical applications, it is often the case that data is distributed from one data center to multiple users. The previous method is generally to encrypt the data with the private key held by each user receiving the data and then send it to the user. However, in this method, the length of the ciphertext will increase linearly with the increase in the number of users. This method not only increases the computing overhead of the data center, but also increases bandwidth consumption and reduces the operating efficiency of the solution. How to design an efficient and secure data distribution method while protecting data security is an urgent problem to be solved.
[0003] In addition, in the data center, the storage and management of user keys also face some security issues. Generally speaking, the data center can store user identities and keys in a table. However, in the case of plain text storage, once the data center is attacked by hackers or bugs appear, the user identity and key will be leaked, which will have a serious impact on the security of data transmission. A direct solution is to encrypt the table for storage, and decrypt the encrypted table when certain user keys are needed for data encryption. However, this method is not applicable in the actual environment. Every time the data center encrypts data, the entire table needs to be decrypted, the computational overhead is relatively large, and the operation efficiency of the solution is low.
[0004] Therefore, how to provide a hierarchical key management and data security distribution method and system for efficiently and securely storing and managing user keys is a problem that technical personnel in this field urgently need to solve. Summary of the invention
[0005] In view of this, the present invention combines searchable encryption technology to design an efficient and secure user key management and data security distribution solution.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A hierarchical key management and data security distribution method, comprising a key storage and distribution step and a data distribution step:
[0008] The key storage and distribution steps include:
[0009] Build a tree-like user organization structure, where a node in the tree corresponds to a user ID Indicates the i-th user ID of the j-th layer, which is the user ID Generate the corresponding user key Public-private key pair
[0010] Pre-stored user ID Encrypt data with the corresponding user key In the server, the user key encrypts the data With user ID with key K1 With index relationship, user key encrypts data Including the data after the user key set is encrypted by key K2;
[0011] Using public key The user key set is encrypted and transmitted to the user terminals of all users; the user key set includes the user key of the current user As well as the user keys of all its ancestor nodes, the user uses the corresponding private key Decrypt and complete the distribution of user keys;
[0012] The data distribution steps include:
[0013] Use key K1 to generate the corresponding authorized user ID Trapdoor, search for the same user ID in the server The corresponding user key encrypts the data
[0014] Decrypt the user key encrypted data using key K2 Get the key of the authorized user
[0015] The data M is encrypted with the session key SK and then transmitted to the user end of the authorized user. The session key SK is encrypted with the authorized user key.
[0016] Preferably, the user key The generation steps include: generating a random number of length λ bits for each user and a timestamp T x ; Calculate the user key for each user Here H represents a hash function and || represents the concatenation of two strings.
[0017] Preferably, the pre-stored user identifier Encrypt data with the corresponding user key The steps in the server include:
[0018] Encrypt the user key using key K2:
[0019] Generate an index table I of size n and initialize it to empty, select a pseudo-random permutation f with key K1, and fill the index table as follows:
[0020]
[0021] S' = (I, c) is sent to the server for storage, where
[0022] Preferably, the key K1 and the key K2 are symmetric keys, and the key K1 is used to identify the user. The encryption algorithm is and the algorithm for encrypting the user key using the key K2 is a symmetric encryption algorithm.
[0023] Preferably, the public-private key pair Distributed directly to the user end through a secure channel.
[0024] Preferably, the key storage and distribution step further includes: using the public key and user ID Generate a query table T and store it in plain text on the server: Using each user ID Query table T from the server to obtain the corresponding user ID The public key
[0025] Preferably, all users' clients receive the public key After encrypting the user key set, use the private key Decrypt it and get the user key set.
[0026] Preferably, the key K1 is used to generate the corresponding authorized user identifier Trapdoor, search for the same user ID in the server The corresponding user key encrypts the data The steps include:
[0027] Use the key K1 to generate the corresponding authorized user trapdoor in the following way:
[0028] e=(e(1),...,e(i),...,e(w))
[0029] =(f(K1,ID(1)),...f(K1,ID(i)),...,f(K1,ID(w)))
[0030] Wherein, f(K1,ID(i)) is the pseudo-random permutation f with key K1, the set of authorized user identities UT={ID(1),...ID(i),...,ID(w)}, w is the number of authorized users, and ID(i) represents the user identity of the authorized user;
[0031] The server searches for trapdoors in the following manner:
[0032] If I[e(i)]≠⊥, the server returns the corresponding c(i).
[0033] Preferably, the step of decrypting data on the user side is also included:
[0034] After receiving the distributed data, the authorized user terminal uses the user key set it holds to decrypt and obtain the session key SK;
[0035] The encrypted message is decrypted using the session key SK to obtain the original data M.
[0036] The present invention also provides a hierarchical key management and data security distribution system according to the hierarchical key management and data security distribution method, comprising a key generation center, a distribution center, a server and a user end; wherein,
[0037] The key generation center is used to generate user keys corresponding to the tree-type user organization structure Public-private key pair Key K1 and key K2;
[0038] The server is used to store user identification Encrypt data with the corresponding user key
[0039] The distribution center is used to execute the key distribution and data distribution steps, encrypt and transmit the user key set to the user terminals of all users, and encrypt and transmit the data M to the user terminals of authorized users.
[0040] Preferably, the server is also used to store the public key in plain text and user ID Generate a query table T so that the distribution center can use the authorized user identification Query the server's query table T to obtain the corresponding user ID The public key
[0041] It can be seen from the above technical solution that, compared with the prior art, the beneficial effects of the present invention include:
[0042] The present invention designs a hierarchical key system, which divides users of different levels into different levels using a tree structure at the user end. Different keys are distributed according to the level of each user, and each key is related to a user identifier, a timestamp, and a random number. This hierarchical key system can realize data distribution to a specified user set based on the same user key.
[0043] The present invention designs an efficient and secure key storage system. The present invention uses a searchable encryption technology to encrypt and store user identification and user keys on a server. When distributing data, the distribution center can search for user keys in a ciphertext state. This method protects the security of user keys and reduces the computing overhead of the data center.
[0044] The present invention designs a hierarchical data distribution system based on a hierarchical key system. The data distribution center uses keys of different levels to encrypt data and uses less ciphertext distribution to enable users at different levels to receive and decrypt the same data, thereby reducing the length of the ciphertext and effectively avoiding the problem that the length of the ciphertext will increase with the increase in the number of users, reducing bandwidth consumption and improving efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below. Obviously, the drawings in the following description are only embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative work.
[0046] Figure 1 A flowchart of hierarchical key management and data security distribution provided by an embodiment of the present invention;
[0047] Figure 2 A diagram of a user key hierarchy provided by an embodiment of the present invention;
[0048] Figure 3 A flowchart of user key distribution and storage provided by an embodiment of the present invention;
[0049] Figure 4 A comparison diagram of the encrypted server S table to the S' table provided in an embodiment of the present invention;
[0050] Figure 5 A flow chart of data distribution and decryption provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] See also Figure 1 The first aspect of the present invention discloses a hierarchical key management and data security distribution method, including a key storage and distribution step and a data distribution step:
[0053] The key storage and distribution steps include:
[0054] Build a tree-like user organization structure, where a node in the tree corresponds to a user ID Indicates the i-th user ID of the j-th layer, which is the user ID Generate the corresponding user key Public-private key pair
[0055] Pre-stored user ID Encrypt data with the corresponding user key In the server, the user key encrypts the data With user ID with key K1 With index relationship, user key encrypts data Including the data after the user key set is encrypted by key K2;
[0056] Using public key The user key set is encrypted and sent to the client of all users. The user key set contains the user key of the current user. As well as the user keys of all its ancestor nodes, the corresponding users use their own private keys Decryption completes the distribution of user key sets;
[0057] The data distribution steps include:
[0058] Use key K1 to generate the corresponding authorized user ID Trapdoor, search for the same user ID in the server The corresponding user key encrypts the data
[0059] Decrypt the user key encrypted data using key K2 Get the authorized user key,
[0060] The data M is encrypted with the session key SK and then transmitted to the user end of the authorized user. The session key SK is encrypted with the authorized user key.
[0061] This embodiment mainly consists of 7 main processes: In the system initialization stage, ① the key generation center generates a public-private key pair for each user; ② the key generation center sends the user key and the searchable encrypted key to the distribution center. In the key distribution and storage stage; ③ the distribution center distributes the user key to each user; ④ the distribution center encrypts the user ID and the user key and stores it on the server. In the data distribution stage; ⑤ the distribution center generates a trap door based on the authorized user's ID for search; ⑥ the server returns the corresponding encrypted user key, and the distribution center decrypts it; ⑦ the distribution center generates a session key and uses the user key to distribute data. After receiving the data, the user uses his own private key to decrypt it to obtain the session key, and then obtains the real data.
[0062] In this embodiment, according to different practical applications, the organizational structure of the user can be represented by a tree structure. Different nodes represent different meanings. For example, the root node of a tree represents the global headquarters of a company, and the leaf nodes represent each employee in the enterprise. Other intermediate nodes may represent certain regional headquarters or certain departments in the enterprise. Figure 2 In this embodiment, a unique identity is set for each node in the tree. The key generation center will generate a key for each node in the tree. A corresponding user key will be generated where j∈[1,d],i∈[1,t j ],t j represents the number of users in the jth layer, and d represents the user level. For each user node It not only has its own user key It also has the keys held by all its ancestor nodes. For example, the key set it holds is in is the user key of its ancestor node.
[0063] For example, if the data distribution center encrypts data with the root user's key, all user nodes on the tree generated by this root node can decrypt it. If the data distribution center encrypts data with the key of a leaf node user, only the leaf user can decrypt the data. If the data distribution center encrypts data with the key of a non-leaf node and non-root node user, the node user and all child node users below the node can decrypt it.
[0064] In one embodiment, the user key The generation steps include: generating a random number of length λ bits for each user and a timestamp Tx ; Calculate the user key for each user Here H represents a hash function and || represents the concatenation of two strings.
[0065] The pre-generated key in the method of this embodiment includes:
[0066] Given a security parameter λ, the key generation center (KGC) generates two symmetric keys K1 and K2 for the distribution center. These two keys are then used by the distribution center to encrypt and store user identifiers and user keys.
[0067] Based on a given security parameter λ, the key generation center generates a Generate a public-private key pair The key generation center can distribute each public-private key pair to the corresponding user through a secure channel. This public-private key pair is mainly used to encrypt and transmit the user's key. The distribution center in the data center will store a table T to record the user ID and the user's public key. Since the table T only contains the user's public key, the data center can store the table T in plain text on the server.
[0068] Based on a given security parameter λ, the key generation center generates a Generate the corresponding user key.
[0069] The key generation center first generates a random number of λ bits for each user. and a timestamp T x , then the key generation center calculates the key for each user Where H represents a hash function, and || represents the concatenation of two strings. The user key is used to encrypt the session key when distributing data later. The distribution center will generate and store a table S to record user identification and user keys. Since table S contains user keys, the data center should store table S in ciphertext on the server.
[0070] In one embodiment, see Figure 4 , the pre-stored user identifier Encrypt data with the corresponding user key The steps in the server include:
[0071] For each user key The distribution center encrypts it using K2 generated by the key generation center: SEnc here represents any symmetric encryption algorithm, such as AES, DES, etc.
[0072] Generate an index table I of size n and initialize it to empty, select a pseudo-random permutation f with key K1, and fill the index table as follows:
[0073]
[0074] S' = (I, c) is sent to the server for storage, where
[0075] In one embodiment, key K1 and key K2 are symmetric keys, and key K1 is used to identify the user. The encryption algorithm is and the algorithm for encrypting the user key using the key K2 is a symmetric encryption algorithm.
[0076] In one embodiment, the public-private key pair Distributed directly to the user end through a secure channel.
[0077] In one embodiment, the key storage and distribution step further includes: using the public key and user ID Generate a query table T and store it in plain text on the server; use each user ID Query table T from the server to obtain the corresponding user ID The public key The specific implementation process is as follows:
[0078] The distribution center in the data center provides each user with The corresponding user keys are distributed as follows:
[0079] The distribution center obtains the corresponding user by querying table T from the server. The public key Encryption at the distribution center And each Sent to the corresponding user, the user uses his own private key to decrypt and obtain the key set Here, PEnc and PDec represent any public key encryption and decryption algorithm, such as RSA.
[0080] Each client receives the public key After encrypting the user key set, use the private key Decrypt it and get the user key set.
[0081] In one embodiment, the key K1 is used to generate the corresponding authorized user identifier. Trapdoor, search for the same user ID in the server The corresponding user key encrypts the data The steps include:
[0082] Use the key K1 to generate the corresponding authorized user trapdoor in the following way:
[0083] e=(e(1),...,e(i),...,e(w))
[0084] =(f(K1,ID(1)),...f(K1,ID(i)),...,f(K1,ID(w)))
[0085] Wherein, f(K1,ID(i)) is the pseudo-random permutation f with key K1, the set of authorized user identities UT={ID(1),...ID(i),...,ID(w)}, w is the number of authorized users, and ID(i) represents the user identity of the authorized user;
[0086] The server searches for trapdoors in the following manner:
[0087] If I[e(i)]≠⊥, the server returns the corresponding c(i).
[0088] The specific steps for data distribution are as follows:
[0089] The distribution in the data center first determines the set of authorized users, that is, which users can decrypt the corresponding broadcast message. First, the distribution center selects the corresponding authorized user identification set UT = {ID(1), ...ID(i), ..., ID(w)} according to the actual situation. w is the number of authorized users, and ID(i) represents the identification of a certain user. After that, the data center uses the key K1 to generate the corresponding authorized user trap door in the following way:
[0090] e=(e(1),...,e(i),...,e(w))=(f(K1,ID(1)),...f(K1,ID(i)),...,f(K1,ID(w))).
[0091] The distribution center sends the search trap e to the server, and the server searches according to the trap as follows:
[0092] If I[e(i)]≠⊥, the server returns the corresponding c(i). After that, the distribution center uses its own key K2 to decrypt c(i) to obtain the corresponding K(i). All user keys K(i) together form a set:
[0093] BK={K(1),..,K(i),...,K(w)}.
[0094] When creating table S, f(K1,ID(i)) is used as an index in the table. Through this index, the key corresponding to the user ID(i) can be found. When constructing the trapdoor, if the input ID(i) does not belong to any of the previously stored IDs, the server will return ⊥ when searching for f(K1,ID(i)), because the index f(K1,ID(i)) does not exist in the table at all. Correspondingly, if the input ID(i) belongs to a previously stored ID, the server can find the corresponding key ciphertext based on the index and return c(i).
[0095] For a piece of data M, the distribution center first generates a temporary session key SK to encrypt the data M to obtain EM = SEnc (SK, M). Then the distribution center uses the authorized user's key K (i) to encrypt the session SK key to obtain ESK (i) = SEnc (K (i), SK).
[0096] Finally, the distribution center distributes {(ESK(1),...,ESK(i),...,ESK(w),EM}.
[0097] In one embodiment, see Figure 5 , and also includes the data decryption steps on the user side:
[0098] After receiving the distributed data, the authorized user uses the user key set held Decrypt one of K(i) to obtain the session key SK=SDec(K(i),EKS(i));
[0099] The encrypted message is decrypted using the session key SK to obtain the original data M=SDec(SK,EM).
[0100] The present invention also discloses a hierarchical key management and data security distribution system according to the hierarchical key management and data security distribution method provided in the first aspect, which mainly includes two types of entities: a data center and a user segment receiving data, wherein the data center includes a key generation center, a distribution center and a server; wherein:
[0101] The key generation center is used to generate user keys corresponding to the tree-type user organization structure Public-private key pair Key K1 and key K2;
[0102] The server is used to store user identification Encrypt data with the corresponding user key
[0103] The distribution center is used to execute the key distribution and data distribution steps, encrypt and transmit the user key set to the user terminals of all users, and encrypt and transmit the data M to the user terminals of authorized users.
[0104] In one embodiment, the server is also used to store the public key in plain text and user ID Generate a query table T so that the distribution center can use the authorized user identification Query the server's query table T to obtain the corresponding user ID The public key
[0105] On the user side, the present invention designs a hierarchical user organization structure. The user organization structure can be divided into several layers according to actual conditions. For example, for a large enterprise, it can be divided into global headquarters, regional headquarters, departments, and employees, etc. In the present invention, the key generation center needs to generate keys for each user in each layer. Specifically, for the first layer of users, the key generated for them is The key generated for the user at layer j is For users at the dth level (the last level), the generated key is Here d represents the number of user organization levels, t j represents the number of users in the jth layer. In addition, users in each layer can obtain not only their own keys, but also the keys owned by their parent nodes. For example, for the first user in the third layer, the key he has is For a piece of data M, when distributing it, the distribution center in the data center needs to generate a session key SK and select some keys of authorized users. The session key is used to encrypt the message M, and the user key is used to encrypt the session key SK. Depending on the selected user key, the corresponding authorized user who can decrypt is also different. For example, if To encrypt the session key SK, it means that you have All users of this key (all child nodes below this node) can decrypt. The key encryption session key SK, then only those who have A user (leaf node) can decrypt the session key. In some other applications, there may be more user levels, and the above method can be used to generate keys for each level of users. Where j represents the jth level, and i represents the i-th user at a certain level.
[0106] At the data center end, the key generation center of the data center is responsible for generating corresponding user keys for each user. The key generation center first generates a random number of λ bits for each user. and a timestamp T based on the system time x . According to the corresponding random number and timestamp T x , the key generation center can calculate the corresponding private key for each user Where H represents a hash function and || represents the concatenation of two strings. When distributing keys, the distribution center distributes the user keys to each user. Afterwards, the distribution center sends each user’s ID With the corresponding key It is stored as a record in table S. Afterwards, the distribution center stores table S in the data server using searchable encryption. When the distribution center needs to encrypt and distribute data, it first uses a searchable encryption technology to search for the identifier of the corresponding authorized user on the encryption table S' of the storage server, and returns the key corresponding to the corresponding user identifier. After that, this user key is decrypted and returned to the distribution center. Each time data is distributed, the distribution center generates a temporary session key SK to encrypt data M. Then, the user keys of authorized users are used to encrypt the session keys.
[0107] Before data distribution begins, the distribution center and the user need to communicate. The distribution center distributes the user key set to each user. Each user has a pair of public and private keys. The distribution center can use the user's public key to send the key set Encrypted and sent to the user. The user uses his own private key to decrypt and obtain
[0108] The hierarchical key management and data security distribution method and system provided by the present invention are introduced in detail above. In this embodiment, specific examples are applied to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0109] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined in the present embodiments may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown in the present embodiment, but will conform to the widest range consistent with the principles and novel features disclosed in the present embodiment.
Claims
1. A hierarchical key management and data security distribution method, characterized in that: Including key storage and distribution steps and data distribution steps: The key storage and distribution steps include: Build a tree-like user organization structure, where a node in the tree corresponds to a user ID Indicates the i-th user ID of the j-th layer, which is the user ID Generate the corresponding user key Public-private key pair Pre-stored user ID Encrypt data with the corresponding user key In the server, the user key encrypts the data With user ID with key K1 With index relationship, user key encrypts data Including the data after the user key is encrypted by key K2; Using public key The user key set is encrypted and transmitted to the user terminals of all users; the user key set includes the user key of the current user As well as the user keys of all its ancestor nodes, the user uses the corresponding private key Decryption is performed; The data distribution steps include: Use key K1 to generate the corresponding authorized user ID Trapdoor, search for the same user ID in the server The corresponding user key encrypts the data Decrypt the user key encrypted data using key K2 Get the key of the authorized user The data M is encrypted with the session key SK and then transmitted to the user end of the authorized user. The session key SK is encrypted with the authorized user key.
2. The hierarchical key management and data security distribution method according to claim 1, characterized in that: The user key The generation steps include: generating a random number of length λ bits for each user and a timestamp T x ; Calculate the user key for each user Here H represents a hash function and || represents the concatenation of two strings.
3. The hierarchical key management and data security distribution method according to claim 1, characterized in that: The pre-stored user identifier Encrypt data with the corresponding user key The steps in the server include: Encrypt the user key using key K2: SEnc represents any symmetric encryption algorithm; Generate an index table I of size n and initialize it to be empty. Select a pseudo-random permutation f with key K1 and fill the index table as follows: S' = (I, c) is sent to the server for storage, where 4. The hierarchical key management and data security distribution method according to claim 1, characterized in that: Key K1 and key K2 are symmetric keys. Key K1 is used to identify the user. The encryption algorithm and the algorithm for encrypting the user key using the key K2 are both symmetric encryption algorithms.
5. The hierarchical key management and data security distribution method according to claim 1, characterized in that: The key storage and distribution steps also include: using the public key and user ID Generate a query table T and store it in plain text on the server; use each user ID Query table T from the server to obtain the corresponding user ID The public key All users' clients receive the public key After encrypting the user key set, use the private key Decrypt it and get the user key set.
6. The hierarchical key management and data security distribution method according to claim 3, characterized in that: The key K1 is used to generate the corresponding authorized user identification Trapdoor, search for the same user ID in the server The corresponding user key encrypts the data The steps include: Use the key K1 to generate the corresponding authorized user trapdoor in the following way: e=(e(1),...,e(i),...,e(w))=(f(K1,ID(1)),...f(K1,ID(i)),...,f(K1,ID(w))) Wherein, f(K1, ID(i)) is a pseudo-random permutation f with a key K1, the set of authorized user identifiers UT = {ID(1), ...ID(i), ..., ID(w)}, w is the number of authorized users, and ID(i) represents the user identifier of the authorized user; The server searches for trapdoors in the following manner: If I[e(i)]≠⊥, the server returns the corresponding 7. The hierarchical key management and data security distribution method according to claim 1, characterized in that: It also includes the data decryption steps on the user side: After receiving the distributed data, the authorized user terminal uses the user key set it holds to decrypt and obtain the session key SK; The encrypted message is decrypted using the session key SK to obtain the original data M.
8. The hierarchical key management and data security distribution method according to claim 5, characterized in that: The public-private key pair Distributed directly to the user end through a secure channel.
9. A hierarchical key management and data security distribution system according to any one of claims 1 to 8, characterized in that: It includes a key generation center, a distribution center, a server and a user end; among which, The key generation center is used to generate user keys corresponding to the tree-type user organization structure Public-private key pair Key K1 and key K2; The server is used to store user identification Encrypt data with the corresponding user key The distribution center is used to execute the key distribution and data distribution steps, encrypt and transmit the user key set to the user terminals of all users, and encrypt and transmit the data M to the user terminals of authorized users.
10. The hierarchical key management and data security distribution system according to claim 9, characterized in that: The server is also used to store the public key in plain text and user ID The query table T is used to enable the distribution center to use the authorized user identification Query the server's query table T to obtain the corresponding user ID The public key
Citation Information
Patent Citations
Attribute-based searchable encryption method through multiple authorization centres
CN108092972A
Multi-user searchable encryption method and encryption system in Internet of Vehicles environment
CN111556495A
SM9-based distributed collaborative decryption method and system
CN112910647A
A hierarchical key management and data security distribution method and system
CN114938274A
