Public verifiable multi-secret redistribution method based on recursive equation

By using recursive equations and the non-interactive Sigma protocol to verify the distributor's honesty in each time period, the problems of insecure key distribution and access structure changes in the existing technology are solved, and publicly verifiable multi-secret redistribution is achieved. Methods to ensure the security and availability of keys.

CN118590225AInactive Publication Date: 2024-09-03XIHUA UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410642982.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies cannot distribute key shares without relying on secure and trusted channels, cannot adapt to dynamic changes in the access structure, and cannot publicly verify the integrity of distributors and participants.

Method used

Adopt a publicly verifiable multi-secret redistribution method based on recursive equations, with the distributor registering private and public keys for participants at each time period, using the recursive equation to distribute encrypted shares, and verifying the distributor's through the non-interactive Sigma protocol Honesty, adapts to changes in the access structure until the secret is reconstructed.

Benefits of technology

It realizes the ability to distribute shares without a secure and trusted channel, adapts to dynamic changes in the access structure, and can publicly verify the integrity of distributors and participants, ensuring the safe distribution and reconstruction of secrets in different time periods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590225A
    Figure CN118590225A
Patent Text Reader

Abstract

The invention relates to the technical field of cryptography, and discloses a public verifiable multi-secret redistribution method based on a recursive equation, comprising the following steps: step 1, a distributor obtains system parameters when inputting security parameters, registers a private key for a participant in each time period and calculates a corresponding public key; step 2, a distributor distributes a set with a plurality of secrets to participants in a first time period by adopting a recursive equation, and publishes own proof character strings and encryption shares; the method does not need a secure and trusted channel to distribute shares, does not interact with distributors, adapts to the dynamic change of an access structure under the condition that the generated shares and sub-shares are not observed, can publicly verify the honesty of the distributors and participants, and distributes a plurality of secrets by only holding one share. According to the invention, the life cycle of the secret is divided into a plurality of time periods, and different time periods have different access structures.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of cryptography, and in particular to a publicly verifiable multi-secret redistribution method based on a recursive equation. Background Art

[0002] As the use of digital storage for sensitive documents becomes more and more widespread, secure storage methods become increasingly important. Cryptography provides many important technologies for achieving information security, such as encryption, signature, and authentication mechanisms. However, encryption technology alone is not enough to fully protect information security. The core of encryption is the need to keep the key confidential. Therefore, key management directly affects the security of the information system, and the key is the key to the security and confidentiality of the cryptographic system.

[0003] Secret sharing is a cryptographic technique that divides and stores secrets. The purpose is to prevent secrets from being too concentrated, so as to achieve the purpose of dispersing risks and tolerating intrusions. It is an important means in information security and data confidentiality. The basic idea of ​​this protocol is to divide the secret to be shared into multiple parts, each of which is called a share, and distribute it to a group of participants. In this way, each participant receives a share of the secret. In a specific authorized set, participants can combine their shares to reconstruct the secret, while the unauthorized set cannot reconstruct the secret. The set composed of authorized subsets is usually called an access structure.

[0004] Through secret sharing, secrets can be shared and used among multiple parties while ensuring the security of secrets. This method has been widely used in the fields of distributed systems and information security, and provides an effective means to protect the confidentiality of important data, including threshold variable secret sharing methods, verifiable secret sharing methods, and active secret sharing methods. These schemes use different mathematical principles and algorithms to provide a variety of options for secret sharing.

[0005] The secret redistribution method can adapt to the long-term storage of secrets, not only can multiple secrets be redistributed, but also can remain secure when participants are added or deleted. The secret redistribution method can further improve the security and availability of data and protect important information in cyberspace from potential security threats.

[0006] Existing technologies require secure and trusted channels to distribute shares and interact with distributors, and are unable to adapt to dynamic changes in access structures and cannot publicly verify the integrity of distributors and participants. Summary of the invention

[0007] In view of the shortcomings of the prior art, the present invention provides a publicly verifiable multi-secret redistribution method based on a recursive equation, which solves the problems of needing a secure and trusted channel to distribute shares, interacting with distributors, being unable to adapt to dynamic changes in the access structure, and being unable to publicly verify the integrity of distributors and participants.

[0008] To achieve the above objectives, the present invention is implemented by the following technical solution: a publicly verifiable multi-secret redistribution method based on a recursive equation, comprising the following steps:

[0009] Step 1: The distributor obtains the system parameters when inputting security parameters, and registers the private key and calculates the corresponding public key for the participants in each time period;

[0010] Step 2: Using a recursive equation, the distributor distributes a set of multiple secrets to the participants in the first time period, publishes its own proof string and encrypted share, and finally the participants in the first time period calculate their own share after verifying the honesty of the distributor;

[0011] Step 3: Participants redistribute the information containing the secret to the new access structure of the next time period, and publish the proof string and the encrypted sub-share at the same time. Finally, participants in the new access structure verify the honesty of the previous time period and calculate the encrypted sub-share to obtain their share. This step can be performed throughout the life cycle until the secret needs to be reconstructed.

[0012] Step 4: Shamir secret sharing method: at any time period, reconstructors who satisfy the access structure can reconstruct the secret.

[0013] Preferably, in step 4, the Shamir secret sharing method is designed with a (t, n) threshold, where t is the threshold value and n is the total number of participants. It is divided into two steps: secret distribution and secret reconstruction. In the secret distribution stage, the distributor divides the secret into n parts and distributes them to each participant. In the secret recovery stage, the original secret can only be recovered if at least t parts of the secret are obtained.

[0014] Preferably, in the secret distribution, the distributor Randomly select a polynomial from For secret S = a 0 The split is performed by calculating si=f(xi)modq and sharing it with the corresponding participants Pi (i=1,2,...n).

[0015] Preferably, in the secret reconstruction, when t or more than t participants cooperate to recover the secret, each participant broadcasts his share to other participants, and the secret S=f(0) can be reconstructed by calculation according to the Lagrange interpolation method.

[0016] Preferably, the Lagrange interpolation method is:

[0017]

[0018] Preferably, in the non-homogeneous linear recursive equation, t is a positive integer, c 0 ,c 1 …,c t-1 ,a 1 ,a 2 ,…,a t is a set of constants, f(i) is the equation value, and a recursive sequence (ui) can be defined by a t-order non-homogeneous linear recursive equation as shown in the following equation:

[0019]

[0020] set up is the domain, Consider the typical distribution h(x) / (1-αx) m , The degree of h(x) is less than m, then

[0021]

[0022] where u i =p(i)α i , p(i) can be expressed in the form A 0 +A 1 i+…+A m-1 i m-1 .

[0023] The present invention provides a publicly verifiable multi-secret redistribution method based on a recursive equation. It has the following beneficial effects:

[0024] The present invention does not need a secure and trusted channel to distribute shares, does not interact with the distributor, and adapts to the dynamic changes of the access structure without observing the generated shares and sub-shares. It can publicly verify the integrity of the distributor and the participants, and only holds one share to distribute multiple secrets. The present invention divides the life cycle of the secret into multiple time periods, and different time periods have different access structures. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of the steps of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0027] Embodiment 1:

[0028] Please refer to the attached Figure 1 The embodiment of the present invention provides a publicly verifiable multi-secret redistribution method based on a recursive equation, comprising the following steps:

[0029] Step 1: The distributor obtains the system parameters when inputting security parameters, and registers the private key and calculates the corresponding public key for the participants in each time period;

[0030] Step 2: Using a recursive equation, the distributor distributes a set of multiple secrets to the participants in the first time period, publishes its own proof string and encrypted share, and finally the participants in the first time period calculate their own share after verifying the honesty of the distributor;

[0031] Step 3: Participants redistribute the information containing the secret to the new access structure of the next time period, and publish the proof string and the encrypted sub-share at the same time. Finally, participants in the new access structure verify the honesty of the previous time period and calculate the encrypted sub-share to obtain their share. This step can be performed throughout the life cycle until the secret needs to be reconstructed.

[0032] Step 4: Shamir secret sharing method: at any time period, reconstructors who satisfy the access structure can reconstruct the secret.

[0033] In step 4, Shamir's secret sharing method uses a (t, n) threshold design, where t is the threshold value and n is the total number of participants. It is divided into two steps: secret distribution and secret reconstruction. In the secret distribution stage, the distributor divides the secret into n parts and distributes them to each participant. In the secret recovery stage, only when at least t parts of the secret are obtained can the original secret be recovered.

[0034] In secret distribution, the distributor Randomly select a polynomial from For secret S = a 0 The split is performed by calculating si=f(xi)modq and sharing it with the corresponding participants Pi (i=1,2,...n).

[0035] In secret reconstruction, when t or more participants cooperate to recover the secret, each participant broadcasts his or her share to other participants, and the secret S = f(0) can be reconstructed by calculation based on the Lagrange interpolation method.

[0036] The Lagrange interpolation method is:

[0037]

[0038] In the nonhomogeneous linear recursive equation, let t be a positive integer, c 0 ,c 1 …,c t-1 ,a 1 ,a 2 ,…,a t is a set of constants, f(i) is the equation value, and a recursive sequence (ui) can be defined by a t-order non-homogeneous linear recursive equation as shown in the following equation:

[0039]

[0040] set up is the domain, Consider the typical distribution h(x) / (1-αx) m , The degree of h(x) is less than m, then

[0041]

[0042] where u i =p(i)α i , p(i) can be expressed in the form A 0 +A 1 i+…+A m-1 i m-1 .

[0043] Embodiment 2:

[0044] The method uses a t-order nonhomogeneous linear recursive equation composed of a set of constants c 0 ,c 1 ...,c t-1 ,a 1 ,a 2 ,...,a t , a set of recursive sequences (u i ) and the equation value ci are defined as follows:

[0045]

[0046] where u i =p(i), p(i) can be expressed in the form A 0 +A 1i+…+A t+1 i t+1 . From this we can see that using t+2 values ​​and the Lagrange interpolation method, we can get p(i).

[0047] The Sigma proof protocol is used to build a zero-knowledge proof system. It is mainly used to prove that an entity has a secret value without revealing the secret. The security of the protocol is based on the discrete logarithm problem and the composite trust assumption. It has high security and flexibility and is often used in many cryptographic applications, such as zero-knowledge proof, authentication, key exchange, etc. A proof system consists of two parties: the prover and the verifier. Given a statement, the verifier will ask the prover a question and finally decide whether the statement is true. This method uses the non-interactive sigma protocol to prove that two elements y 1 , It satisfies the relationship y 1 =g x 1 ,y 2 =g x 2 The non-interactive sigma proof protocol uses the Fiat–Shamir protocol based on hash functions to transform the interactive sigma proof protocol into a non-interactive one, as shown below:

[0048] The prover selects a random number r∈ R [0,q-1], calculate a 1 =g r 1 、a 2 =g r 2 , ζ=H(g 1 ||g 2 ||y 1 ||y 2 ||a 1 ||a 2 ||) and b = (r + ζ) x -1 (modq), H is a hash function, the prover sends (ζ, b) to the verifier;

[0049] Validator Verification Equation Is it true? If it is true, it is false.

[0050] The life cycle of a secret is divided into multiple time periods h = {0, 1,, ..., K}. First, the distributor distributes the secret to the participants in the first time period h = 0. p 0 The participants in the time period h=1 verify the honesty of the distributor and redistribute the secret to the participants in the second time period h=1 p 1Participants in the 0 The honesty of the secret and the correctness of the distributed sub-shares can be guaranteed, and this can be repeated until the last period of the life cycle, until the secret needs to be reconstructed.

[0051] The present invention provides a publicly verifiable multi-secret redistribution method based on a recursive equation, and each step is described in detail below:

[0052] Suppose we need to log l secrets s 1 ,s 2 ,...,s l The access structure of the first time period is (t 0 ,n 0 ), the set of participants is The access structure of the second time period is (t 1 ,n 1 ), the set of participants is The access structure of the kth time period is (t k ,n k ), the set of participants is This is repeated until the last period of the life cycle, where t h is the threshold value of time period h, n h is the number of participants in time period h.

[0053] In the initialization, the distributor first selects two prime numbers p and q under the security parameter λ, such that p = 2q + 1, |q| ≥ λ, and randomly selects two generators g 1 , For each time period h, select the equation value c for the nonhomogeneous linear recursive equation to be constructed h , and for each time period h={0,1,...,κ}, the participant p h,i Register private key x h,i , calculate the public key The system parameters are set to Where H:{0,1} * →{0,1} λ is a secure cryptographic hash function, and the distributor publishes these system parameters.

[0054] In secret distribution, the distributor creates a non-homogeneous linear recursive equation belonging to the first time period h = 1, setting The equation is as follows:

[0055]

[0056] where c 0,i ∈ R[0,q-1],i∈[0,t 0 -1].

[0057] Using the first l sequence values ​​u in the equation 0,0 ,u 0,1 ,…,u 0,l-1 Encrypt l secrets separately to get For sequence values Use public key n 1 Participants generate encrypted shares For the other two auxiliary values ​​i={n 0 +1,n 0 +2}, set value At the same time, the distributor selects i+2 random numbers r i , use the sigma protocol to get the proof string (ζ i ,b i ) to prove the correctness of the generated encrypted share, and obtain the proof string according to the following rules:

[0058] ①First, for i=1,…,n 0 +2, encryption equation sequence value Then open U 0,i ;

[0059] ② Secondly, i=n 0 +1,n 0 +2, get the encrypted value of the sequence value

[0060] ③Use i+2 random numbers r i Get i , where 1≤i≤n 0 use The other two auxiliary values ​​are used

[0061] ④ Put all i XOR

[0062] ⑤Finally obtained

[0063] Finally, the encrypted share and the proof string (ζ) are sent through a public communication channel. i ,b i )Send to P 0 Participants in P 0 Each participant in the process uses the proof string to verify the honesty of the distributor, and verifies according to the following rules:

[0064] ①First, set an empty set C to store the index of participants with wrong shares;

[0065] ②In i∈{1,…,n 0 +2}, P 0 Each participant in the process uses the public value published by the distributor and the recursiveness of the equation to obtain the encrypted value U belonging to his share. 0,i . when i <n 0 +2-t 0 When α i =(l+i)c 0 get Get The remaining participants set α i =(l+it 0 )c 0 , directly obtain

[0066] ③ Put all i XOR

[0067] Then P 0 Each participant in the 0,i Get ζ' i , used to verify the correctness of the share, when 1≤i≤n 0 When using The rest of the use

[0068] ④Comparison i Is it equal to ζ i , if different, put the participant index into set c;

[0069] ⑤Finally, check whether set c is an empty set. If so, the distributor is honest, otherwise the method terminates.

[0070] After verification, if the distributor is honest, p 0 Participants can use their private keys to decrypt their own encrypted shares. And save, otherwise this method terminates.

[0071] In secret redistribution, this phase is performed by the participants in the hth time period Redistribute the secret information to the participants in the h+1th time period First, P h Each participant in constructs a non-homogeneous linear recursive equation as follows:

[0072]

[0073] where k≥0,c h+1,i,j ,c h+1 ∈ R [0,q-1],j∈[0,th+ 1 -1].

[0074] Participant h,i ∈P h Use p h+1,j ∈P h+1 The public key y h+1,j Encrypted sequence value u (h+1,i,l+j) Get crypto shares Send the encrypted sub-shares to the corresponding participants p h+1,j ∈P h+1 , participant p h,1 Will receive encrypted sub-share Y (h+1,i,1) , p h,2 Will receive encrypted sub-share Y (h+1,i,2) , and so on, Receive encrypted sub-shares For j∈{0}∪{n h+1 +1,n h+1 +2}Settings The present invention does not require P when redistributing secrets. h All participants are honest, and only a set of honest subsets need to be selected to complete the redistribution, and then P h After the participants select a random number, they use the non-interactive sigma protocol to generate a proof string (ζ i ,b i ) and published, proving that the string was obtained according to the following rules:

[0075] ①First, for j=0,1,…,n h+1 +2, get the corresponding public value

[0076] ② In particular, the equation sequence value u h+1,i,l Produce the proof string, that is, j = 0, and get and

[0077] Then P h+1 The participants selected a subset The number of subsets needs to meet the threshold of time period h |A h |=t h , and then check whether the participants in the subset are honest. The test rules are as follows:

[0078] ①Use multiple public values ​​U h+1,i,j and recursively obtain U" h+1,i,0 , different methods are used to obtain the correlation value according to the number of secrets. If the number of secrets is l <n h+1 +2-t h+1 , first get α 0 =lc h+1 , and then we can conclude If the number satisfies the rest, use α 0 =(lt h+1 )c h+1 ,

[0079]

[0080] ②Then get

[0081]

[0082] ③Comparison i Is it equal to ζ i .

[0083] If after the test ζ' i With i are not equal, terminate this method, otherwise it is known that subset A h For the honest subset, re-check and send to P h+1 The encrypted sub-share is checked to see if the incorrect sub-share is less than the threshold value t h+1 To ensure the security of the secret, the rules for checking sub-shares are as follows:

[0084] ①First, set up an empty subset C to store the participant index of the honest sub-share;

[0085] ②When a=1,…,n h+1 +2, for each a, use the public value U h+1,i,e , e={a+1,...,a+t h+1 -1} and the equation recursion to obtain the equation sequence value u h+1,i,l The encrypted value of <n h+1 +2-t h+1 When α is calculated first a =(l+a)c 0 , Then for j=1,…,n h+1 +2 and the public value of non-a is set to X j =U h+1,i,j , and then use the recurrence relation Get X 0 Finally, let F a =X0 ; For the rest of the range of a, then we know that α a =(l+at h+1 )c h+1 , Then for j = at h+1 +1,…,a-1 is set as X j =U h+1,i,j , and then use the recurrence relation e∈[t h+1 ,a],α e =(et h+1 +l)c h+1 Get X 0 Finally, let F a =X 0 ;

[0086] ③ Get where j = 1, .., n h+1 +2;

[0087] ④Judgement j =ζ i Is it true? If they are equal, then p h+1,j Store into collection C;

[0088] ⑤ Set C' = P h+1 \C.

[0089] From the above, we can see that the corrupted sub-share set, if |C'|≤t h+1 If -1, continue to redistribute, otherwise terminate the method. Each participant p in the honest subset h,i ∈A h The correlation value is calculated according to the following rules:

[0090] ①For i: (h,i)∈γ(A)∪{n h +1,n h +2}Calculated value

[0091]

[0092] ② For i:(h,i)∈γ(A), calculate

[0093] ③ Calculate at the same time and

[0094] ④For i: (h,i)∈{n h +1,n h +2}, calculate

[0095] ⑤ Recalculate and publish where i:(h,i)∈γ(A)∪{n h +1,n h +2}.

[0096] P h+1 The participants in the game then decrypt the encrypted sub-shares they received. Finally, the encrypted sub-shares are merged into a complete share The rest of the redistribution process is repeated in the same way until reconstruction is required.

[0097] In secret reconstruction, the set of reconstructors who need to be reconstructed in the current time period h Its number meets the threshold value t of the current access structure h , and generate a corresponding proof string for its own share (ζ i ,b i ), the rules are as follows:

[0098] ① Each participant in A calculates

[0099] ② Calculate again

[0100] Set A publishes the proof string (ζ i ,b i ) in order to verify the correctness of the refactor's share during refactoring. The verification rules are as follows:

[0101] ① Calculated using the submitted shares

[0102]

[0103] ②Verification i =ζ i Is it true?

[0104] After all verifications are passed, the Lagrange interpolation polynomial can be used to correctly reconstruct the secret and calculate Finally calculate Therefore, we can get l secrets s 0 ,…,s l-1

[0105] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A publicly verifiable multi-secret redistribution method based on recursive equations, It is characterized in that The following steps are involved: Step 1: The distributor obtains the system parameters when inputting security parameters, and registers the private key and calculates the corresponding public key for the participants in each time period; Step 2: Using a recursive equation, the distributor distributes a set of multiple secrets to the participants in the first time period, publishes its own proof string and encrypted share, and finally the participants in the first time period calculate their own share after verifying the honesty of the distributor; Step 3: Participants redistribute the information containing the secret to the new access structure of the next time period, and publish the proof string and the encrypted sub-share at the same time. Finally, participants in the new access structure verify the honesty of the previous time period and calculate the encrypted sub-share to obtain their share. This step can be performed throughout the life cycle until the secret needs to be reconstructed. Step 4: Using Shamir's secret sharing method, reconstructors who meet the access structure can reconstruct the secret at any time period.

2. A publicly verifiable multi-secret redistribution method based on recursive equations according to claim 1, Features: In step 4, the Shamir secret sharing method uses a (t, n) threshold design, where t is the threshold value and n is the total number of participants. It is divided into two steps: secret distribution and secret reconstruction. In the secret distribution stage, the distributor divides the secret into n parts and distributes them to each participant. In the secret recovery stage, only when at least t parts of the secret are obtained can the original secret be recovered.

3. A publicly verifiable multi-secret redistribution method based on recursive equations according to claim 1, Features: In the secret distribution, the distributor Randomly select a polynomial from For secret S = a 0 The split is performed by calculating si=f(xi)modq and sharing it with the corresponding participants Pi (i=1,2,...n).

4. A publicly verifiable multi-secret redistribution method based on recursive equations according to claim 1, Features: In the secret reconstruction, when t or more than t participants cooperate to recover the secret, each participant broadcasts his share to other participants, and the secret S=f(0) can be reconstructed by calculation according to the Lagrange interpolation method.

5. A publicly verifiable multi-secret redistribution method based on recursive equations according to claim 4, Features: The Lagrange interpolation method is:

6. A publicly verifiable multi-secret redistribution method based on recursive equations according to claim 1, Features: In the nonhomogeneous linear recursive equation, let t be a positive integer, c 0 ,c 1 …,c t-1 ,a 1 ,a 2 ,…,a t is a set of constants, f(i) is the equation value, and a recursive sequence (ui) can be defined by a t-order nonhomogeneous linear recursive equation as shown in the following equation: set up is the domain, Consider the typical distribution h(x) / (1-ax) m , The degree of h(x) is less than m, then where u i =p(i)α i , p(i) can be expressed in the form A 0 +A 1 i+…+A m-1 i m-1 .

Citation Information

Patent Citations

  • Multi-secret sharing method for user to select sub-secrets by himself

    CN117240458A

  • Cryptographic system

    US20060280300A1