A dynamic searchable public key encryption method with forward security

By using a dynamic searchable public key encryption method in the cloud storage environment, using a symmetric encryption algorithm to encrypt keywords, and performing retrieval trapdoors and ciphertext matching in the cloud server, it solves the problem that the cloud server may guess the ciphertext keywords. problem, achieving higher security and forward security.

CN114244498BActive Publication Date: 2024-10-25STATE GRID HENAN ELECTRIC POWER ELECTRIC POWER SCI RES INST +4
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111511832.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-06
Publication Date
2024-10-25
Estimated Expiration
2041-12-06

AI Technical Summary

Technical Problem

Existing searchable encryption technology cannot effectively resist internal keyword guessing attacks in cloud storage environments, causing the cloud server to guess the keyword information in the ciphertext, resulting in insufficient security.

Method used

A dynamic searchable public key encryption method is used to generate global public parameters through a key generation center. The data sender and receiver generate private keys and public keys respectively, use a symmetric encryption algorithm to encrypt the keywords, and store them in the cloud server. Matching is performed through retrieval trapdoors and searchable ciphertext to ensure that the cloud server cannot guess the keyword information.

Benefits of technology

It achieves the security of ciphertext keywords, prevents the cloud server from guessing keyword information, enhances forward security, and resists internal keyword guessing attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114244498B_ABST
    Figure CN114244498B_ABST
Patent Text Reader

Abstract

A dynamic searchable public key encryption method includes: generating searchable encrypted global public parameters according to a key generation center; generating private keys and public keys of a data sender and a data receiver respectively according to the global public parameters; the data sender generates searchable ciphertext and uploads it to a cloud server according to the global public parameters, keywords, the private key of the data sender and the public key of the data receiver; the data receiver generates a retrieval trap door according to the global public parameters, keywords, the public key of the data sender and the private key of the data receiver and uploads it to the cloud server; the cloud server outputs the target ciphertext in the searchable ciphertext through the retrieval trap door according to the global public parameters, the public key of the data sender and the public key of the data receiver. The present application uses the public key and private key of the data sender and the data receiver to calculate the keyword encryption key, and uses a symmetric encryption algorithm to encrypt the keyword, so that the cloud server cannot guess the keyword information through the token.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of information security, and more specifically, relates to a dynamic searchable public key encryption method with forward security. Background Art

[0002] In recent years, cloud computing has attracted more and more attention, providing users with a more convenient and economical solution for managing data. By migrating a large amount of local data to the cloud, users can reduce the heavy task of local data management and authorize Internet-connected devices to access data anywhere. As a service platform with powerful computing power, cloud computing technology provides an economical, flexible and convenient solution to the growing storage and computing needs of enterprises and individuals. However, with the popularization of the Internet and cloud computing, more and more information leakage incidents have also made information security issues widely concerned. Traditional data encryption technology has effectively guaranteed the confidentiality of user data while also bringing new problems. When users need to search for data containing specific keywords, it is difficult for the server to selectively retrieve encrypted data in the cloud storage system. In order to solve this problem, searchable encryption technology was born.

[0003] Searchable encryption is a cryptographic primitive that supports users to perform keyword searches on ciphertext. It can save users a lot of communication and computing overhead and make full use of the huge computing resources of cloud servers to perform keyword searches on ciphertext. However, the existing keyword retrieval encryption system cannot meet the needs of cloud storage environments. The searchable encryption scheme under the symmetric cryptographic system has high retrieval efficiency, but it cannot realize secret retrieval of untrusted third parties and has low security. Although the asymmetric searchable encryption scheme can realize secret retrieval of untrusted third parties, it is less efficient.

[0004] Generally, many searchable encryptions cannot resist internal keyword guessing attacks. The server can guess the content of the keyword through the collected query tokens and determine the correspondence between the keyword and the query token. That is, by collecting these query tokens, the keyword information in the ciphertext data can be guessed, thereby knowing part of the information of the ciphertext file. Summary of the invention

[0005] In order to solve the deficiencies in the prior art, the purpose of the present invention is to ensure that when a keyword query is performed on a ciphertext, the cloud server cannot guess the keyword and ciphertext information, thereby ensuring the security of the keyword and ciphertext.

[0006] The present invention adopts the following technical solution.

[0007] A forward-secure dynamic searchable public key encryption method, characterized in that the method comprises:

[0008] Step 1: The key generation center generates searchable encrypted global public parameters;

[0009] Step 2, generating the private key and public key of the data sender and the private key and public key of the data receiver respectively according to the global public parameters;

[0010] Step 3: According to the global public parameters, the set keywords, the private key of the data sender and the public key of the data receiver, the data sender generates a searchable ciphertext and uploads it to the cloud server;

[0011] Step 4: According to the global public parameter, the keyword, the public key of the data sender and the private key of the data receiver, the data receiver generates a retrieval trap and uploads it to the cloud server;

[0012] Step 5: Based on the global public parameters and the retrieval trap, the cloud server uses the public key of the data sender and the public key of the data receiver to output the target ciphertext in the searchable ciphertext.

[0013] Furthermore, step 1 specifically includes:

[0014] Step 1.1, according to the security parameter λ, select two cyclic groups G1 and G2 of order p, and construct a bilinear mapping e: G1×G1→G2;

[0015] Step 1.2, select two hash functions, H1: {0, 1} * →G1 and H2: G2 → {0, 1} * ;

[0016] Step 1.3, select a symmetric encryption algorithm Enc;

[0017] Step 1.4, output the global public parameter G P ={G1, G2, p, g, e(g, g), H1, H2, Enc}, where g∈G1 is the generator of G1 and e(g, g) is an element of the group G2.

[0018] Furthermore, step 2 specifically includes:

[0019] Step 2.1, select 2 integers As the private key of the data sender, the public key of the data sender is

[0020] Step 2.2, select 2 integers As the private key of the data recipient, the public key of the data recipient is

[0021] Furthermore, step 3 specifically includes:

[0022] Step 3.1, the searchable ciphertext is C0=g T , C1=H2(e(H1(T) r , R2)), where randomly selected T = Enc(k, w), Enc is the symmetric encryption algorithm, w is the keyword, s1 is the private key of the data sender, and R1 is the public key of the data receiver.

[0023] Furthermore, step 4 specifically includes:

[0024] Step 4.1, search for the trapdoor Where, T = Enc(k, w), Enc is the symmetric encryption algorithm, w is the keyword, r1 is the private key of the data receiver, and S1 is the public key of the data sender.

[0025] Furthermore, step 5 specifically includes:

[0026] Step 5.1, if H2(e(T w , C0))=C1, then the searchable ciphertext is the target ciphertext containing the keyword, wherein the searchable ciphertext is C0, C1, and the retrieval trap is T w .

[0027] The beneficial effects of the present invention are that, compared with the prior art, the present invention has the following advantages:

[0028] (1) The keyword encryption key is calculated using the public key and private key of the data sender and the data receiver, and the keyword is encrypted using a symmetric encryption algorithm, so that the cloud server cannot guess the keyword information through the token, ensuring that the present invention can resist keyword internal attacks. Thus, a dynamic searchable function with forward security is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a system model diagram of a dynamic searchable public key encryption scheme with forward security according to the present invention.

[0030] Figure 2 The present invention is a flowchart of a dynamic searchable public key encryption scheme with forward security. DETAILED DESCRIPTION

[0031] The present application is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present application.

[0032] Figure 1This is a system model diagram of a forward-secure dynamic searchable public key encryption scheme of the present invention. The entire system includes three entities: the sender, the cloud storage server, and the receiver. Specifically, it includes:

[0033] First, the system parameters of the entire encryption scheme are generated through the system initialization algorithm. The data sender randomly selects 2 integers As the private key, calculate the public key The data receiver randomly selects 2 integers As the private key, calculate the public key in, It is a set composed of prime numbers p on Z, and removes the 0 element, that is: The data sender generates a keyword encryption key k, calculates the keyword ciphertext T = Enc (k, w), where w is the keyword to be retrieved that has been determined in advance, and outputs the ciphertext C0, C1, as shown in Figure 1 As shown by arrow ①. The data receiver generates the keyword encryption key k, calculates the keyword ciphertext T, and outputs the trapdoor T w ,like Figure 1 As shown by arrow ②. The cloud server receives the trapdoor T w , the ciphertext C0, C1, the public key of the data sender and the public key of the data receiver can be searched to determine whether the condition H2(e(T w , C0))=C1, if the condition is met, the searchable ciphertext is identified as the target ciphertext containing the keyword and output to the data receiver, such as Figure 1 As shown by arrow ③. Since the process of the present invention uses a jointly negotiated key to encrypt the keyword and uses the recipient's public key to generate the ciphertext, the authentication function is realized. Thus, the confidentiality and searchability of the searchable encryption scheme of the present invention are guaranteed.

[0034] Table 1

[0035]

[0036] In order to clearly illustrate the method described in the embodiment of the present disclosure, the following is a specific description in conjunction with Table 1, which mainly includes the following steps:

[0037] Step 1: Generate global public parameters according to the key generation center (KGC). Step 1 specifically includes:

[0038] Step 1.1, according to the security parameter λ, select two cyclic groups G1 and G2 of order p, and construct a bilinear map e: G1×G1→G2. Among them, the security parameter λ represents the number of elements in the groups G1 and G2. Optionally, the security parameter λ is generally 128, 256, etc. Preferably, the prime number is about twice the size of λ. Groups G1 and G2 are arbitrary groups that satisfy the bilinear map.

[0039] Step 1.2, select two hash functions, H1: {0, 1} * →G1 and H2: G2 → {0, 1} * ; Taking H1 as an example, it means mapping a 0, 1 bit string to an element in group G1 through hash function H1.

[0040] Step 1.3, select a symmetric encryption algorithm Enc, where Enc can be any symmetric encryption algorithm;

[0041] Step 1.4, output global public parameter G P ={G1, G2, p, g, e(g, g), H1, H2, Enc}. Among them, g∈G1 is a randomly selected generator in G1, and e(g, g) is a randomly selected element in the group G2. It should be noted that the generator is for a cyclic group. If the group is a cyclic group, then this cyclic group can be generated by an element. This element is called the generator of the group. The element is for an ordinary set. Among them, e is a bilinear map, and e(g, g) means that e is also a binary map.

[0042] Step 2: According to the global public parameter G P ={G1, G2, p, g, e(g, g), H1, H2, Enc}, generate public key and private key. Step 2 specifically includes:

[0043] Step 2.1: The data sender randomly selects 2 integers As the private key, calculate the public key in, It is the result of raising the element g in the group to the power of s1.

[0044] Step 2.2: The data receiver randomly selects 2 integers As the private key, calculate the public key

[0045] Step 3, generating a searchable ciphertext based on the keyword to be retrieved, the private key of the data sender and the public key of the data receiver, which is performed by the data sender.

[0046] Step 3.1: The data sender generates a keyword encryption key

[0047] Step 3.2, use the selected symmetric encryption function to calculate the keyword ciphertext T=Enc(k,w).

[0048] Step 3.3, randomly select a random number Output searchable ciphertext C0=gr , C1=H2(e(H1(T) r , R2)).

[0049] Step 4, generating a retrieval trap based on the keyword to be retrieved, the private key of the data receiver and the public key of the data sender, which is performed by the data receiver.

[0050] Step 4.1: The data sender generates a keyword encryption key

[0051] Step 4.2, use the selected symmetric encryption function to calculate the keyword ciphertext T=Enc(k,w).

[0052] Step 4.3, output retrieval trap

[0053] Step 5: Enter the search trap T w , searchable ciphertext C0, C1, output the target ciphertext in the searchable ciphertext. Specifically: if H2(e(T w , C0))=C1, then the searchable ciphertext contains the keyword, otherwise the searchable ciphertext does not contain the keyword. More specifically, for example, the searchable ciphertext includes 4 sub-files id1, id2, id3, id4, and only files id1 and id3 contain the keyword w, then only these two files id1 and id3 are output in the end. The following formula verifies the correctness of the scheme:

[0054]

[0055]

[0056]

[0057] The above tables and detailed descriptions of the specific steps are summarized below. Figure 2 As shown, the following steps are included.

[0058] Step 1: The key generation center generates searchable encrypted global public parameters;

[0059] Step 2, generating the private key and public key of the data sender and the private key and public key of the data receiver respectively according to the global public parameters;

[0060] Step 3: According to the global public parameters, the set keywords, the private key of the data sender and the public key of the data receiver, the data sender generates a searchable ciphertext and uploads it to the cloud server;

[0061] Step 4: According to the global public parameter, the keyword, the public key of the data sender and the private key of the data receiver, the data receiver generates a retrieval trap and uploads it to the cloud server;

[0062] Step 5: Based on the global public parameters and the retrieval trap, the cloud server uses the public key of the data sender and the public key of the data receiver to output the target ciphertext in the searchable ciphertext.

[0063] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

Claims

1. A dynamic searchable public key encryption method with forward security, It is characterized in that The method comprises: Step 1: The key generation center generates searchable encrypted global public parameters; including: Step 1.1, according to the security parameter λ, select two cyclic groups G with order p as prime number 1 ,G 2 , construct a bilinear map e:G 1 ×G 1 →G 2 ; Step 1.2, select two hash functions, H 1 :{0,1} * →G 1 and H 2 :G 2 →{0,1} * ; Step 1.3, select a symmetric encryption algorithm Enc; Step 1.4, output the global public parameter G P = {G 1 ,G 2 ,p,g,e(g,g),H 1 ,H 2 ,Enc}, where g∈G 1 It's G 1 The generator of e(g,g) is the group G 2 An element in Step 2, generating the private key and public key of the data sender and the private key and public key of the data receiver respectively according to the global public parameters; Step 3, based on the global public parameters, the set keywords, the private key of the data sender and the public key of the data receiver, the data sender generates a searchable ciphertext and uploads it to the cloud server; including: the searchable ciphertext is C 0 =g r ,C 1 =H 2 (e(H 1 (T) r ,R 2 )), where randomly selected T=Enc(k,w), Enc is the symmetric encryption algorithm, w is the keyword, s 1 is the private key of the data sender, R 1 is the public key of the data recipient; Step 4, based on the global public parameter, the keyword, the public key of the data sender and the private key of the data receiver, the data receiver generates a search trap and uploads it to the cloud server; including: the search trap is Where, T = Enc(k,w), Enc is the symmetric encryption algorithm, w is the keyword, r 1 is the private key of the data recipient, S 1 is the public key of the data sender; Step 5: Based on the global public parameter and the search trap, the cloud server uses the public key of the data sender and the public key of the data receiver to output the target ciphertext in the searchable ciphertext; if H 2 (e(T w ,C 0 ))=C 1 , then the searchable ciphertext is the target ciphertext containing the keyword, wherein the searchable ciphertext is C 0 ,C 1 , the retrieval trap is T w .

2. A forward-secure dynamic searchable public key encryption method according to claim 1, It is characterized in that Step 2 specifically includes: Step 2.1, select 2 integers As the private key of the data sender, the public key of the data sender is Step 2.2, select 2 integers As the private key of the data recipient, the public key of the data recipient is

Citation Information

Patent Citations

  • Attribute-based multi-keyword ciphertext retrieval method under background of multiple data owners

    CN105871543A

  • Searchable public key encryption method, system employing method and server

    CN108200063A

  • A public key encryption method supporting multi-keyword search against keyword guess attack

    CN109086615A

  • Public key encryption method and system supporting ciphertext fuzzy search function

    CN111934875A

  • File storage method, file search method and file storage system based on public-key encryption with keyword search

    US20190050398A1