Method for constructing and using mix net, apparatus, system, device, and medium
By using symmetric cryptographic algorithms and simplified self-checking mechanisms in out-of-order networks, the problem of low efficiency in out-of-order networks is solved, efficient and reliable data transmission and anonymity guarantee are achieved, and it is suitable for large-scale data processing.
Patent Information
- Application Number
- PCT/CN2024/082352
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-22
- Filing Date
- 2024-03-19
- Publication Date
- 2024-10-31
AI Technical Summary
The low efficiency of out-of-order networks is mainly due to bottlenecks in correctness proof and verification efficiency. The encryption and decryption operations of asymmetric cryptographic algorithms are time-consuming and difficult to prove that the data has not been tampered with under confidentiality conditions. Especially when dealing with large-scale data, the efficiency drops significantly, and existing The solution is neither efficient nor reliable.
Use a simple and efficient symmetric cryptographic algorithm for multi-layer encryption and decryption, and verify the correctness of the sequence change operation through self-checking by the data provider or a simplified zero-knowledge proof mechanism, avoiding complex zero-knowledge proof protocols, and combining symmetric cryptography and asymmetry Cryptographical technical means ensure the integrity and anonymity of data during transmission.
It improves the efficiency and reliability of out-of-order networks, ensures the correctness and anonymity during data transmission, reduces computing and communication loads, enhances security, avoids the risk of data being traced, and is suitable for large-scale data processing .
Smart Images

Figure CN2024082352_31102024_PF_FP_ABST
Abstract
Description
A method, device, system, equipment and medium for constructing and using a disordered network Technical Field The present application relates to the field of information security technology, and in particular to a network protocol and related devices that ensure data anonymity and user anonymity during the transmission and transfer of batch data. Background Art With the implementation of the EU GDPR and other data protection regulations around the world, the requirements for data privacy protection are becoming increasingly stringent. Data privacy not only includes the data content itself, but also involves personal information such as the source of the data and the identity of the data provider. As an anonymous communication network, the fundamental purpose of the disordered network is not to protect the data content itself, but to prevent any data content from being traced back to the data owner who provided it, thereby protecting their personal privacy information such as identity and address. In other words, the data provided by the data owner can be prevented from being tracked in the disordered network to achieve anonymization. The implementation method of the disordered network is that multiple routing nodes in the network sequentially reorder (permutate) and re-encrypt (re-encrypt) or partially decrypt (partially decrypt) the encrypted data of multiple network users (batch data owners). The work of each routing node is called shuffling. The disordered network can be regarded as a special data transfer or transmission network. Compared with other types of anonymous communication networks such as onion routing and TOR, the out-of-order network processes batch data from multiple data owners at the same time, rather than processing scattered data from a single data owner one by one, and the correctness of the out-of-order network (no deletion of data) can often be verified. Traditionally, a random network uses an asymmetric cryptographic algorithm (such as ELGAMAL or Paillier) to encrypt all data in the same batch. There is only one layer of encryption, but there are multiple re-encryption and partial decryption operations. The reordering operation scrambles the order of all data and re-encrypts or partially decrypts them once or both. The last routing node outputs all the data that have been scrambled multiple times, so as long as at least one routing node does not disclose the permutation it uses, it can ensure that the original order of all data cannot be restored. The last output random data may be in plaintext or ciphertext state. If it is the latter, the output data must be decrypted before it can be used in plaintext applications. In general, random networks are verifiable, that is, each routing node must be able to prove that its operation only changes the order of the batch data without changing their content. Specific users or third-party bystanders can verify the proof of the routing node to confirm the correctness of the random network. During the proof process, the permutation and other secrets (such as decryption keys) used by the routing node must be kept confidential and cannot be disclosed. Summary of the invention Technical issues The efficiency of disordered networks is often not high. The efficiency bottleneck in both computing and communication lies mainly in correctness proof and verification. The encryption and decryption operations of asymmetric cryptographic algorithms themselves are time-consuming and laborious. It is particularly difficult to prove that the encrypted batch data has not been tampered with under confidential reordering, and complex zero-knowledge proof protocols are usually required. When the scale of batch data is huge, the efficiency of disordered networks often becomes very low. Some relatively efficient disordered networks often sacrifice security, and their correctness verification has security vulnerabilities. The probability that an incorrect (changing data content) reordering operation passes the correctness test is so large that it cannot be ignored. For example, a commonly used method to prove the correctness of the reordering operation is: the routing node inputs the encrypted data c1, c2, ..., c n The output is c'1, c'2, ..., c' n After that, accept random integer challenges t1, t2, ..., t n Respond to commitment functions T1, T2, ..., T n Bind t1, t2, ..., t in sequence n The rearrangement of t'1, t'2, ..., t' n , and finally, without leaking t'1, t'2, ..., t' n , and rearrange the premise to prove ●T1, T2, ..., T n The integer columns in are t1, t2, ..., t n A rearrangement of ● yes A re-encryption of , where B(T) represents the integer bound in the commitment function T. More than half of the disordered networks use this strategy to prove the correctness of the reordering operation. Although it relies on complex zero-knowledge proofs and is not concise, it is still a relatively efficient proof method compared to other proof methods. However, it cannot really guarantee the correctness of the reordering operation. Especially in implementations with low complexity, even if there are some erroneous reordering operations (changing part or all of the data content), the probability that this proof can pass verification is often not negligible, and can even be as large as 0.5. In other words, most of the existing disordered network solutions are neither efficient nor reliable. Solution There are two effective ways to simplify out-of-order networks and improve efficiency. ● Use simple and efficient symmetric cryptography (DES, AES, SM1, SM4 and other cryptographic algorithms) to encrypt data. Usually, data is encrypted with multiple layers of symmetric cryptography, and then decrypted layer by layer by multiple routing nodes. Note that what we are talking about here is not an anonymous communication network such as Onion Routing or TOR that transmits a single message through different uncertain secret paths; but a disordered network with a publicly available fixed path and transmitting batch data. ● Avoid the complex and inefficient zero-knowledge proofs often found in correctness proofs provided by routing nodes, especially In situations where third-party onlookers are not required to verify, the data provider's self-verification method can be used. These two methods can be used separately or in combination: a random network based on symmetric encryption and relying on the data provider's self-verification to ensure correctness, thus not requiring zero-knowledge proof, works as follows. Assume a batch of n data d1, d2, ..., d n The input consists of m routing nodes A1, A2, ..., A m A random network is composed of; the encryption and decryption algorithms are E() and D() respectively. 1. Data i Provider P i Encrypt it using a symmetric cipher as where k i,1 , k i,2 , …k i,m YesP i m symmetric keys selected (alone or in conjunction with other relevant roles such as routing nodes) are reversed in sequence (k i,m In here, k i,1 Outside) i Implement m-layer encryption. 2. For i=1, 2,…n and j=1, 2,…m, P i The key k i,j Use some method (distribute the exchange using another secure communication channel or as described in the invention content)
[0007] The encrypted file is attached to c i Decrypted by the corresponding routing node) and A j shared. 3. A1 gets any c i Then, use k i,1 C i Do a layer of decryption and change its order in the batch data, that is, calculate Where p1() is a random permutation selected by A1 (p1() rearranges 1, 2, ..., n, and the output obtained by any input is a random value among 1, 2, ..., n). A1 publishes c'1, c'2, ..., c'n , as new c1, c2, ..., c n . Each P i Everyone knows that their input will be converted by A1 into This value is the encrypted data of the inner layer. Therefore, if correctness verification is required, P i In the new c1, c2, ..., c n If it finds the value, it knows that the permutation operation of A1 is correct; otherwise, the permutation operation of A1 will fail its self-check. 4. A2 and other subsequent routing nodes repeat the operation of A1. j Get any c i Then, use k i,j C i Do a layer of decryption and change its order in the batch data, calculate where p j () is A j Random permutations of selected. A j Publish c'1, c'2, ..., c' n , as new c1, c2, ..., c n If correctness checking is required, P i In the new c1, c2, ..., c n Search for the encrypted data D in the inner layer ki,j (c i ) value, only if it is found will A be recognized j The ordering operation is correct. 5. The last routing node A m After completing the reordering operation, the final c'1, c'2, ..., c' n , as new c1, c2 , …, c n are output, and they have become plaintext after m layers of decryption and can be calculated and processed. If correctness verification is required, P i In the new c1, c2, ..., c n Search your own data in i The value of A is recognized only when it is found. m The ordering operation is correct. In the content of the invention
[0006] i and A1, A2, …, A m Share the key k i,1 , k i,2 , …k i,mThere are many ways to solve this problem. A relatively simple and efficient method is to use the chained DIFFIE-HELLMAN handshake protocol, as follows. First, the system establishes a difficult discrete logarithm problem in a cyclic group Q, where the order of Q is q and g is a generator of Q. At the same time, each A j In Z q Randomly select x from j and announce Then each P i Generate a key string: 1. P i In Z q Randomly select s i,1 . 2. P i calculate 3. P i Calculate i,2 =s i,1 +k i,1 mod q. 4. P i calculate 5. ...and so on to generate subsequent keys. 6. Until P i Calculate i,m =s i,m-1 +k i,m-1 mod q. 7. P i Final calculation That is to say, for j=1, 2, ...m-1, each P i Calculate i,j+1 =s i,j +k i,j mod q as its own DIFFIE--HELLMAN secret and compute the key A key chain is formed. Finally As P i The keychain seed and c i Bundled together and input to the out-of-order network, as shown below, is used to implement key exchange with all routing nodes in subsequent operations. 1. A1 gets K i Post-calculation A1 calculates the new A1 with k i,1 C i Do a layer of decryption to form a new c i , bundle new c i and K i together to form an output and reorder them to insert into other outputs. i Then find the new c in the output of A1 i and K i To verify the order-changing operation of A1. 2. Each subsequent A j Get the K that was updated by the previous routing node and passed to him i Post-calculation A j Calculate new A j Use k i,j C i Do a layer of decryption to form a new c i , bundle new c i and K i together to form an output and reorder them to insert into other outputs. i Then in A j Find the new c in the output of i and K i To test A j The order-changing operation. 3. Last A m Get an A m-1 After the update, K was passed to him i Post-calculation A m Use k i,m C i Do the last layer of decryption to get the plaintext data and rearrange its sequence and insert it into the final output. i Then in the last c1, c2, ..., c n Search your own data in i To test A m The order-changing operation. The same key exchange and permutation operations are performed on each c ifor i=1,2,…n,then the work of the disordered network is completed. Obviously, the DIFFIE-HELLMAN handshake protocol here can also be extended from integer cyclic groups to elliptic curves or even other cyclic groups, and form key chains based on various specific discrete logarithm problems, that is, key distribution can also be completed based on other forms of discrete logarithm problems; even the DIFFIE-HELLMAN protocol can be replaced by other key exchange protocols. When the self-verification of the data provider cannot fully meet the requirements, in some cases, a third-party verification or public verification open to anyone is still required. For example, when the self-verification fails but the routing node insists that the operation is correct, a dispute arises and the disclosure of private information such as data or permutation is not allowed to clarify the dispute, the solution is to provide a supplementary verification mechanism for the self-verification mechanism described in the invention content
[0006] to
[0007] that relies on the routing node to provide a correctness proof, so that more people can verify the correctness of the permutation operation. The correctness proof of each routing node must show that it decrypts all input ciphertexts by one layer and reorders them, but cannot disclose the secret information such as the permutation or decryption key used. This type of proof is the so-called zero-knowledge proof. The zero-knowledge proof protocol of the permutation operation here is based on two basic zero-knowledge proof protocols, one is the decryption proof without disclosing the key, and the other is the reordering proof without disclosing the permutation. The reordering proof without disclosing the permutation appears in many disordered network devices, such as the idea used in the background technology
[0005] : if T1, T2, ..., T n The integer columns in are t1, t2, ..., t n A rearrangement of can be proved by or To ensure that D(c'1), D(c'2), ..., D(c' n ) is D(c1), D(c2), …, D(c n ) without revealing any secrets. However, the zero-knowledge proof for symmetric cipher decryption here is more complicated than the zero-knowledge proof for asymmetric cipher re-encryption in technical problem
[0005] , and requires a zero-knowledge proof protocol such as ZK-SNARK that is suitable for symmetric ciphers. In addition to the content of the invention
[0006]
[0008] The method proposed in the present invention of ensuring the correctness of the reordering operation by self-verification by the data provider for the disordered network based on symmetric cryptography can also be used in a more traditional disordered network based on asymmetric cryptography, and this disordered network is more easily extended to the correctness proof provided by the routing node. That is, the data provider can determine the integrity of their own data through self-verification, and at the same time, anyone can verify the correctness proof of the reordering operation provided by the routing node. When describing this method, we still assume that a batch of n data d1, d2, ..., d n The input consists of m routing nodes A1, A2, ..., A m The random network consists of two parts; the encryption and decryption functions are E() and D() respectively, which is just an asymmetric encryption algorithm that uses a public and private key pair to encrypt and decrypt all data, and has re-encryption RE() or distributed partial decryption functions or both. The specific operation of the random network is as follows. 1. Each data d i Provider P i Encrypt it into c using asymmetric cryptography i =E(d i , r i ), where r i Is the random number used for encryption. i At the same time, a set of random numbers r is prepared i,1 , r i,2 ,…r i,m Will be used for re-encryption behind each routing node. 2. For i=1, 2,…n and j=1, 2,…m, P i The random number r i,j Use some method (distribute the exchange using another communication channel or as described in the invention content)
[0009] The encrypted file is attached to c i Decrypted by the corresponding routing node) and A j shared. 3. A1 gets any c i Then, use r i,1 C i Re-encrypt and change its order in the ciphertext group, that is, calculate Where p1() is a random permutation selected by A1 (p1() rearranges 1, 2, ..., n, and the output obtained by any input is a random value among 1, 2, ..., n). Before or after re-encryption, A1 can choose to perform a random permutation on c i Partial decryption, that is, A1 can share a shard of the private key when the encryption algorithm is set and use that shard to decrypt c i Do partial decryption. A1 publishes c'1, c'2, ..., c'n , as new c1, c2, ..., c n . Each P i Everyone knows that except for possible partial decryption, their input must be converted by A1 into RE(c i , r i,1 ), then in the new c1, c2, ..., c n If partial decryption is used, A1 must also publish the partial decryption process (but not disclose the private key fragment used for decryption) and prove the correctness of the partial decryption (the decryption of asymmetric encryption can be proved correct by methods such as zero-knowledge proof) to facilitate P i If the search matches successfully, P i We know that the reordering operation of A1 is correct; otherwise, the reordering operation of A1 will fail its self-checking. 4. A2 and other subsequent routing nodes repeat the A1 operation. j Get any c i Then, use r i,j C i Do a re-encryption (distributed partial decryption can be selected before or after) and change its order in the ciphertext group, and calculate where p j () is A j A random permutation of the selected j Publish c'1, c'2, ..., c' n , as new c1, c2, ..., c n . Each P i Everyone knows that their input will be A j Converted to RE(c i , r i,j ), then in the new c1, c2, ..., c n If a partial decryption operation is used, A j It is also necessary to publish the partial decryption process (but not disclose the private key fragment used for decryption) and prove the correctness of the partial decryption (the decryption of asymmetric encryption can be proved correct by methods such as zero-knowledge proof) to facilitate P i If the search matches successfully, P i Just know A j The permutation operation is correct; otherwise A j The reordering operation cannot pass its self-check. 5. The last routing node A m Complete his permutation operation. If he chooses partial decryption and decrypts the data into plaintext, he does not need to re-encrypt the data but directly permutes all the decrypted results with a permutation pm () before outputting; otherwise, each c i Re-encrypted to where p m () is A m The random reordering used. Finally, the new c1, c2, ..., c n are output; if they have not been decrypted to plaintext, they can be decrypted to plaintext by appending the final decryption operation (centralized decryption by a private key holder or distributed decryption by multiple private key sharers). i Everyone knows that their input will be A m Converted to RE(c i , r i,m ), then in the new c1, c2, ..., c n When only partial decryption is used, P i Share with A m The random number r i,m P m () replaces, P i Just in the new c pm(i) Position search (match) own data d i If the search is successful, P i Just know A m The permutation operation is correct; otherwise A m The reordering operation cannot pass its self-check. When a third party or public verification of the correctness of the disordered network is required, any current or future proof technology for the re-encryption and reordering operation of the Fit Car password, such as the method of technical problem
[0005] (almost all existing disordered networks use the method of publicly verifying the proof made by the routing node, and the invention contents
[0011] and
[0012] also propose improved verification methods for these proof technologies), can be used for correctness verification. It should be noted in particular that the present invention has no special requirements for the asymmetric cryptographic algorithm used to encrypt data, supports any asymmetric cryptographic algorithm with re-encryption and (or) distributed decryption functions, and has no restrictions on the correctness proof of routing nodes, so any non-self-checking disordered network correctness proof method can be used to replace the latter in scenarios that are not satisfied with self-verification to ensure the correctness of the disordered network. In the content of the invention
[0009] i and A1, A2, …, A m Share random number r i,1 , r i,2 ,…r i,mThere are many different specific methods. A relatively simple and efficient method is to use the chained DIFFIE-HELLMAN handshake protocol, as follows (for the sake of ease of understanding, the reordering operation of the disordered network based on asymmetric encryption is described here as only including re-encryption without partial decryption. In fact, it can also include the possible partial decryption described in
[0009] . This difference does not affect the random number sharing method designed below, because random numbers are only used for re-encryption). First, the system establishes a difficult discrete logarithm problem in a cyclic group Q, the order of Q is g, and g is a generator of Q. At the same time, each A j In Z q Randomly select x from j and announce Then P i Generate a random number string: 1. P i In Z q Randomly select s i,1 . 2. P i calculate 3. P i Calculate i,2 =s i,1 +r i,1 mod q. 4. P i calculate 5. ...and so on to generate subsequent random numbers. 6. Until P i Calculate i,m =s i,m-1 +r i,m-1 mod q. 7. P i Final calculation That is to say, for j=1, 2, ...m-1, each P i Calculate i,j+1 =s i,j +r i,j mod q as its own DIFFIE--HELLMAN secret and calculate the random number A random number chain is formed. As P i The seed of the random number sequence and c iBundled together and input to the out-of-order network, as shown below, is used to share random numbers with all routing nodes in subsequent operations. 1. A1 gets R i Post-calculation A1 calculates the new A1 with r i,1 C i Do a re-encryption for all c'1, c'2, ..., c' n Form new c1, c2, ..., c n A1 will each new c i Bundled to the new R generated before it was shuffled i . Each P i Then find the new c in the output of A1 i and R i To verify the order-changing operation of A1. 2. Each subsequent A j Get the R transmitted to him after the previous routing node is updated i Post-calculation A j Calculate new A j Use r i,j C i Do a re-encryption for all c'1, c'2, ..., c' n Form new c1, c2, ..., c n . A j Each new c i Bundled to the new R generated before it was shuffled i . Each P i Then in A j Find the new c in the output of i and R i To test A j The order-changing operation. 3. Last A m Get an A m-1 After the update, R i Post-calculation A m Use r i,m C i Do the final re-encryption All c'1, c'2, .., c'n Form new c1, c2, ..., c n . Each P i Then in A m Find the new c in the output of i and R i To test A m The order-changing operation. 4. The same random number sharing and re-encryption permutation operation is applied to each c i For i = 1, 2, ... n, the work of the random network is completed. The ciphertext data output at the end can be decrypted and used. Regarding the traditional method of verifying the correctness of the reordering operation in the disordered network by a third party or in a public manner, the invention content
[0009] and
[0010] The disordered network based on asymmetric encryption can be compatible with the strategies of existing proof protocols, but it can also optimize and improve the methods of using these proofs and the judgment criteria when verifying these proofs. The reason why the present invention needs to be optimized and improved is that unless the existing correctness proof protocol is particularly complex and inefficient, it cannot absolutely guarantee the correctness of the permutation operation, but will make some data that has been tampered with by the routing node pass the inspection with a non-negligible probability. An improved strategy is random grouping: when a routing node processes (re-encryption, partial decryption, or both) c1, c2, ..., c n and reorder them to c'1, c'2, ..., c' n Afterwards, the disordered network of the present invention does not necessarily require it to prove c'1, c'2, ..., c' immediately. n is c1, c2, …, c n Instead, an independent random mechanism (such as a random number generator or a hash function) reorders c1, c2, ..., c n Randomly split into multiple subsets and require routing nodes to replace c'1, c'2, ..., c' n The corresponding partition is divided into multiple subsets, each corresponding to a c1, c2, ..., c n A subset of; then the routing node must be in each c1, c2, ..., c n A subset of and a corresponding c'1, c'2, ..., c' nThe correctness of the permutation operation is proved between subsets of the original data, that is, it is necessary to prove that each of the former is processed into a latter by the correct permutation operation. As long as the correctness proof of the permutation operation of one group fails to pass the test, the permutation operation of the routing node is deemed incorrect. After adopting the grouping strategy, although data privacy is reduced (each output data can be traced back to a certain input group, and only within each group does it meet the non-traceability), the efficiency is usually significantly improved (especially when the correctness proof and verification require a cost that is superlinear in the amount of data). As long as each group is kept large enough, data privacy can still meet practical needs. In some scenarios, the input data can also be grouped by the routing node itself. Doing so will weaken the challenges it faces in the proof and reduce the robustness of the proof, but it will help it further optimize the proof efficiency. For example, it can use the same permutation in multiple groups, so that the proof and verification of the correctness of the permutations of multiple groups can be improved through batch processing (multiple individual proofs and verifications become a batch proof and verification); it can also preset the permutation to be adopted by each group in a commitment (i.e., commitment, which is used to fix a secret permutation, which can be proved to be a permutation but not disclosed, and can be made unchangeable) before the permutation operation, or use multiple commitments to preset multiple permutations, and after the group permutation operation, use the relationship between the pre-prepared commitment and the actual permutation to simplify the proof and improve the efficiency of the proof and verification of the correctness of the permutation. Even in the scenario of random grouping independent of the routing node, the routing node can also preset one or more permutations in the commitment before the permutation operation, and can also optimize the permutation correctness proof and verification after the group permutation operation by proving the relationship between them and the actual permutation to improve efficiency. Whether or not the content of the invention is adopted
[0011] The group proof strategy in the permutation operation is still very challenging to ensure that all the permuted data has not been tampered with without relying on the self-verification of the data provider. In order to easily ensure the correctness of the permutation operation, the definition of correctness can be relaxed: even if the content of some data (encrypted plaintext) has changed during the permutation operation, if these changes are so small that they can be adjusted after decryption to restore the original content of the data, the permutation operation is still considered correct. In other words, the correctness proof of the permutation operation provided by the routing node no longer has to guarantee that the content of all data has not changed, but only needs to guarantee that the content of all data has not changed in any irreversible way. Under this new definition, after the correctness proof of the permutation operation is verified, some minor changes (especially those that can be proved and verified as described in technical problem
[0005] ) are found and the method of recovering these changes is as follows. ●Before each data is encrypted, a verification code TAG is attached (for example, a hash function of the data added to the end of its binary code), and the expanded data is put into the disordered network. ●After the data is processed by the out-of-order network and decrypted, its verification code must be verified. If the verification code is correct (for example, it is still the HASH function of the data), the data is considered correct, otherwise the following recovery attempt is made for this data d. 1. Calculate d1 = du i , where u1 is the square root of 1 that is not equal to 1. Note that the modular operation commonly used in cryptography should be considered (i.e., calculations are often done modularly). If the verification code of d1 is correct, use it to replace d as the corresponding output data; otherwise, proceed to the next step. 2. Calculate d2=du2, where u2 is set to the cube root of 1 that is not equal to 1. Note that the modular operation commonly used in cryptography should be considered. If the verification code of a certain d2 is correct, it is used to replace d as the corresponding output data; otherwise, proceed to the next step. 3. Continue to calculate l , and u l The root of a larger power of 1 is changed to the root of a larger power, hoping to find the verification code to verify the correct data, and so on... Note that the grouping proof method described in the invention content
[0011] can be combined with the correctness proof method of the disordered network with relaxed requirements; that is, after the ciphertext data is grouped, the correctness proof and verification of the reordering operations within each group can be relaxed as described above. Of course, the premise is that the content of all data has not been changed in any irreversible way. In the post-quantum era, the performance of random networks cannot rely on any mathematical problems that can be solved by quantum computing in polynomial time. In the selection of encryption algorithms, symmetric cryptography has inherent advantages, and only the key length needs to be adjusted appropriately to meet the security requirements of the post-quantum era. Therefore, in the post-quantum era, the methods and facilities based on symmetric cryptography described in the invention contents
[0006] to
[0008] have better adaptability and can better play the advantages of security and efficiency; whether they are satisfied with the self-verification correctness verification mechanism or the method of using routing nodes to prove correctness. In the post-quantum era, the random networks described in the invention contents
[0006] and
[0007] need to make the following adaptive adjustments. ●The key length of symmetric encryption needs to be strengthened. For example, when 128 bits is not long enough, the key length of AES encryption should be appropriately increased, even to 256 bits or longer. ●The DIFFIE-HELLMAN key exchange protocol needs to be replaced by a post-quantum key exchange protocol such as KYBER key establishment (exchange), based on the latter in which the data provider (encryptor) P i With routing nodes (sequencing and decryption) A1, A2, ..., A mShare the exchange key k i,1 , k i,2 , …k i,m Using the same strategy, multiple keys are tightly compressed into the smallest possible data space to form a chained data structure, which can effectively improve communication efficiency. When using other methods to share or exchange keys, they must also be based on cryptographic tools that are resistant to quantum attacks, such as communication channels encrypted with post-quantum cryptography. In the post-quantum era, invention content
[0009] ~
[0012] The disordered network also needs to use post-quantum asymmetric cryptography that can resist quantum attacks instead of the commonly used asymmetric cryptography. The post-quantum cryptography used must support re-encryption. When the data provider and the routing node share the re-encrypted random number, post-quantum cryptography support is also required, such as a communication channel or handshake exchange protocol encrypted by post-quantum cryptography (a post-quantum alternative to the DIFFIE-HELLMAN handshake exchange protocol, such as an exchange protocol based on KYBER cryptography). The correctness verification mechanism based on self-verification of the disordered network described in the invention content
[0006] to
[0010] , in addition to the advantages of being simple and efficient and being the preferred solution before using third-party public verification, also has a side effect that can be utilized: the data provider has more flexible options to adapt to various usage scenarios. For example, the data provider can actively and responsibly implement self-verification on the reordering operations of all routing nodes, or it can passively do nothing and leave the correctness verification work to other verification mechanisms (such as the mechanism described in the invention content
[0010] and
[0011] where the routing node provides correctness proof for verification by anyone), or even cooperate with a certain routing node to change its own data in the reordering operation. This cooperation is reflected in that the routing node changes the data according to the requirements of the data provider, and the data provider recognizes this change and endorses its correctness in the correctness self-verification of the reordering operation. A typical scenario for changing data in accordance with the intention of the data provider in a permutation operation is that the data provider inputs his or her own opinions, preferences, choices or other personal options and decisions in an anonymous application system, and the application system uses the anonymized user data of the random network to realize the anonymous attribute of the system, and then analyzes, counts or aggregates multiple inputs to obtain the calculation results; in some cases, the data provider may be coerced by a third party (candidate, survey subject or other interested party) and forced to input the data imposed on him or her. Changing one's own data through permutation operations allows the data provider to show the coercer that he or she has input a certain option into the system, and on the other hand, he or she can cooperate with the random network that realizes data anonymity in the system to change his or her input back to his or her true intention. This special function is what is often referred to as coercion-resistance or receipt-freeness in Internet security. The method for a data owner to change his / her own data proposed in the invention content
[0015] is implemented in the random network based on symmetric encryption described in the invention content
[0006] to
[0007] as follows: Data provider P i To a cooperating routing node A j Reveal the key k i,j To prove that it is the ciphertext c i The data provider can also choose to use other methods (such as anonymous credentials) to prove that he is an application participant (data provider). Then P i Change A j For ciphertext c i The output of the encrypted data is changed to the selected new input d′ i , all keys do not need to be changed, along with c i The encryption key string K i k can still be derived at subsequent routing nodes without modification i,j+1 , k i,j+2 , …k i,m Of course, if you don't mind the trouble, P i You can also use a new different key string k i,j+1 , k i,j+ 2, ... k i,m Encryption d′ i c i output and compress them into the companion c i K i . ●A j Use the original permutation to replace the new c i and c i K i Insert into a position in its output ciphertext queue. ●P i In A j Find the new c in the output ciphertext i and the accompanying K i , if you find it, you will admit A j The permutation operation is correct, otherwise it indicates that A j The order change operation is wrong. The method for a data owner to change his / her own data proposed in the invention content
[0015] is implemented in the random network based on asymmetric passwords described in the invention content
[0009] to
[0010] as follows: Data provider P i To a cooperating routing node A j Reveal the secret random number r i,j To prove that it is the ciphertext c iThe data provider can also choose to use other methods (such as anonymous credentials) to prove that he is an application participant (data provider). Then P i Change A j For ciphertext c i The output of the encrypted data is changed to the selected new input d′ i , the random number used for encryption does not need to be changed, along with c i The random number string R i Without changing, you can still derive r in subsequent routing nodes i,j+1 , r i,j+2 ,…r i,m Of course, if you don't mind the trouble, P i You can also assign new and different random numbers to A j Used to encrypt and string the new random number r i,j+1 , r i,j+2 ,…r i,m Compressed into c i R i . ●A j Use the original permutation to replace the new c i and c i R i Insert into a position in its output ciphertext queue. ●P i In A j Find the new c in the output ciphertext i and the accompanying R i , if you find it, you will admit A j The permutation operation is correct, otherwise it indicates that A j The order change operation is wrong. The data change method and the corresponding self-verification mechanism described in the invention content
[0016] will be more troublesome if they want to support third-party or public verification of the correctness of the reordering operation (for example, they need to use zero-knowledge proof technologies such as ZK-Snark that are not usually used for disordered networks to process symmetric cryptography); but because the data change method and the corresponding self-verification mechanism described in the invention content
[0017] are based on asymmetric cryptography, there are corresponding third-party or public verification methods to verify the correctness of the reordering operation. These verification methods based on the correctness proof of routing nodes must be consistent with the method in which the data provider changes its own data and cooperates with the routing node to pass self-verification. In other words, these verification methods need to construct a correctness proof of the routing node to ensure ●If the data changes are completed according to the requirements of the data provider, the proof can pass the inspection; ●If the data changes are not completed as requested by the data provider, the proof will fail the inspection. Invention content
[0018] The special proof method described in
[0018] can be implemented in practice using a new mechanism. This new proof mechanism can be modified from an existing out-of-order network design scheme, such as [1]. In the scheme of [1], a routing node sends ciphertext data c1, c2, ..., c n Re-encrypt and reorder to c'1, c'2, ..., c' n Afterwards, face random integer challenges t1, t2, ..., t n It is necessary to prove that he knows the secret integers (i.e., integers that cannot be revealed in the proof) s1, s2, ..., s n , R, R' can satisfy: and This scheme was originally used to unconditionally prove that c'1, c'2, ..., c' n Contains c1, c2, ..., c n The new mechanism using this proof method can support data providers to jointly change their own data in out-of-order operations and provide proof of correctness. Some data providers, such as P i for i∈S want to transfer their data m i for i∈S changes to m' i for i∈S, where S is the set of serial numbers of all data providers who participated in modifying their own data. So they submit new encrypted data c i =E(m′ i , r′ j )for i∈S is given to the first routing node and asked to do the following. ●The routing node will change the c i for i∈S together with other unchanged re-encrypted data are reordered into c'1, c'2, ..., c' n Output to the next routing node. ●For those ciphertexts whose contents have not been changed Because the first routing node routinely re-encrypts and reorders them into Where P is a permutation and r′ i =r i,1 is a random number, so the routing node only needs to select and appropriate R and R' (e.g. If RE(E(m, r1), r2) = E(m, r1 + r2) always holds; or If RE(E(m, r1), r2) = E(m, r1r2) always holds) then it can be satisfied and That is to say, to prove the correctness of the reordering operation, the routing node also needs to select an appropriate s i for i∈S to satisfy yes re-encryption and yes When the encryption algorithm satisfies additive homomorphism (for the encryption algorithm E(), additive homomorphism means that for any two plaintext information m1 and m2, they all satisfy the property E(m1+m2)=E(m1)E(m2), such as the Paillier encryption algorithm), the correctness proof must be able to calculate s i for i∈S satisfies∑ i∈S m i t i =∑ i∈S m′ i s i and∑ i∈S m i t i 2 =∑ i∈S m′ i s i 2 When the encryption algorithm satisfies multiplicative homomorphism (for encryption algorithm E(), multiplicative homomorphism means that for any two plaintext information m1 and m2, they all satisfy the property E(m1m2)=E(m1)E(m2), such as the ELGAMAL encryption algorithm), the correctness proof must be able to calculate s i for i∈S satisfies and ●At this time, P i for i∈S can help the first routing node calculate s i for i∈S and complete the correctness proof. For example, each P i for i∈S, each of them can put its own m i and m' i And the r used when encrypting them iTell the routing node that no matter which encryption algorithm is used, the routing node can easily calculate s i for i∈S and complete the correctness proof, it is nothing more than adding f∈S m i t i =∑ i∈S m' i s i and∑ i∈S m i t i 2 =∑ i∈S m′ i s i 2 Calculate the unknown number s i for i∈S or in Eq. and Calculate the unknown number s i for i∈S, then use two sets of r i for i∈S construct re-encryption arrive and re-encryption arrive Zero-knowledge proof in P i For i∈S, it is also possible not to tell the routing node m i and m' i , but through the method of secure multi-party computing to cooperate with the routing node to solve the equation. Secure multi-party computing is like any multi-party computing task, which combines multiple input data of multiple participants to calculate the output result to a recipient, but requires that the input data is not leaked during the calculation process. The secure multi-party computing here is done by P i for i∈S provide secret input m i and m' i for i∈S completes the calculation of solving the equation and outputs the result to the routing node. Data providers can also work with other routing nodes to change their own data, but one thing to note is that a mechanism for confirming ownership is needed for data providers to locate their encrypted data and prove to routing nodes that it belongs to them. For example, if the data owner uses a self-verification mechanism, that is, generates his own re-encrypted random number chain and provides it to all routing nodes, he can find his ciphertext data at any routing node and prove his ownership with the knowledge of the re-encrypted random number. Advantageous Effects of the Invention One of the main functions of a disordered network is data anonymity. Since network communications are easy to monitor and even face the threat of traffic analysis, even if the data provider does not actively reveal his identity, his data packets can be easily traced to the address from the data provider. Therefore, data anonymity requires destroying the traceability of network communications. After batch data from different owners are processed by a disordered network, as long as at least one routing node does not disclose the permutation it uses (for example, by revealing the secret parameters it uses), they can no longer be traced back to the corresponding data owner, thereby achieving data anonymity; the use of the correctness verification method proposed in the present invention (the self-verification of the data provider by specifying a symmetric encryption and decryption key or an asymmetric encryption re-encryption random number described in the invention content
[0006] ~
[0007] and
[0009] ~
[0010] , the grouping proof of the routing node described in the invention content
[0011] and the error-correctable broad correctness proof described in the invention content
[0012] ) can improve the efficiency and performance of the verifiable disordered network. Even if the data is used in plain text and its content is known to a certain extent, the source cannot be traced, which can avoid damaging the privacy of the data owner. Information protection laws and regulations, including GDPR, generally recognize that anonymized data will not leak personal privacy. Therefore, in many anonymous applications, users are often allowed to submit data through a random network to protect their privacy, such as in the following scenario. ● In an electronic auction, bidders may not want to reveal their bids, which is the so-called sealed-bid auction scenario. If the content of the bid must be in plain text to select the winning bidder, at least bidders who care about personal privacy do not want their bids to be traced back to themselves. In this case, bidders can be required to encrypt their bids when bidding, and then all encrypted bids are processed using a random network before decrypting them to anonymize them, that is, to ensure that the identities of bidders and their bids are unlinkable. Of course, a claiming mechanism also needs to be designed to allow the bidder to claim the anonymized bid, that is, to prove that he is the bidder. When a self-checking random network is used, the bidder (the submitter of the bid) can publicly disclose each layer of the key of the encrypted data packet (when symmetric encryption is used to encrypt data) or the re-encrypted random number (when asymmetric encryption is used to encrypt data) so that the whole world can verify that he is the bidder. When the random network relies on routing nodes to prove the correctness of the reordering operation, they are required to disclose the routing process for the bid, including publishing the re-encrypted random number and proving the correctness of partial decryption through zero-knowledge proof when necessary. ●Many journals and academic conferences have blind reviews, which require all manuscripts to be reviewed anonymously. In particular, conference manuscripts are batched within a certain period of time, so it is suitable to use a random network to anonymize manuscripts. Traditionally, the anonymization of manuscripts requires absolute trust in the editor: it is assumed that he will not reveal the identity of the author of each manuscript to the reviewer. The use of an anonymous network can greatly weaken this trust: similar to the method of handling the subject of an electronic secret auction, all manuscripts are submitted in electronic form in a ciphertext state, and then decrypted and reviewed after being anonymously processed by a random network. Similarly, similar to the method of determining the winning bid in an electronic secret auction, the ownership of the selected manuscript can be determined by publishing the secret parameters of the selected manuscript in all permutation operations and proving the correctness of partial decryption when necessary. ● When conducting online questionnaire surveys (such as various polls), participants often need to remain anonymous. This is partly because participants want to remain anonymous for privacy reasons, and the organizers will encourage participants to submit their answers anonymously in order to ensure the objectivity and fairness of the results. At this time, the batch of electronic answers can be encrypted first, anonymized through a random network, and then decrypted and counted, so that an anonymous questionnaire survey can be achieved. Even if the participants reveal their identity information when submitting the questionnaire (for example, to prevent one person from filling out multiple questionnaires repeatedly), the content of their answers cannot be traced back to them personally. A similar application is the popular online voting activities for the public in society (for example, selecting excellent works or popular public figures). When it is necessary to be anonymous, the ballots need to be anonymized through a random network. All kinds of statistical analysis and various operation processing of batch anonymous inputs can be built on a random network, and a large amount of inputs can be reordered so that they cannot be traced back to the source before processing. In the vast world, the most important application area of random networks is electronic elections, including corporate boards, leadership bodies of non-governmental organizations such as student unions, labor unions, industry associations, sports associations, and heads of government representing the people. In electronic elections, voters submit digital ballots to the election agency through electronic communication networks to calculate the election results. Random networks can be used to process a large number of encrypted ballots, thereby protecting the voter's voting privacy and correctly counting the election results. All voters' encrypted ballots are input into a random network, or they are grouped and each group is input into a random network. After the random network's reordering operation, the order of the encrypted ballots has been disrupted and cannot be traced. At this time, they can be decrypted to count the election results. As long as at least one routing node in the disordered network does not disclose the permutation used, the privacy of the ballot can be guaranteed; the correctness verification method proposed in the present invention (the self-verification achieved by the data provider through the specified symmetric encryption and decryption key or asymmetric encryption re-encryption random number described in the invention content
[0006] ,
[0007] ,
[0009] ,
[0010] , the grouping proof of the routing node described in the invention content
[0011] and the error-correctable broad correctness proof described in the invention content
[0012] ) can improve the efficiency of the verifiable disordered network and the performance of electronic elections. The routing nodes of the disordered network used for electronic elections can be multiple distributed workstations set up by the election agency, or they can be controlled separately by the election agency and candidates (party) representatives and independent observers; these workstations can even share the decryption key of the ballot at the same time to jointly decrypt the permuted ballot. A concept related to data anonymity is data desensitization, which is more commonly used in IT technologies such as AI. When an information system (such as AI training or AI reasoning applications) needs to process a large amount of data from multiple sources (such as AI training data or reasoning input data), and each data provider has privacy protection requirements, it is not possible to directly receive plaintext data from the data provider for processing. Although the data can be encrypted and then processed in a ciphertext state, the efficiency of such ciphertext calculations (such as using homomorphic encryption or secure multi-party computation) is very low. A more realistic and efficient approach is to desensitize the input data so that it cannot leak the provider's privacy information and then process the data in a plaintext state. There are many specific application scenarios for data desensitization, including but not limited to federated learning and collaborative learning. There are many ways to desensitize data, and anonymizing the input data through a random network is one of them. The correctness verification method proposed in the present invention (the self-verification of the data provider by specifying a symmetric encryption and decryption key or an asymmetric encryption re-encryption random number as described in the invention contents
[0006] ,
[0007] ,
[0009] , and
[0010] , the grouping proof of the routing node as described in the invention content
[0011] , and the error-correctable broad correctness proof as described in the invention content
[0012] ) can improve the efficiency and performance of the verifiable random network. This solution has its unique advantage, namely that it prevents data from being tracked in the communication network itself. For example, when the communication network is monitored, other data desensitization methods can still be tracked by the monitor (such as through traffic analysis) to reveal the source of the data, thereby revealing the identity of the provider and the data content before desensitization and the relationship between them. An anonymous communication network such as a random network is still needed to cooperate to achieve the purpose of privacy protection. The above-mentioned application of the disordered network has a great advantage over other anonymous communication networks such as onion routing and its variants (such as TOR). It will not be abused to resist network monitoring or control by regulatory authorities. This is because, in a disordered network, the destination of all data (even the complete transmission path) is unique, identical and public. Therefore, when someone wants to access or connect to an illegal, sensitive or prohibited network target by the authorities, he cannot use the disordered network to avoid the monitoring or restrictions of the network regulatory authorities. In the disordered network, his transmission path and destination will be exposed; although his data privacy will still be protected (unless the authorities force all routing nodes to jointly expose the connection between him and his own data), his transmission (access) request is publicly identifiable and can be blocked at any time when necessary. In other words, a unique application of the disordered network is to be used to construct an anonymous communication network that cannot be abused (to secretly connect to unknown websites), and can even be deployed in countries and regions where network communications are controlled and onion routing and its variants are banned. Of course, compared with onion routing and its variants whose correctness cannot be verified, out-of-order networks sacrifice some efficiency because they provide a correctness verification mechanism; however, the correctness verification method proposed in the present invention (invention content
[0006] ~
[0012] ) can make up for this weakness through efficiency optimization. The disordered network not only benefits from the support of cryptographic technology, but also can support cryptographic applications in turn. For example, in cryptographic applications such as secure multi-party computation, cryptographic security protocols such as garbled circuits and oblivious transfer are used. This type of security protocol has a characteristic that when faced with a batch of ciphertexts, they must rely on or benefit from secretly scrambling them. After that, the processing of the disordered ciphertexts can achieve the purpose of non-traceability or help achieve specific security performance. In the scheme of using garbled circuits to implement secure multi-party computation, the main tool is a logic circuit that implements the computing task, but the encrypted input and (or) output of each of its logic gates needs to be garbled and the scrambled order cannot be leaked. This is a typical reordering operation that can be implemented by a disordered network. In oblivious transfer, a data provider has multiple data, and a data extractor wants to obtain the content of one of the data; the security requirement is that the data provider does not know which data the data extractor has obtained, and the data extractor does not know the content of other data. If the data extractor shuffles all the encrypted data of the data provider using a random network and then asks him to decrypt a ciphertext output, the security requirements of inadvertent transmission can be achieved. The random network used here has some particularities, such as all input data may come from the same provider rather than multiple different providers, the number of routing nodes may not be large (even one participant (the constructor of the gate circuit or the extractor of the inadvertently transmitted data) can serve as the only routing node), and the correctness guarantee mechanism of the input self-verification may not be suitable everywhere, but the random network still provides the ciphertext reordering function including basic operations such as reordering and re-encryption, but it is not necessary to decrypt all the reordered ciphertexts in the end; so the present invention is still helpful in this scenario. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 - Innovative implementation, functional expansion and efficiency optimization of out-of-order networks. List of cited documents Non-patent literature [1]Kun Peng, Ed Dawson, Feng Bao. Modification and optimization of a shuffling scheme: stronger security, formal analysis and higher efficiency. International Journal of Information Security10(1):33-47(2011).
Claims
1. A principled method for verifying the shuffling operation of a routing node in a shuffled network. The routing node does not need to provide any proof for verification by others. Each provider of input data only needs to directly verify the shuffling operation of the routing node on its own data. For example, the data provider pre-designs the details of the shuffling operation for its own data and informs the corresponding routing node; and then verifies the subsequent shuffling operation based on this, and verifies that the data provided by itself has only been changed in order but the content has not changed. Regardless of the encryption algorithm (symmetric or asymmetric encryption algorithm) based on the shuffling operation, the form of data encryption (multi-layer or single-layer encryption), how the shuffled network is constructed, or whether the encrypted data is re-encrypted or partially decrypted, this self-verification method can be used to ensure the correctness of the shuffling operation.
2. A method for constructing a disordered network based on symmetric encryption. Instead of using asymmetric encryption for constructing a disordered network, a symmetric encryption multi-layer encryption and decryption method is used to support the reordering operation of the disordered network. It is also different from the onion routing or TOR that is traditionally implemented with symmetric encryption multi-layer encryption and decryption; the disordered network here processes a batch of multiple data at the same time, and allows them to pass through fixed, public and identical routing lines. For example, first use symmetric encryption to perform multi-layer encryption on all data separately, and then all data undergo a layer of decryption while being scrambled at each routing node, until the last routing node removes the innermost layer of encryption to obtain all the plaintext data in scrambled order.
3. A specific method for implementing the symmetric cryptographic random network and the self-checking mechanism described in claim 1 and claim 2: using symmetric cryptographic multi-layer encryption and decryption data, when it is necessary to verify the correctness of the random network, a self-checking method is used to ensure the correctness of the random operation. The implementation relies on the following method and device, and the specific details are described in the invention content [0006], [0007] and [0013]. ●Each data provider generates a symmetric key for each layer of encryption of its own data, and uses these keys to encrypt its own data layer by layer (each layer corresponds to a routing node); at the same time, it needs to exchange the corresponding keys with each routing node in the disordered network one by one, for example, packaging these keys with its own encrypted data; the simplest method is: compress these keys into a key chain that accompanies its own encrypted data (each routing node can run a key exchange protocol to extract the keys from it), and put them into the disordered network together with the encrypted data to form a data packet. ●All encrypted and packaged data packets are grouped into a batch and handed over to the out-of-order network. All routing nodes join the routing work in turn, perform reordering operations based on symmetric cipher decryption on all batches of data one by one, and reorder them; the output of the previous routing node is passed to the next routing node as input, and all routing work is completed one by one. ● In the permutation operation, each routing node processes each encrypted data transmitted to it: first, it completes the key exchange with the corresponding data provider to obtain the key, for example, extracts the key given to itself from the key information accompanying the encrypted data (such as the key chain described in the invention content [0007]) (by running the key exchange protocol); uses this key to decrypt the data to peel off a layer of encryption, and updates the accompanying key information so that the next routing node can complete the key exchange. ●If it is necessary to verify that the disordered network has not lost or tampered with data, no routing node is required to provide any proof. The correctness check of the disordered network does not necessarily cover all routing operations of the entire network or all routing operations of certain routing nodes, although this overall check can also be completed by multiple data providers checking the multi-point routing operations of their own data. Any data provider can directly check the reordering operation of their own data at any routing node: for the jth routing node among all m nodes, find the inner mj layer encryption of their own data in its output (the innermost mj symmetric keys are encrypted in sequence); if it is found, it proves that its reordering operation is correct, otherwise its reordering operation is wrong. This verification mechanism is more flexible, and the correctness of each data is only the responsibility of the corresponding provider (often the data subject), which complies with the principle of consistency between rights and interests and management; if a data provider trusts a routing node or is not worried about errors in his own data, he can not do the check, and only needs to do the check (simple query comparison) for the data provider who does not trust a routing node. ● The key exchange between the data provider and the routing node can use an encrypted communication channel to protect the key sent by the former to the latter. Of course, this requires that they already have a shared communication key. If they have not yet shared a communication key, they need a handshake exchange protocol such as DIFFIE-HELLMAN to complete the key exchange. As described in the invention content [0007], all key exchanges of a data provider can be compressed into a chain of short key strings to improve communication efficiency and reduce data packet length.
4. Another specific method for constructing the self-checking mechanism of the disordered network described in claim 1, although the traditional asymmetric cipher is used to perform single-layer encryption on the input data, and then all the data is re-encrypted or partially decrypted or both at each routing node while being scrambled; however, the correctness check of the disordered network does not need to be verified by the routing node but can rely on the self-checking of the data provider. Therefore, the re-encryption of the disordered network is not actually a traditional mechanism controlled autonomously by the routing node, but is controlled and verifiable by the data provider. This type of self-checking disordered network, in its implementation, relies on the following methods and devices, and the specific details are described in the invention content [0009], [0010] and [0014]. ● Each data provider generates a random number for each future re-encryption of its data, and each routing node will use these random numbers to re-encrypt its data one by one; therefore, it needs to share these random numbers with each routing node in the disordered network one by one, for example, by packaging these random numbers together with its own encrypted data; the simplest method is: as described in the invention content [0010], compress these random numbers into a random number chain accompanying its own encrypted data (each routing node can run a handshake exchange protocol to extract random numbers from it), and form a data packet together with the encrypted data and put it into the disordered network. ●All encrypted and packaged data packets are grouped into a batch and handed over to the disordered network. All routing nodes join the routing work in turn and perform reordering operations on the batch data based on asymmetric cryptographic decryption. Each routing node in the disordered network processes each encrypted data transmitted to it: first, it completes a handshake exchange with the corresponding data provider to obtain the re-encrypted random number assigned to it, such as extracting the re-encrypted random number assigned to it from the random number information accompanying the encrypted data (such as the random number chain); re-encrypting the data with this re-encrypted random number (at the same time, it can choose to do a partial decryption); updating the accompanying random number information so that the next routing node can complete the random number extraction. ●If you need to verify that the disordered network has not lost or tampered with data, it is not necessary for any routing node to provide any proof. The correctness check of the disordered network does not necessarily cover all routing operations of the entire network or all routing operations of certain routing nodes, although this overall check can also be completed by multiple data providers checking the multi-point routing operations of their own data. Any data provider can directly check the reordering operation of their own data at any routing node: for the jth routing node among all m nodes, find the jth level re-encryption of their own data in its output (using the first j random numbers generated and shared by themselves in turn); if it is found, it proves that its reordering operation is correct, otherwise its reordering operation is wrong. This verification mechanism is more flexible, and the correctness of each data is only the responsibility of the corresponding provider (often the data subject), which complies with the principle of consistency between rights and interests and management; if a data provider trusts a routing node or does not worry about errors in his own data, he can not do the check, and only needs to do the check (simple query comparison) for the data provider who does not trust a routing node. ● The random number exchange between the data provider and the routing node can use an encrypted communication channel to protect the random number sent by the former to the latter. Of course, this requires that they already have a shared communication key. If they have not yet shared a communication key, they need a handshake exchange protocol such as DIFFIE-HELLMAN to complete the random number exchange. As described in the invention content [0010], all random number exchanges of a data provider can be compressed into a chain of short random number strings to improve communication efficiency and reduce data packet length. ●When the self-verification mechanism is not sufficient to guarantee the correctness of the reordering operation, the routing node can be required to prove that its reordering operation is correct, which can be publicly verified by anyone. In other words, this disordered network that relies on self-verification can also be compatible with the traditional proof + verification verification mechanism (usually the proof of correctness of the reordering of re-encrypted or partially decrypted data has been implemented), and any routing node can be required to provide its own proof of correctness of the reordering operation when necessary, which can be verified by others.
5. A method for supporting the new disordered network described in claims 3 and 4 when the routing nodes are required to prove the correctness of their reordering operations. In addition to inheritance and adaptation, the existing proof + verification inspection mechanism can also be reconstructed; in order to avoid complex and time-consuming operations, it can also be adjusted and optimized. The so-called inheritance means that when the new disordered network using asymmetric cryptographic encryption needs to expand from the correctness guarantee of self-verification of the data provider to a wider range of correctness proofs (for example, when publicly verifiable security guarantees are required), the existing routing node proves that its reordering operation is correct and can be verified by others. The protocol (usually using traditional zero-knowledge proofs for asymmetric cryptography) can be adapted and adopted. The so-called reconstruction refers to the situation that when a disordered network encrypted with symmetric cryptography needs to expand from the correctness guarantee of the data provider's self-verification to a wider range of correctness proofs (for example, when publicly verifiable security guarantees are required), there is often no ready-made proof protocol to adapt. It is necessary to combine the zero-knowledge proof protocol such as ZK-SNARK, which can prove that a symmetric cryptographic ciphertext contains information of specific properties but is usually not used in disordered networks, with the proof reordering (permutation) method commonly used in zero-knowledge proofs of disordered networks to form a new proof protocol. As for adjustment and optimization, an effective strategy is to divide the ciphertext data processed by the routing node into multiple input groups. The output ciphertext obtained after each group is permuted forms a corresponding output group. The routing node only needs to prove that the permutation operation from each input group to the corresponding output group is correct; the specific grouping mechanism is independent and random, and can be determined before the permutation operation or after it is completed.
6. There is also a method for supporting the disordered network described in claim 4 when requiring routing nodes to prove the correctness of their own reordering operations. The disordered network described in claim 4 can directly inherit the existing proof + verification inspection mechanism when requiring routing nodes to prove the correctness of their own reordering operations; in order to avoid complex and time-consuming operations, it can also be simplified. By appropriately relaxing the inspection conditions, when the data has been slightly modified but the content can still be restored, the correctness proof can also pass the inspection, which can simplify the proof and verification and improve the efficiency of the disordered network with provable correctness. The adjusted reordering operation and its correctness proof become as follows: ●After the routing node completes the correct reordering operation on all ciphertext data, it can output the ciphertext data, or it can make slight modifications to them (for example, change a ciphertext data c to -c under modular operation) and then output it, provided that the modified ciphertext can be detected and corrected. ●The routing node provides proof for its own reordering operation. It does not need to prove that the content of each data has not changed at all, but rather broadly proves that no data has undergone undetectable and uncorrectable changes. ●Anyone can verify the above proof to ensure that no data has undergone undetectable and uncorrectable changes. ●When one, multiple or all routing nodes complete the permutation operation, the output data can be verified. The verification can be for both ciphertext data and decrypted plaintext data (for example, when all routing nodes complete the permutation operation) to determine whether they have been changed. The changed data can be corrected and restored to its original content if the change is minor.
7. A method that supports data providers to change their own data through routing nodes while the disordered network can still pass the correctness test. In a disordered network that adopts a data provider self-verification mechanism, a data provider can tell a routing node how to change its own data; he checks the changed data, and it can pass his test if it meets his requirements. In a disordered network that requires routing nodes to prove that their order-changing operations are correct, some data providers cooperate with a routing node to change their own data and check the changes, and then help it construct a correctness proof. This correctness proof can pass the inspection of a third party; so from the public perspective, the operation of the disordered network is still considered correct.
Citation Information
Patent Citations
Dynamic transmission path construction method and system for anti-tracking network
CN111314336A
Secure transmission method and device of network data, equipment and storage medium
CN115529192A
Verifiable anonymous channel
US6937728B1
Cited By
Automatic identification and dynamic labeling system for data blood relationship and sensitivity labels
CN122413471A
