A data integrity verification method based on ring signature
Through the data integrity verification method based on ring signatures and using the LWE difficulty assumption to design data labels, the security and efficiency issues of data integrity verification in the cloud computing environment are solved, and efficient data integrity verification in the quantum computing environment is achieved.
Patent Information
- Application Number
- CN202111326174.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-11-10
AI Technical Summary
In the cloud computing environment, the existing data integrity verification scheme is not safe in the quantum computing environment, and brings high computing costs to third-party auditors. It is difficult to effectively support data updates and efficient user revocation and delegation. of data outsourcing or obfuscated identity management.
Adopt a data integrity verification method based on ring signatures, use LWE difficulty assumption to design data labels, generate signature sets through ring signature algorithms, and use challenge information and evidence information to verify data integrity when third-party auditors verify, ensuring that data is in the cloud of integrity.
It realizes data integrity verification in a quantum computing environment, improves verification efficiency, reduces the calculation cost of third-party auditors, and ensures data security.
Smart Images

Figure CN114065299B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of cloud computing security and data auditing, and in particular relates to a data integrity verification method based on ring signature. Background Art
[0002] In the era of big data, data owners prefer to store large amounts of data on cloud platforms that provide storage services and computing services, such as Apple Cloud, Baidu Cloud, Tencent Cloud, Alibaba Cloud, etc. On the one hand, data owners can make full use of the rich software, hardware, and bandwidth resources of the cloud platform and access their data anywhere through the Internet; on the other hand, for the cloud platform, it can obtain economic benefits by charging rent to the data owner. Another benefit for data owners is that the cloud platform has high availability and low cost compared to complex local storage management. Although data owners can obtain huge benefits from cloud storage, this approach also brings serious security issues. The most important security issue is data integrity, that is, cloud server providers may tamper with or delete data that users rarely access in order to save storage space. In addition, data owners lose physical control over their data.
[0003] In recent years, many data auditing methods have been proposed in the field of cloud computing. Provable data possession is a common method to verify the integrity of data stored in the cloud. Users first divide their data into blocks and mark each data block, and then can challenge the cloud storage service provider with randomly selected parts of the data blocks to check their own data. If the data is damaged, the above methods cannot recover the data. Therefore, scholars proposed a proof of retrievability model to solve this problem. The model not only ensures that the server stores data correctly through sampling and error correction techniques, but also enables users to retrieve the data they need. However, most schemes only consider static data storage and are not suitable for general scenarios. In order to support data updates, including data modification, insertion and deletion, scholars proposed a scheme based on the classic Merkle hash tree and bilinear aggregate signature. Since the data owner's own verification of data integrity will bring a large computational burden, researchers proposed a scheme that supports public verification and batch processing and an identity-based data auditing scheme. These schemes take into account different application requirements in cloud storage and support efficient user revocation, delegable data outsourcing or fuzzy identity management. However, since these schemes are all based on bilinear pairing signatures, they bring a large computational cost to third-party auditors.
[0004] Most of the above data auditing schemes are designed based on traditional asymmetric cryptographic primitives, and their difficulty problems are based on large integer factorization or discrete logarithm problems. However, the development of quantum computers may make traditional asymmetric cryptographic schemes no longer secure. Lattice-based cryptography is a novel research and application field. The potential resistance of lattice cryptography to quantum computer attacks provides new impetus for the research and implementation of related algorithm protocols. Well-known lattice-based cryptographic designs include the Ajtai-Dwork lattice cryptosystem, the NTRU system, the cryptosystem based on short integer solutions and the LWE problem, the identity-based encryption system, and the fully homomorphic encryption system. At present, lattice-based cryptography is still secure against attacks by quantum computer adversaries, and it has the best prospects for post-quantum cryptography because it has a very strong security proof based on the worst-case difficulty, as well as an efficient implementation. In summary, in the quantum computing environment, it is necessary to construct a data integrity verification scheme based on lattice cryptography. Summary of the invention
[0005] Purpose of the invention: The present invention proposes a data integrity verification method based on ring signature. In combination with the LWE difficulty assumption, a data tag is designed using a ring signature to verify whether the cloud data has been deleted or tampered with.
[0006] Technical solution: A data integrity verification method based on a ring signature according to the present invention comprises the following steps:
[0007] (1) The data owner divides the original data into multiple data blocks;
[0008] (2) Use the ring signature algorithm to sign each data block and generate a data tag;
[0009] (3) Upload the signature set and data to the cloud server. When the data owner wants to verify whether the data stored in the cloud is complete, an audit request is sent to the third-party auditor;
[0010] (4) The third-party auditor generates challenge information and sends it to the cloud service provider;
[0011] (5) The cloud service provider generates evidence information based on the challenge information and sends it to the third-party auditor;
[0012] (6) A third-party auditor verifies the integrity of the data by verifying the equation; if the equation holds, the data is considered complete; otherwise, the data is considered incomplete.
[0013] Furthermore, the implementation process of step (1) is as follows:
[0014] The data owner divides the original data F into multiple data blocks {F1, F2, …, F n}, where Fi ∈F; In order to generate the required common parameters, determine an additive group G and its two subgroups G1, G2, and define a uniform distribution Q k and two matrices Generate public parameters pp = (G, K, G1, G2, Q k ); Generate the key pair required for signing and verification. For the signing key, first set sk = c i and pk={l1,l2,…l n}, generate a public-private key pair (sk, pk), where l i =Lc i +e i ,m,r,p∈Z,c i ,e i ∈G1.
[0015] Furthermore, the implementation process of step (2) is as follows:
[0016] For data F = {F1, F2, ..., F n}, first set st∈{0,1} 2λ , then for each data block F in data F i , i∈(1,2,…,n), calculate Y i =H(F i ,R), and η i =(φ,τ,α i ), where φ∈[-(B2-B1),(B2-B1)], B1,B2∈Z, τ is obtained by the algorithm getMerklePath, α i ∈{0,1} λ ;Finally generate data label information Where H is a hash function, R is a ring, rt i is the root of the i-th hash tree, then T={σ1,σ2,…,σ n} is data F={F1,F2,…,F n} tag.
[0017] Furthermore, the implementation process of step (4) is as follows:
[0018] After receiving the audit request, a set of random values and a random subset u from the set {1,2,…,n} = {u1,u2,…,u v}, generate a challenge message chal = {u i ,w i} and sent to the cloud service provider.
[0019] Furthermore, the implementation process of step (5) is as follows:
[0020] After receiving the challenge information, the cloud service provider generates evidence information based on the challenge information, first calculating the auxiliary verification information Then calculate Finally generate evidence information Sent to third-party auditors.
[0021] Furthermore, the implementation process of step (6) is as follows:
[0022] After receiving the evidence information, the third-party auditor calculates the aggregate verification information based on the evidence information. Then verify whether the following equation is true. If the equation is true, the data is considered complete, otherwise the data is considered incomplete:
[0023]
[0024] in, Is a collection The uth i values, It is u i Data The hash of the set consisting of and ring R, It is the former i The set of roots of hash trees, It is u i Auxiliary verification information, It is u i The root of a hash tree.
[0025] Beneficial effects: Compared with the prior art, the present invention has the following beneficial effects: The present invention adopts advanced ring signature technology to design data tags, which can not only quickly and effectively verify the integrity of cloud data, but also ensure security; at the same time, it solves the problem of data integrity verification in a quantum environment and improves the efficiency of such verification schemes. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0027] The present invention is further described in detail below with reference to the accompanying drawings.
[0028] The present invention proposes a data integrity verification method based on ring signature, such as Figure 1 As shown, the specific steps include:
[0029] Before uploading the data to the cloud, the data is processed first. The processing process is as follows:
[0030] First, the data owner divides the original data into blocks, dividing F into multiple data blocks {F1, F2, …, F n}, where F i ∈F; then, in order to generate the required common parameters, determine an additive group G and its two subgroups G1, G2, and then define a uniform distribution Q k and two matrices Finally, the public parameters pp = (G, K, G1, G2, Q k ); Secondly, generate the key pair required for signing and verification. For the signing key, first set sk = c i and pk={l1,l2,…l n}, then generate a public-private key pair (sk, pk), where l i =Lc i +e i ,m,r,p∈Z,c i ,e i ∈G1.
[0031] In order to verify whether the data stored in the cloud has been tampered with or deleted, a ring signature algorithm is used to sign each data block, and then a data tag is generated. The specific process is as follows:
[0032] For data F = {F1, F2, ..., F n}, first, set st∈{0,1} 2λ , then for each data block F in data F i , i∈(1,2,…,n), calculate Y i =H(F i ,R), and η i =(φ,τ,α i ), where φ∈[-(B2-B1),(B2-B1)], B1,B2∈Z, τ is obtained by the algorithm getMerklePath, α i ∈{0,1} λ Finally, generate label information Where H is a hash function, R is a ring, rt i is the root of the hash tree, then T={σ1,σ2,…,σ n} is data F={F1,F2,…,F n} tag.
[0033] The signature set and data are uploaded to the cloud server, and when the data owner wants to verify whether the data stored in the cloud is complete, an audit request is issued to the third-party auditor.
[0034] After receiving the audit request, a set of random values and a random subset u from the set {1,2,…,n} = {u1,u2,…,u v}, generate a challenge message chal = {u i ,w i} and sent to the cloud service provider.
[0035] After receiving the challenge information, the cloud service provider generates evidence information based on the challenge information, first calculating the auxiliary verification information Then calculate Finally generate evidence information Sent to third-party auditors.
[0036] After receiving the evidence information, the third-party auditor calculates the aggregate verification information based on the evidence information. Then verify whether the following equation is true. If the equation is true, the data is considered complete, otherwise the data is considered incomplete:
[0037]
[0038] in, Is a collection The uth i values, It is u i Data The hash of the set consisting of and ring R, It is the former i The set of roots of hash trees, It is u i Auxiliary verification information, It is u i The root of a hash tree.
[0039] The selection of signature algorithms and the setting of parameters. Different signature algorithms generate very different data labels, which will directly affect the time of label generation and indirectly affect the time spent on verifying the equation in the evidence verification phase, thus affecting the efficiency of the entire data integrity verification method.
[0040] The present invention adopts advanced ring signature technology to design data tags, which can not only quickly and effectively verify the integrity of cloud data, but also ensure security. At the same time, it solves the problem of data integrity verification in quantum environment and improves the efficiency of such verification schemes.
[0041] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data integrity verification method based on ring signature, characterized in that: The following steps are involved: (1) The data owner divides the original data into multiple data blocks and generates the key pairs required for signature and verification based on the data blocks; (2) Use the ring signature algorithm to sign each data block and generate a data tag; (3) Upload the signature set and data to the cloud server. When the data owner wants to verify whether the data stored in the cloud is complete, an audit request is sent to the third-party auditor; (4) The third-party auditor generates challenge information and sends it to the cloud service provider; (5) The cloud service provider generates evidence information based on the challenge information and sends it to the third-party auditor; (6) The third-party auditor verifies the integrity of the data by verifying the equation; if the equation holds, the data is considered complete; otherwise, the data is considered incomplete; The implementation process of step (2) is as follows: For data F={F1,F2,…,F n }, first set st∈{0,1} 2λ , then for each data block F in data F i , i∈(1,2,…,n), calculate Y i =H(F i ,R), and η i =(φ,τ,α i ), where φ∈[-(B2-B1),(B2-B1)], B1,B2∈Z, τ is obtained by the algorithm getMerklePath, α i ∈{0,1} λ ;Finally generate data label information Where H is a hash function, R is a ring, rt i is the root of the i-th hash tree, then T={σ1,σ2,…,σ n } is data F={F1,F2,…,F n } tag; The implementation process of step (4) is as follows: After receiving the audit request, a set of random values and a random subset u from the set {1,2,…,n} = {u1,u2,…,u v }, generate a challenge message chal = {u i ,w i } and sent to the cloud service provider; The implementation process of step (5) is as follows: After receiving the challenge information, the cloud service provider generates evidence information based on the challenge information, first calculating the auxiliary verification information Then calculate Finally generate evidence information Sent to third-party auditors; The implementation process of step (6) is as follows: After receiving the evidence information, the third-party auditor calculates the aggregate verification information based on the evidence information. Then verify whether the following equation is true. If the equation is true, the data is considered complete, otherwise the data is considered incomplete: in, Is a collection The uth i values, It is u i Data The hash of the set consisting of and ring R, It is the former u i The set of roots of hash trees, It is u i Auxiliary verification information, It is u i The root of a hash tree.
2. The data integrity verification method based on ring signature according to claim 1, characterized in that: The implementation process of step (1) is as follows: The data owner divides the original data F into multiple data blocks {F1, F2, …, F n }, where F i ∈F; In order to generate the required common parameters, determine an additive group G and its two subgroups G1, G2, and define a uniform distribution Q k and two matrices Generate public parameters pp = (G, K, G1, G2, Q k ); Generate the key pair required for signing and verification. For the signing key, first set sk = c i and pk={l1,l2,…l n }, generate a public-private key pair (sk, pk), where l i =Lc i +e i ,m,r,p∈Z,c i ,e i ∈G1.
