Efficient cloud auditing method based on binary tree key structure
By adopting a binary tree key structure and an interactive challenge-response process in cloud auditing, the problems of security proof and low efficiency in traditional cloud auditing methods are solved, tight reduction security and efficient cloud auditing are achieved, and computing and Communication resources.
Patent Information
- Application Number
- CN202410984743.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-15
AI Technical Summary
Traditional cloud audit methods require large security parameters and computing resources when implementing security proofs, resulting in low system efficiency. Non-interactive zero-knowledge proofs increase complexity and fail to effectively improve the efficiency of digital signature solutions.
Adopt an efficient cloud audit method based on binary tree key structure, by using smaller security parameters in the initialization stage to generate smaller public parameters, combined with the interactive challenge-response process to implicitly embed the key structure proof to avoid complex non-interactive Zero-knowledge proof to achieve tight reduction security.
Optimize system computing and communication efficiency under a given security level, reduce the size of security parameters, keep the sizes of tags and responses consistent, reduce computing and communication overhead, and protect the privacy of users' private keys.
Smart Images

Figure CN118784227A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer security, and in particular relates to an efficient cloud auditing method based on a binary tree key structure. Background Art
[0002] Cloud auditing is one of the most basic technical means to verify the integrity of data stored in cloud servers. It can be used to verify whether the data stored on the server is still intact. Traditional cloud auditing is a branch of public key cryptography technology. Its design and construction are based on mathematical problems, and its security can be analyzed through security proofs. From a qualitative perspective, the security proof of public key cryptography algorithms requires a reduction from mathematical problems to cryptographic schemes. As long as there is an effective reduction algorithm, that is, the attack on the cryptographic algorithm can be converted into a solution to the mathematical problem in polynomial time, the scheme is safe. It only requires that the probability of success of the reduction process is not negligible, that is, the reduction loss within the polynomial range is allowed. From a quantitative perspective, although the success of the reduction can illustrate the security of the cryptographic scheme; however, different reduction losses have an important impact on the size of system parameters in practical applications.
[0003] Taking the technical document SP 800-57 (4th edition) released by the National Institute of Standards and Technology (NIST) in 2016 as an example, the security level of the discrete logarithm problem is 80 bits (that is, the advantage of solving difficult problems is 2) under the modular multiplier group of 160 bits composed of 1024-bit moduli. -80 ). Suppose there is a cryptographic scheme based on the above group, whose security proof has a reduction loss of L = 2 32 According to the security proof, the attacker's advantage in breaking the solution is 2 32 2 -80 =2 -48 , that is, the actual (provable) security level of the scheme is 48 bits. If you want to achieve an 80-bit security level in practical applications, you need to select security parameters so that the security level of the difficult problem reaches 112 bits. According to the document, the modulus at this time needs to be 2048 bits and the order of the subgroup is 224 bits, which will greatly reduce the efficiency of the system. For cryptographic schemes with tight reduction security, since the reduction loss is a small constant, the additional security parameters required in practical applications are very small, and the impact on system efficiency can usually be ignored.
[0004] For digital signature schemes, Bader et al. proposed that tight reduction security can be achieved by setting up a binary tree key structure. However, since the verification of digital signature schemes is non-interactive, it is also necessary to embed non-interactive zero-knowledge proofs in the digital signature, so that the efficiency of the scheme is not greatly improved compared to traditional digital signatures. For cloud audit schemes, due to their own characteristics, the verification of the response itself is an interactive "challenge-response" process. Therefore, the proof of the binary tree key structure can be implicitly embedded in the interactive process without the need for complex non-interactive zero-knowledge proofs. Based on this, the present invention considers combining the binary tree key structure to achieve a cloud audit method with tight reduction security, thereby realizing an efficient cloud audit cryptographic algorithm with obvious efficiency advantages in computing and communication. Summary of the invention
[0005] The present invention proposes an efficient cloud auditing method based on a binary tree key structure. The method combines the design ideas of the current mainstream tight reduction secure digital signature scheme and adopts a binary tree key structure for the generation of user public and private key pairs. Therefore, the tight reduction security proof of the cloud auditing scheme can be achieved. For a given expected security level, the present invention can use smaller security parameters to initialize the system in the initialization phase of step 1 in practical applications, generate smaller public parameters, and thus optimize the computing and communication efficiency of the system.
[0006] In order to achieve the above object, the technical solution of the present invention is as follows: an efficient cloud audit method based on a binary tree key structure, the method comprising the following steps:
[0007] Step 1: Initialization phase: The system operator enters a security parameter 1 κ , output system common parameters params, that is
[0008] Setup(1 κ )→params;
[0009] Step 2: Key generation phase: The user inputs the system public parameters params and outputs a public-private key pair (pk, sk), that is
[0010] KeyGen(params)→(pk,sk);
[0011] Step 3: Label generation phase: The user inputs the system public parameters params, private key sk and message m, and outputs the label t corresponding to the message, that is,
[0012] TagGen(params,sk,m)→t;
[0013] Step 4: Challenge phase: This phase needs to be divided into two steps in order in actual application. The first step is for the user to notify the third-party auditor to prepare for the audit, including informing the necessary public key auxiliary information pk aux ; In the second step, the third-party auditor inputs the system public parameters params, challenges the selected index set I, and auxiliary information pk aux , output the challenge chal and the secret value s for verification, that is,
[0014] Challenge(params,I,pk aux )→(chal,s);
[0015] Step 5: Response phase: The cloud server inputs the system public parameters params, the challenge chal, the message set M and the tag set T stored at the corresponding position of the index set specified in the challenge, and outputs the response res, that is,
[0016] Response(params,chal,M,T)→res;
[0017] Step 6: Verification phase: The third-party auditor inputs the system public parameters params, challenge chal, response res and the secret value s generated in the challenge phase, and outputs the verification result 1 or 0 (where 1 indicates that the audit verification is passed and 0 indicates that the verification fails), that is,
[0018] Verify(params,chal,res,s)→1 / 0.
[0019] As a further improvement of the present invention, the key generation stage in step 2 adopts a binary tree key structure, which is different from the mainstream "one-to-one" key structure adopted by the traditional group-based cryptographic scheme. In the present invention, the user's public key consists of two elements, and the private key corresponds to one of the elements, forming a binary tree structure. That is, the private key and the public key are in a "one-to-two" mode. First, select random numbers sk0, sk1 and calculate pk0, pk1, and define the user's public key pk = (pk0, pk1); then select random bits b∈{0,1} and define the user's private key sk = sk b The combination of the binary tree key structure here is the basis for realizing the security proof of tight reduction.
[0020] As a further improvement of the present invention, in the step 3 label generation phase, the data label calculation process needs to ensure that the cloud server cannot determine which of the two elements of the public key corresponds to the user's private key after obtaining the data label. This is also the premise for achieving the tight reduction security proof, so it is necessary to select additional random numbers in the label generation link and participate in the label calculation.
[0021] As a further improvement of the present invention, the challenge phase in step 4 needs to be completed in two steps. By utilizing the interactive nature of the audit process, complex non-interactive zero-knowledge proof operations can be avoided. Therefore, the user needs to first specify the specific public key elements required for verification to the TPA, and embed the random number used in the label generation phase into the public key auxiliary information pk in the audit preparation phase. aux .
[0022] As a further improvement of the present invention, the challenge phase in step 4 needs to be completed in two steps. aux After that, TPA calculates the challenge based on it. The challenge only involves the public key element pk related to the private key aux It is independent of another public key element, thus ensuring that the audit interaction process overhead remains consistent with traditional methods.
[0023] Compared with the existing traditional cloud auditing solutions, the present invention has the following characteristics:
[0024] (1) A tight reduction security proof is achieved, and the system can be initialized with smaller security parameters. Compared with the traditional audit method, although the user public key in the present invention consists of two elements, the size of the private key, label, challenge, and response remain consistent; the number of operations involved in label generation and response verification remains consistent. Since the public parameters are smaller, the computational and communication overhead of the present invention is lower.
[0025] (2) Due to the binary tree key structure, any participant other than the user and TPA needs to protect the privacy of the location of the specific elements of the user's private key corresponding to the public key. The challenge needs to be completed in two steps through interaction between the user and TPA, namely the audit preparation stage and the challenge calculation stage. In the audit preparation process, the user tells TPA the specific public key element information to be used, and the challenge calculation is completed by TPA in a process similar to the traditional audit method. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a system framework diagram of the present invention.
[0027] Figure 2 It is a system flow framework diagram of the present invention.
[0028] Figure 3 Comparison chart between traditional structure and binary tree structure. DETAILED DESCRIPTION
[0029] In order to deepen the recognition and understanding of the present invention, the technical solution is described in detail below with reference to the accompanying drawings.
[0030] Embodiment 1: An efficient cloud audit method based on a binary tree key structure, the method comprising the following steps:
[0031] Step 1: Initialization phase: The system operator enters a security parameter 1 κ , output system common parameters params, that is
[0032] Setup(1 κ )→params;
[0033] Step 2: Key generation phase: The user inputs the system public parameters params and outputs a public-private key pair (pk, sk), that is
[0034] KeyGen(params)→(pk,sk);
[0035] Step 3: Label generation phase: The user inputs the system public parameters params, private key sk and message m, and outputs the label t corresponding to the message, that is,
[0036] TagGen(params,sk,m)→t;
[0037] Step 4: Challenge phase: This phase needs to be divided into two steps in order in actual application. The first step is for the user to notify the third-party auditor to prepare for the audit, including informing the necessary public key auxiliary information pk aux ; In the second step, the third-party auditor inputs the system public parameters params, challenges the selected index set I, and auxiliary information pk aux , output the challenge chal and the secret value s for verification, that is,
[0038] Challenge(params,I,pk aux )→(chal,s);
[0039] Step 5: Response phase: The cloud server inputs the system public parameters params, the challenge chal, the message set M and the tag set T stored at the corresponding position of the index set specified in the challenge, and outputs the response res, that is,
[0040] Response(params,chal,M,T)→res;
[0041] Step 6: Verification phase: The third-party auditor inputs the system public parameters params, challenge chal, response res and the secret value s generated in the challenge phase, and outputs the verification result 1 or 0 (where 1 indicates that the audit verification is passed and 0 indicates that the verification fails), that is,
[0042] Verify(params,chal,res,s)→1 / 0.
[0043] The key generation stage in step 2 adopts a binary tree key structure, which is different from the mainstream "one-to-one" key structure adopted by traditional group-based cryptographic schemes. In the present invention, the user's public key consists of two elements, and the private key corresponds to one of the elements, forming a binary tree structure. That is, the private key and the public key are in a "one-to-two" mode. First, select random numbers sk0, sk1 and calculate pk0, pk1, define the user's public key pk = (pk0, pk1); then select random bits b∈{0,1} and define the user's private key sk = sk b The combination of the binary tree key structure here is the basis for realizing the security proof of tight reduction.
[0044] In the step 3, the label generation phase, the data label calculation process needs to ensure that the cloud server cannot determine which of the two elements of the public key corresponds to the user's private key after obtaining the data label. This is also the premise for achieving the tight reduction security proof, so in the label generation link, it is necessary to select additional random numbers and participate in the label calculation.
[0045] The challenge phase in step 4 needs to be completed in two steps. The interactive nature of the audit process can avoid complex non-interactive zero-knowledge proof operations. Therefore, the user needs to specify the specific public key elements required for verification to the TPA first, and embed the random number used in the label generation phase into the public key auxiliary information pk in the audit preparation phase. aux .
[0046] The challenge phase in step 4 needs to be completed in two steps. Receive the public key auxiliary information pk sent by the user aux After that, TPA calculates the challenge based on it. The challenge only involves the public key element pk related to the private key aux It is independent of another public key element, thus ensuring that the audit interaction process overhead remains consistent with traditional methods.
[0047] In the above scheme, the key adopts a binary tree structure, which is similar to the design of the related digital signature scheme. It can achieve higher security when given the same size of security parameters, or initialize the system with a smaller security parameter when given a target security level; the binary tree key structure only changes the public key part from one element in the traditional method to two elements, and the private key is still composed of one element, so the computational overhead and label size of the tag generation stage are consistent with the traditional method; in the challenge stage, the third-party auditor selects one of the two public keys of the user for calculation, so the computational and communication overhead of the challenge stage is consistent with the traditional method; for the server, the response process is the same as the traditional method, so the computational and communication overhead of the response stage and the verification stage are consistent with the traditional method. The system framework diagram and algorithm flow chart are as follows Figure 1 , 2 As shown, the dotted line portion is the difference between the present invention and the traditional method.
[0048] Embodiment 2: An efficient cloud audit method based on a binary tree key structure. According to the accompanying drawings, the specific implementation method of the present invention is as follows:
[0049] The present invention consists of the following stages.
[0050] Step 1: System initialization phase: Assume that BG(1 κ )→(e,p,G,,G T ,g,u) is a bilinear group generation algorithm. The algorithm inputs security parameter 1 κ , output prime p-order cyclic group G,G T , where e:G×G→G T is a bilinear map. The system operator inputs a security parameter 1 κ , run BG(1 κ )→(e,p,G,,G T ,g,u), and then select the hash function H:{0,1} * →G. The common parameters of the system are params = (e, p, G, G T ,g,u,H).
[0051] Step 2: Key generation phase: The user inputs public parameters params and selects random numbers α, β∈Z p And calculate pk0=g α ,pk1=g β , select a random bit b∈{0,1} and define sk0=α,sk1=β, select a random number r∈Z p And calculate
[0052]
[0053] Output user public key pk = (pk b ,pk 1-b ) and private key sk = sk b .
[0054] Step 3: Label generation phase: The data owner inputs the system public parameters params, private key sk and message m, assigns file identifier Fid to the message and groups it according to the message space m = {m1,m2,…,m n},m i ∈Z p , calculate the label corresponding to each data group Output label t = {t i}.
[0055] Step 4: Challenge phase: This includes two steps. The first step is for the user to notify the third-party auditor to prepare for the audit and inform the necessary public key auxiliary information pk aux =g sk ; The second step is for the third-party auditor to receive the auxiliary information pk sent by the user aux After that, input the system public parameter params, select the challenge index set I and randomly select r for each index i∈I in the set I i ∈Z p , randomly select s∈Z p And calculate tpk = (pk aux ) s Let the set Q = (Fid, {(i,r i )|i∈I}), output challenge chal=(Q,tpk) and secret value s.
[0056] Step 5: Response phase: The cloud server inputs the system public parameters params, and challenges chal = (Fid, {(i, r i )|i∈I},tpk), and locate the message group set M specified in the challenge = {m i}, label set T = {t i},calculate
[0057]
[0058] The output response res = (μ, σ).
[0059] Step 6: Verification phase: The third-party auditor inputs the system public parameters params, and challenges chal = (Fid, {(i, r i )|i∈I},tpk), response res=(μ,σ), secret value s generated in the challenge phase, determine whether the following equation holds:
[0060]
[0061] If true, output 1, indicating that the verification is successful; otherwise, output 0, indicating that the verification fails.
[0062] The above content is only one embodiment of the present invention, and its description is detailed, but it cannot be used as a limitation on the scope of the invention patent. Under the premise of those skilled in the art without creative work, through deformation or minor improvements, they are also included in the patent protection scope of the present invention.
Claims
1. An efficient cloud auditing method based on a binary tree key structure, characterized in that: The method comprises the following steps: Step 1: Initialization phase: The system operator enters a security parameter 1 κ , output system common parameters params, that is Setup(1 κ )→params; Step 2: Key generation phase: The user inputs the system public parameters params and outputs a public-private key pair (pk, sk), that is KeyGen(params)→(pk,sk); Step 3: Label generation phase: The user inputs the system public parameters params, private key sk and message m, and outputs the label t corresponding to the message, that is, TagGen(params,sk,m)→t; Step 4: Challenge phase: This phase needs to be divided into two steps in order in actual application. The first step is for the user to notify the third-party auditor to prepare for the audit, including informing the necessary public key auxiliary information pk aux ; In the second step, the third-party auditor inputs the system public parameters params, challenges the selected index set I, and auxiliary information pk aux , output the challenge chal and the secret value s for verification, that is, Challenge(params,I,pk aux )→(chal,s); Step 5: Response phase: The cloud server inputs the system public parameters params, the challenge chal, the message set M and the tag set T stored at the corresponding position of the index set specified in the challenge, and outputs the response res, that is, Response(params,chal,M,T)→res; Step 6: Verification phase: The third-party auditor inputs the system public parameters params, challenge chal, response res and the secret value s generated in the challenge phase, and outputs the verification result 1 or 0 (where 1 indicates that the audit verification is passed and 0 indicates that the verification fails), that is, Verify(params,chal,res,s)→1 / 0.
2. According to claim 1, an efficient cloud audit method based on a binary tree key structure is characterized in that: In the initialization phase of step 1, security parameters are used to generate system public parameters, and the system's computing overhead and communication overhead are lower than traditional cloud audit solutions.
3. According to claim 1, an efficient cloud audit method based on a binary tree key structure is characterized in that: The key generation stage in step 2 adopts a binary tree key structure. The user's public key consists of two elements, and the private key corresponds to one of the elements, forming a binary tree structure, that is, the private key and the public key are in a "one-to-two" mode. First, select random numbers sk0, sk1 and calculate pk0, pk1, and define the user's public key pk = (pk0, pk1); then select random bits b∈{0,1} and define the user's private key sk = sk b .
4. According to claim 1, an efficient cloud audit method based on a binary tree key structure is characterized in that: Since the public key of each user involves two group elements in the calculation of the challenge in step 4, the user needs to specify to the TPA the specific elements to be used in the challenge before the challenge, which is the audit preparation step in the challenge stage.
5. According to claim 1, an efficient cloud audit method based on a binary tree key structure is characterized in that: The calculation of the challenge in step 4 is divided into two steps. After receiving the user's audit preparation, TPA needs to generate a challenge again, which is the challenge calculation step in the challenge stage.
Citation Information
Patent Citations
Public auditing method supporting composite data
CN111859030A
Certificateless content extraction signcryption method supporting privacy protection
CN112152813A
Ciphertext prediction method based on homomorphic encryption
CN112910624A
High-storage-efficiency cloud auditing method supporting data transfer
CN115622699A
Locally verifiable aggregation signature method for realizing tight reduction security
CN116865975A
Cited By
Anonymous cloud auditing method supporting dynamic aggregation of labels
CN119519983A
