Method for sharing and reconstructing multi-compartment based threshold secret
The multi-compartment-based threshold secret sharing method addresses limitations of existing methods by using Lagrangian interpolation and unidirectional relationships to create flexible, secure, and efficient hierarchical systems with arbitrary access structures.
Patent Information
- Application Number
- JP2023071651
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-07
- Filing Date
- 2023-04-25
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-04-25
AI Technical Summary
Existing threshold secret sharing methods, such as Shamir's and Blakely's, have limitations in creating multiple compartments at one level and implementing arbitrary access structures, and require complex Birkhoff interpolation.
A multi-compartment-based threshold secret sharing method using Lagrangian interpolation with unidirectional relationships between compartments, allowing for the generation and recovery of encrypted secret values using external shares and polynomials.
Enables configuration of hierarchical secret sharing systems with arbitrary access structures and simplified polynomial-based recovery, enhancing security and flexibility in secret sharing scenarios.
Smart Images

Figure 2024149312000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for sharing and recovering a threshold secret based on a multi-compartment, and more particularly to a method for generating shares and recovering a secret in a system configured with multiple compartments. [Background technology]
[0002] (t, n) Threshold Secret Sharing (TSS) is a method for creating n shares of a secret S, and then reconstructing secret S using any t number of the n shares.
[0003] Representative threshold secret sharing methods include Shamir's secret sharing method, which uses a polynomial, and Blakely's secret sharing method, which uses geometric properties. For example, in Shamir's secret sharing method, which uses a polynomial, the constant term of the polynomial is determined as the secret S, and n points that pass through the polynomial are determined as shares, and then the polynomial is restored using t points to restore the secret S. When such a secret sharing method is used, the shares are stored in distributed locations, which not only increases the secrecy of the secret S, but also reduces the risk of losing the secret.
[0004] A secret sharing system can also be constructed by partitioning participants into multiple levels, known as hierarchical or multilevel secret sharing, in which higher level shares are treated as more powerful than lower level shares, which is useful for controlling access to the secret in various scenarios.
[0005] In the conjunctive hierarchical secret sharing proposed by Tassa, shares from a higher level are always required to recover a secret at a lower level. For example, a secret can be recovered with the shares of two vice presidents, but not with the shares of three employees. However, if one vice president's share is added to the shares of three employees, the secret can be recovered. For such conjunctive hierarchical secret sharing, Tassa uses polynomial derivatives, which have several limitations. First, since the shares at each level are generated from one derivative, only one compartment can be created at one level. Second, only conjunctive secret recovery is possible, and arbitrary secret recovery conditions cannot be specified. Third, since derivatives are used, Birkhoff interpolation is required, which is more complex and difficult to implement than Lagrange interpolation used in polynomial-based secret sharing. Summary of the Invention [Problem to be solved by the invention]
[0006] A multi-compartment based threshold secret sharing and recovery method according to various embodiments of the present invention may create multiple compartments at one level and may implement any access structure including logical AND.
[0007] A multi-compartment based threshold secret sharing and recovery method according to various embodiments of the present invention may apply Lagrangian interpolation using polynomials. [Means for solving the problem]
[0008] According to various embodiments of the present invention, a method for sharing a multi-compartment based threshold secret when at least one second compartment is unidirectionally associated toward a first compartment may include an operation of generating an encrypted secret value using an external share that does not belong to the first compartment but belongs to at least one second compartment, an operation of generating a first polynomial defining the first compartment using the encrypted secret value, and an operation of generating an internal share of the first compartment using the first polynomial, when at least one second compartment is unidirectionally associated toward a first compartment.
[0009] According to various embodiments of the present invention, a method for recovering a multi-compartment based threshold secret when at least one second compartment is unidirectionally associated with the first compartment may include an operation of recovering a first polynomial defining the first compartment using an internal share belonging to the first compartment, an operation of obtaining an encrypted secret value using the recovered first polynomial and an external share belonging to at least one second compartment, and an operation of decrypting the encrypted secret value using the external share, when at least one second compartment is unidirectionally associated with the first compartment.
[0010] According to various embodiments of the present invention, a method for sharing a multi-compartment based threshold secret may include an operation of creating or extending a second compartment unidirectionally associated with the first compartment when a share related to the first compartment exists, an operation of generating a first polynomial defining the first compartment using an internal share belonging to the first compartment and an encrypted secret value, and an operation of further generating an internal share belonging to the first compartment using the first polynomial. Effect of the Invention
[0011] Multi-compartment based threshold secret sharing and recovery methods according to various embodiments of the present invention may implement various hierarchical secret sharing systems.
[0012] Multi-compartment based threshold secret sharing and recovery methods according to various embodiments of the present invention may define any access structure.
[0013] Advantageously, the multi-compartment based threshold secret sharing and recovery methods according to various embodiments of the present invention may use Lagrange interpolation based on polynomials. [Brief description of the drawings]
[0014] [Figure 1] 1 is a diagram showing some components for implementing a threshold secret sharing environment 100 according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram illustrating some components of an electronic device 200 according to an embodiment of the present invention. [Diagram 3] 1 illustrates a directed graph that may implement any access structure according to various embodiments. [Figure 4] 1 is a flow chart illustrating a method for generating an internal share of a first compartment for multi-compartment based secret sharing, according to various embodiments. [Figure 5a] 1 is a flow chart illustrating a method for generating an inner share of a first compartment for multi-compartment based secret sharing using polynomial interpolation, according to various embodiments. [Figure 5b] 1 is a flow chart illustrating a method for generating an inner share of a first compartment for multi-compartment based secret sharing using polynomial interpolation, according to various embodiments. [Figure 6a] 4 is a flow chart illustrating a method for generating an inner share of a first compartment for multi-compartment based secret sharing using polynomial coefficients, according to various embodiments. [Figure 6b] 4 is a flow chart illustrating a method for generating an inner share of a first compartment for multi-compartment based secret sharing using polynomial coefficients, according to various embodiments. [Figure 7] 11 is a diagram illustrating an example of generating an internal share for a first compartment for multi-compartment based secret sharing according to various embodiments, showing a state before the internal share for the first compartment is generated. [Figure 8] 1 is a flow chart illustrating a multi-compartment based secret recovery method according to various embodiments. [Figure 9] 1 is a flow chart illustrating a multi-compartment based secret recovery method using polynomial interpolation according to various embodiments. [Figure 10] 4 is a flow chart illustrating a multi-compartment based secret recovery method using polynomial coefficients according to various embodiments. [Figure 11] FIG. 8 is a diagram showing an embodiment of using an internal share of a first compartment for multi-compartment based secret recovery according to various embodiments, in relation to FIG. 7, showing the state after the internal share of the first compartment has been generated. [Figure 12] 1 is a flow chart illustrating a method for adding an external share required for secret recovery to a first compartment for multi-compartment based secret sharing, according to various embodiments. [Figure 13] 12 is a diagram showing an embodiment of adding a new outer share set ri(m+1) to Ri in the state of FIG. 11 where inner shares for the first compartment have already been allocated for multi-compartment based secret sharing according to various embodiments. [Figure 14] 1A-1D are example diagrams illustrating various hierarchical secret sharing systems, according to various embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] The present invention can be modified in various ways and may have various embodiments, and a specific embodiment will be described in detail with reference to the drawings. However, this is not intended to limit the present invention to the specific embodiment, and it should be understood that the present invention includes all modifications, equivalents, and alternatives within the spirit and technical scope of the present invention. In describing each drawing, similar reference numerals are used for similar components.
[0016] Terms such as first, second, A, B, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only to distinguish one component from another. For example, a first component may be named as a second component, and similarly, a second component may be named as a first component, without departing from the scope of the invention. The term "and / or" includes a combination of a plurality of such listed items or any of a plurality of such listed items.
[0017] When a component is referred to as being "coupled" or "connected" to another component, it should be understood that the component may be directly coupled or connected to the other component, but that there may be other components in between. On the other hand, when a component is referred to as being "directly coupled" or "directly connected" to another component, it should be understood that there are no other components in between.
[0018] The terms used in this application are merely used to describe specific embodiments and are not intended to limit the present invention. A singular expression includes a plural expression unless otherwise clearly intended in the context. In this application, the terms "include" or "have" are intended to specify the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, and should be understood not to preclude the presence or additional possibility of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0019] Unless otherwise defined, all terms used herein, including technical and scientific terms, have the same meaning as commonly understood by a person of ordinary skill in the art to which the present invention pertains. Terms as defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning they have in the context of the relevant art, and should not be interpreted in an idealized or overly formal sense unless expressly defined in this application.
[0020] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0021] FIG. 1 is a diagram illustrating some components for implementing a threshold secret sharing environment 100 according to an embodiment of the present invention.
[0022] Referring to FIG. 1, a threshold secret sharing environment 100 assumes that multiple electronic devices 110, 120, 130 are linked, either wired or wirelessly, through a network 150 over which secrets can be shared or recovered.
[0023] FIG. 1 is an example for explaining the invention, and the number of electronic devices is not limited to that shown in FIG. 1. The threshold secret sharing environment 100 in FIG. 1 is merely for explaining one example of an environment applicable to this embodiment, and the environment applicable to this embodiment is not limited to the threshold secret sharing environment 100 in FIG. 1.
[0024] According to various embodiments, the user terminal devices 110, 120, 130 may be fixed electronic devices embodied as computers or mobile electronic devices. The user terminal devices 110, 120, 130 may be, for example, smart phones, mobile phones, navigation devices, computers, notebook computers, digital broadcasting terminals, PDAs (Personal Digital Assistants), PMPs (Portable Multimedia Players), tablet PCs, etc.
[0025] As an example, FIG. 1 illustrates the first electronic device 110 in the form of a smartphone, but in various embodiments of the present invention, the first electronic device 110 may represent one of a variety of physical computing devices capable of communicating with other electronic devices 120, 130 via network 150 using substantially wireless or wired communication methods.
[0026] An apparatus implementing the method for sharing and recovering a multi-compartment based threshold secret according to an embodiment of the present invention may be one of a plurality of user terminal devices 110, 120, 130. For example, a first electronic device 110 may generate a threshold secret sharing based share, and a second electronic device 120 and a third electronic device 130 may participate in the threshold secret sharing and receive a share from the first electronic device 110.
[0027] The communication method of the network 150 is not limited, and may include not only a communication method utilizing a communication network (for example, a mobile communication network, a wired Internet, a wireless Internet, or a broadcasting network) that the network 150 may include, but also short-range wireless communication between devices. For example, the network 150 may include any one or more of a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), a broadband network (BBN), the Internet, and the like.
[0028] 2 is a block diagram showing some components of an electronic device 200 according to an embodiment of the present invention. Each of the multiple user terminal devices 110, 120, and 130 described above may be embodied by the electronic device 200 shown in FIG. 2, and the method for sharing and recovering a multi-compartment based threshold secret according to an embodiment of the present invention may be embodied by such electronic device 200.
[0029] Referring to FIG. 2, an electronic device 200 may include a storage unit 210, a processor 220, a communication unit 230, an input / output interface 240, and a sensor unit 250, as shown in FIG.
[0030] The storage unit 210 is a computer-readable recording medium and may include a random access memory (RAM), a read only memory (ROM), and a permanent mass storage device such as a disk drive. Here, the ROM and the non-perishable mass storage device such as a disk drive may be a separate permanent storage device separate from the storage unit 210 and may be included in the electronic device 200.
[0031] In addition, the storage unit 210 may store an operating system and at least one program code. Such software components may be loaded into the storage unit 210 from a computer-readable recording medium separate from the storage unit 210. Such separate computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD / CD-ROM drive, a memory card, etc. In another embodiment, the software components may be loaded into the storage unit 210 via the communication unit 230, which is not a computer-readable recording medium. For example, the software components may be loaded into the storage unit 210 of the electronic device 200 based on a computer program installed by a file received via the network 150.
[0032] According to various embodiments, the storage unit 210 may store a password or biometric information designated by a user.
[0033] Processor 220 is the component that controls the overall operation of electronic device 200 and may be configured to process computer program instructions by performing basic arithmetic, logic, and input / output operations. The instructions may be provided to processor 220 by storage 210 or communication 230. For example, processor 220 may be configured to execute instructions received by program code stored in a recording device, such as storage 210.
[0034] Processor 220 may be configured, for example, when at least one second compartment is unidirectionally associated toward the first compartment, to generate an encrypted secret value using an external share that does not belong to the first compartment but belongs to the at least one second compartment, to generate a first polynomial defining the first compartment using the encrypted secret value, and to generate an internal share of the first compartment using the first polynomial.
[0035] The processor 220 may be configured, for example, when at least one second compartment is unidirectionally associated toward the first compartment, to generate a first polynomial defining the first compartment at least in part using an internal share belonging to the first compartment, to obtain an encrypted secret value using the generated first polynomial and an external share not belonging to the first compartment but belonging to at least one second compartment, and to recover the secret using the encrypted secret value.
[0036] Processor 220 may be configured, for example, to generate or extend a second compartment unidirectionally related to the first compartment when there is a share for the first compartment and a first encrypted secret value utilizing the share for the first compartment, generate a second encrypted secret value utilizing the outer share belonging to the second compartment, generate a first polynomial defining the first compartment utilizing the first encrypted secret value and the second encrypted secret value, and further generate an inner share belonging to the first compartment utilizing the first polynomial.
[0037] The communication unit 230 may provide a function for communicating with other devices (for example, the storage device described above) via the network 150. For example, requests, commands, data, files, etc. generated by the processor 220 of the electronic device 200 based on program codes stored in a recording device such as the storage unit 210 may be transmitted to other devices via the network 150 under the control of the communication unit 230.
[0038] Conversely, signals, commands, data, files, etc. from other devices may be received by the electronic device 200 via the communication unit 230 over the network 150. The signals, commands, data, etc. received via the communication unit 230 may be transmitted to the processor 220 or the storage unit 210, and the files, etc. may be stored in a storage medium (the above-mentioned permanent storage device) that the electronic device 200 may further include.
[0039] The input / output interface 240 may be a means for interfacing with the input / output device 260. For example, the input device may include a device such as a microphone, a keyboard, or a mouse, and the output device may include a device such as a display and a speaker. As another example, the input / output interface 240 may be a means for interfacing with a device that integrates functions for input and output into one, such as a touch screen.
[0040] The sensor module 250 can sense an operating state (e.g., power or temperature) of the electronic device 200 or an external environmental state (e.g., a user state) and generate an electrical signal or data value corresponding to the sensed state. According to one embodiment, the sensor module 250 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0041] Also, in other embodiments, electronic device 200 may include fewer or more components than those of FIG. 2. However, it is not necessary to explicitly illustrate most conventional technical components. For example, electronic device 200 may be embodied to include at least a portion of input / output device 250 described above, or may further include other components such as a transceiver, a database, etc. FIG. 3 is a diagram illustrating a directed graph that can implement any access structure according to various embodiments.
[0042] The nodes indicate compartments that are composed of participants, and the arrows indicate the condition that a share from an external compartment is required to restore a secret in the compartment. For example, referring to FIG. 3, it may mean that shares from compartments C1 and C2 are required to restore a secret in compartment C4. Compartment C1 without an arrow coming from an external compartment means that a share from an external compartment is not required to restore the secret. When a share from an external compartment is not required to restore a secret, as in compartment C1, the internal share of compartment C1 can be generated using the conventional Shamir method or the like as is.
[0043] According to various embodiments of the present invention, an access structure may be defined for each compartment. For example, i belongs to i A group of participants i ={U (i、1) , U (i、2) , ..., U (i、ni)}, then compartment C i In this case, U i belongs to i The secret S can be recovered using the shares of all internal share holders and all external share holders belonging to other compartments.
[0044] Compartment C, according to various embodiments of the present invention i The set of owners of external shares required to recover the secret is r i(·) Such a set can be expressed as m i If there are, R i ={r i(1) , r i(2) , ...r i(mi)} can also be expressed as R i Compartment C i t iThis may mean that the secret can be recovered together with the owners of the inside shares of the
[0045] Compartment C, according to various embodiments of the present invention i The set of inside share owners and outside share owners who can recover the secret in may be defined as an access set. Let us define the collection of access sets as compartment C. i Access structure A i For example, compartment C i Access structure A i is the set of owners of the inside shares U i Power set 2 Ui and R defined by the owners of the outside shares i and access structure A is defined in i may be defined as follows:
[0046]
number
[0047] In the multi-compartment based threshold secret sharing and recovery method according to various embodiments of the present invention, an arbitrary set of owners of external shares may be included in the access structure. A logical conjunction may of course specify various secret recovery conditions. However, in the access structure of the present invention, external shares cannot be substituted for internal shares. This is different from the logical conjunction based hierarchical secret sharing technique, in which higher hierarchical shares can be substituted for lower hierarchical shares.
[0048] The basic idea of this invention is iThe trick is to encrypt the secret using the outer share, generate a polynomial with the encrypted secret value inserted, and generate the inner share. It is possible to restore the polynomial using the inner share, but what is obtained is an encrypted secret, and in order to decrypt it, the outer share used for encryption is required.
[0049] There are various encryption methods that may be used in the present invention, but the security of the secret can be guaranteed by using an encryption method that preserves sufficient entropy and is resistant to a ciphertext-only attack (COA). In general, in a secret sharing method using a polynomial, the security of the secret is guaranteed by using a randomly generated polynomial. In contrast, in the present invention, since a polynomial is derived from an encrypted secret value, the security of the secret cannot be guaranteed unless the encrypted secret value has sufficient entropy. In addition, since the encrypted secret value is found after restoring the polynomial with the internal shares, the encryption algorithm must be resistant to a ciphertext-only attack (COA). Otherwise, there is a possibility that the secret can be found even with only the internal shares.
[0050] According to various embodiments, compartment C i The collection of owners of external shares of R i ={r i(1) , r i(2) , ...r i(mi)}, let K be the set of encryption keys obtained from i ={K i(1) , K i(2) , ... K i(mi) Each r i(k) Encryption key K from external share i(k) It is assumed that the method for determining is known in advance.
[0051] In the following description, compartment C i Participants belonging to U (i、j) The share allocated to V (i、j) Suppose that the set of such shares is V i ={V (i、1) , V (i、2) , ..., V (i、ni)} may also be used.
[0052] FIG. 4 is a flow diagram illustrating a method for generating an internal share of a first compartment for multi-compartment based secret sharing, according to various embodiments.
[0053] Referring to FIG. 4, in operation 410, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) can generate an encrypted secret value using an external share that does not belong to the first compartment but belongs to at least one second compartment when the at least one second compartment is unidirectionally associated toward the first compartment.
[0054] In various embodiments, the secret sharing system may have compartments with unidirectional directed or associative relationships.
[0055] 3, for example, if compartment C4 is a first compartment, then compartments C1 and C2 may be second compartments and unidirectionally associated with the first compartment, or, as another example, if compartment C2 is a first compartment, then compartment C1 may be a second compartment and unidirectionally associated with the first compartment.
[0056] In various embodiments, the electronic device can generate an encrypted secret value using an external share that does not belong to the first compartment but belongs to at least one second compartment. For example, if compartment C4 is a first compartment and compartments C1 and C2 are second compartments, {U (1、1) , U (1、2) , ...} and / or {U (2、1) , U (2、2) , ...} to generate an encrypted secret value. As another example, if compartment C2 is a first compartment and compartment C1 is a second compartment, then {U (1、1) , U (1、2) , ...} can be used to generate an encrypted secret value.
[0057] In operation 420, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may generate a first polynomial that defines a first compartment using the encrypted secret value.
[0058] According to various embodiments, the electronic device may generate at least one coordinate obtained by encrypting a secret value using an encrypted secret value, and generate a first polynomial passing through the coordinate obtained by encrypting the secret value. For example, the electronic device may generate a polynomial having m points (n+1, E(K i(1) , S)), (n+2, E(K i(2) , S)), ...(n+m, E(K i(m) , S), and pass through the m generated points and select a randomly selected coefficient a t-1 , a t-2 , ..., a m f i (x)=a t-1 x t-1 +a t-2 x t-2+...a m-1 x m-1 +a m-2 x m-2 +...a0 can be generated.
[0059] According to various embodiments, the electronic device may generate at least one coefficient by encrypting the secret value using the encrypted secret value, and generate a first polynomial using the coefficient by encrypting the secret value. For example, the electronic device may generate m coefficients a, b, c, and e by encrypting a secret S using an encryption algorithm E(key, plaintext). m-1 =E(K i(m) ,S),a m-2 =E(K i(m-1) , S), ..., a0 = E(K i(1) , S), and compare the generated coefficients with the randomly selected coefficients a t-1 , a t-2 , ..., a m With the (t-1)th f i (x)=a t-1 x t-1 +a t-2 x t-2 +...a m-1 x m-1 +a m-2 x m-2 +...a0 can be generated.
[0060] In operation 430, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may utilize a first polynomial to generate an internal share for a first compartment.
[0061] Referring to FIG. 3, for example, if the compartment C4 is the first compartment, and the compartments C1 and C2 are the second compartments, the electronic device can use the first polynomial to find the {U (4、1) , U (4、2)As another example, if the compartment C2 is a first compartment and the compartment C1 is a second compartment, the electronic device may generate {U (2、1) , U (2、2) , ...} can be generated.
[0062] 5a-5b are flow charts illustrating methods for generating inner shares of a first compartment for multi-compartment based secret sharing using polynomial interpolation, according to various embodiments.
[0063] 5a-5b, secrets S and R i Given, R i From K i After first finding (t i , n i ) n for secret sharing i The process of generating internal shares will be described below. For the sake of convenience, i , n i , m i Subscripts such as these are omitted and are represented by t, n, m, etc.
[0064] In operation 510, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) receives secrets S and R i may be utilized to generate an encrypted secret value that is based on the coordinates.
[0065] For example, in FIG. 5b, the electronic device selects t and n such that n≧t≧m, and then encrypts secret S using an encryption algorithm E(key, plaintext) to generate m points (n+1, E(K i(1) , S)), (n+2, E(K i(2) , S)), ...(n+m, E(K i(m) , S) can be generated.
[0066] In operation 520, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may generate a polynomial that defines a compartment utilizing the generated encrypted secret value.
[0067] For example, the electronic device may pass through the generated m points and apply a randomly selected coefficient a t-1 , a t-2 , ..., a m f i (x)=a t-1 x t-1 +a t-2 x t-2 +...a m-1 x m-1 +a m-2 x m-2 +...a0 can be generated.
[0068] In operation 530, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) can generate an internal share utilizing a polynomial that defines the compartment.
[0069] For example, the electronic device may calculate the polynomial f i (x) passes through the point (1, f i (1)), (2, f i (2)), ...(n, f i (n)) to n internal shares V (i、1) =f i (1), V (i、2) =f i (2), ...V (i、n) =f i (n) and compartment C i Participants U (i、1) , U (i、2) , ..., U (i、ni) may be assigned to
[0070] 6a-6b are flow charts illustrating methods for generating inner shares of a first compartment for multi-compartment based secret sharing using polynomial coefficients, according to various embodiments.
[0071] Referring to FIG. 6a-6b, secrets S and R i Given, R i From K i After first finding (t i , n i ) n for secret sharing i The process of generating internal shares will be described below. For the sake of convenience, i , n i , m i Subscripts such as these are omitted and are represented by t, n, m, etc.
[0072] In operation 610, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) receives secrets S and R i may be utilized to generate an encrypted secret value based on the coefficients.
[0073] For example, the electronic device may select t and n such that n≧t≧m, and then encrypt the secret S using an encryption algorithm E(key, plaintext) to generate m coefficients a m-1 =E(K i(m) ,S),a m-2 =E(K i(m-1) , S), ..., a0 = E(K i(1) , S).
[0074] In operation 620, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may generate a polynomial that defines a compartment utilizing the generated encrypted secret value.
[0075] For example, the electronic device may compare the generated coefficients with the randomly selected coefficients a t-1 , a t-2 , ..., a m With the (t-1)th f i (x)=a t-1 x t-1 +a t-2 xt-2 +...a m-1 x m-1 +a m-2 x m-2 +...a0 can be generated.
[0076] In operation 630, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) can generate an internal share utilizing a polynomial that defines the compartment.
[0077] For example, the electronic device may calculate the polynomial f i (x) passes through the point (1, f i (1)), (2, f i (2)), ...(n, f i (n)) to n internal shares V (i、1) =f i (1), V (i、2) =f i (2), ...V (i、n) =f i (n) and compartment C i Participants U (i、1) , U (i、2) , ..., U (i、ni) may be assigned to
[0078] FIG. 7 illustrates an example of generating an internal share for a first compartment for multi-compartment based secret sharing according to various embodiments, showing a state before the internal share for the first compartment is generated.
[0079] In FIG. 7, a finite field F q This shows an example of applying the secret sharing method described above. q is defined as the remainder when divided by q, and for convenience of calculation, we assume that the value of q is a prime number 19. This gives the secret S used for secret sharing, and the coefficient a i , coordinate values and shares are all F 19 is defined as:
[0080] Referring to Figure 7, we show a secret sharing system consisting of three compartments. Compartment C1 has two internal shares V1 = {V (1、1) , V (1、2)}, compartment C2 has four internal shares V2 = {V (2、1) , V (2、2) , V (2、3) , V (2、4)} has already been assigned. Compartment C3 has not yet been assigned an internal share. Suppose t3=2 and n3=3 in compartment C3, and two or more internal shares and an external share {V (1、2) , V (2、4)}, three internal shares can be generated such that secret S can be recovered.
[0081] Let S = 8, and the set of external shares required for secret recovery is {V (1、2) , V (2、4)}, the key K obtained by 1(1) When the secret is encrypted with E(K 1(1) , S)=E(K 1(1) , 8) = 7.
[0082] Example 1: A method for generating an inner share of a first compartment for multi-compartment based secret sharing using polynomial interpolation In FIG. 7, m3=1 and n3=3, so according to various embodiments, the electronic device encrypts secret S using encryption algorithm E() to generate a point (n 3+1 , E(K 1(1) , S), i.e., (4, 7) can be generated first. Since t3=2, the electronic device can generate a first-order polynomial f3(x)=a1x+a0=3x+14 with a randomly selected coefficient a1=3 while passing through the generated point (4, 7). Since n3=3, the electronic device can generate three internal shares V from three points (1, f3(1)), (2, f3(2)), and (3, f3(3)) that pass through the polynomial f3(x). (3、1) =f3(1)=17, V (3、2)=f3(2)=1, V (3、3) =f3(3)=4 can be generated.
[0083] Example 2: Method for generating inner shares of a first compartment for multi-compartment based secret sharing using polynomial coefficients In FIG. 7, m3=1 and n3=3, so according to various embodiments, the electronic device encrypts the secret S using the encryption algorithm E( ) to generate one coefficient a0=E(K 1(1) , S), i.e., a0=7, may be determined in advance. Since t3=2, the electronic device may generate a first-order polynomial f3(x)=a1x+a0=3x+7 with a randomly selected remaining coefficient a1=3. Since n3=3, the electronic device may determine three internal shares V from three points (1, f3(1)), (2, f3(2)), and (3, f3(3)) that pass through the polynomial f3(x). (3、1) =f3(1)=10, V (3、2) =f3(2)=13, V (3、3) =f3(3)=16 can be generated.
[0084] The access structure A3 of compartment C3 in the secret sharing system of Figure 7 is {{U (3、1) , U (3、2) , U (1、2) , U (2、4)}, {U (3、1) , U (3、3) , U (1、2) , U (2、4)}, {U (3、2) , U (3、3) , U (1、2) , U (2、4)}, {U (3、1) , U (3、2) , U (3、3) , U (1、2) , U (2、4)}}.
[0085] FIG. 8 is a flow chart illustrating a multi-compartment based secret recovery method according to various embodiments.
[0086] Referring to FIG. 8, in operation 810, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) can recover a first polynomial defining a first compartment using an internal share belonging to the first compartment when at least one second compartment is unidirectionally associated toward the first compartment.
[0087] In various embodiments, the secret sharing system may have compartments with unidirectional directed or associative relationships.
[0088] 3, for example, if compartment C4 is a first compartment (assuming there is no internal share), compartments C1 and C2 will be second compartments and may be unidirectionally associated with the first compartment, and as another example, if compartment C2 is a first compartment (assuming there is no internal share), compartment C1 will be a second compartment and may be unidirectionally associated with the first compartment.
[0089] According to various embodiments, the electronic device can recover a first polynomial that defines a first compartment by at least partially utilizing the internal shares that belong to the first compartment. For example, if the compartment C4 is a first compartment and the compartments C1 and C2 are second compartments, {U (4、1) , U (4、2) , ...} can be used to recover the first polynomial that defines compartment C4. As another example, if compartment C2 is the first compartment and compartment C1 is the second compartment, the first polynomial that defines compartment C4 can be recovered by using at least a portion of {U (2、1) , U (2、2) , ...} can be utilized to recover the first polynomial that defines compartment C2.
[0090] According to various embodiments, the electronic device can use t internal shares to reconstruct a (t-1)th order polynomial. For example, the electronic device can apply Lagrange interpolation to reconstruct the polynomial f i (x) can be restored.
[0091] In operation 820, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may obtain an encrypted secret value using the recovered first polynomial and the external share belonging to the at least one second compartment.
[0092] According to various embodiments, the electronic device may further include a filter for the generated polynomial f i The secret value E(K i For example, the electronic device may obtain E(K i(k) , S)=f i Using the fact that (n+k) i (n+k) may be calculated to obtain the encrypted secret value.
[0093] In operation 830, the electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may decrypt the encrypted secret value using the external share.
[0094] According to various embodiments, the electronic device may include i (k) to the key K needed for decryption i (k) and use a decryption algorithm D(key, ciphertext) to recover the secret S. For example, if the coordinates contain an encrypted secret S encoded in them, the electronic device can find S=D(K i(k) , E(K i(k) , S)) to recover the secret S. As another example, if the encrypted secret S is encoded in the polynomial coefficients, the electronic device can recover the secret S by using E(K i (k), S)=a k-1 Using this fact, S=D(K i(k) , E(Ki(k) , S) can recover secret S.
[0095] FIG. 9 is a flow chart illustrating a multi-compartment based secret recovery method using polynomial interpolation according to various embodiments.
[0096] In operation 910, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) can recover a first polynomial that defines the first compartment using the internal shares belonging to the first compartment.
[0097] For example, the electronic device may be a set of external shareholder r i Access set α ∈ A that contains (k) i Using the t internal shares belonging to the access set α, we obtain a (t-1) degree polynomial f i (x)=a t-1 x t-1 +a t-2 x t-2 +...a m-1 x m-1 +a m-2 x m-2 +...a0 can be restored.
[0098] In operation 920, the electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may obtain an encrypted secret value based on the coordinates using the external share belonging to the second compartment.
[0099] For example, the electronic device may convert the restored polynomial f i The secret value E(K i The electronic device may obtain E(K i (k), S)=f i Using the fact that (n+k) i You can also calculate (n+k).
[0100] In operation 930, the electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may decrypt the encrypted secret value using the external share.
[0101] For example, the electronic device shown in FIG. i (k) to the key K needed for decryption i (k) and use the decryption algorithm D(key, ciphertext) to recover the secret S. The electronic device can calculate S=D(K i (k), E(K i (k), S) can be used to recover secret S.
[0102] FIG. 10 is a flow chart illustrating a method for recovering secrets based on multiple compartments using polynomial coefficients according to various embodiments.
[0103] In operation 1010, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) can recover a first polynomial that defines the first compartment using the internal shares belonging to the first compartment.
[0104] For example, the electronic device may be a set of external shareholder r i Access set α ∈ A that contains (k) i Using the t internal shares belonging to the access set α, we obtain a (t-1) degree polynomial f i (x)=a t-1 x t-1 +a t-2 x t-2 +...a m-1 x m-1 +a m-2 x m-2 +...a0 can be restored.
[0105] In operation 1020, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may obtain an encrypted secret value based on the coefficient using the external share belonging to the second compartment.
[0106] For example, the electronic device may convert the restored polynomial f i The secret value E(K i The electronic device may obtain E(K i (k), S)=f i Using the fact that (n+k) i You can also calculate (n+k).
[0107] In operation 1030, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may decrypt the encrypted secret value using the external share.
[0108] For example, the electronic device shown in FIG. i (k) to the key K needed for decryption i (k) and use the decryption algorithm D(key, ciphertext) to recover the secret S. i (k), S)=a k-1 And S = D(K i (k), E(K i (k), S) can be used to recover secret S.
[0109] FIG. 11 is a diagram showing an embodiment of using an internal share of a first compartment for multi-compartment based secret recovery according to various embodiments, and shows the state after the internal share of the first compartment has been generated in relation to FIG. 7.
[0110] (Example 1) A method for recovering secrets based on multi-compartments using polynomial interpolation According to various embodiments, the electronic device has two internal shares V (3、2) , V (3、3) and one external share set {V (1、2) , V (2、4)} can be used to recover the secret. The electronic device uses two internal shares V (3、2) = 1, V(3、3) = 4, we can use Lagrange interpolation to generate the polynomial f3(x) = 3x + 14. The encrypted secret is 3+1 , E(K1(1),S)). Since n3=3, the electronic device may obtain E(K1(1),S)=f3(4)=7. In addition, the electronic device may use the fact that S=D(K1(1),E(K1(1),S)) to obtain the external share set {V (1、2) , V (2、4)}, we may calculate K1(1) from S=D(K1(1), 7)=8.
[0111] (Example 2) Multi-compartment based secret recovery method using polynomial coefficients According to various embodiments, the electronic device has two internal shares V (3、2) , V (3、3) and one external share set {V (1、2) , V (2、4)} can be used to recover the secret. The electronic device uses two internal shares V (3、2) = 13, V (3、3) = 16 to generate the polynomial f3(x) = 3x + 7 by Lagrange interpolation. Considering that the encrypted secret is coefficient a0, the electronic device may determine that E(K1(1), S) = a0 = 7. The electronic device may also use the fact that S = D(K1(1), E(K1(1), S)) to determine the external share set {V (1、1) , V (2、4)}, we may calculate K1(1) to obtain S = D(K1(1), 7) = 8.
[0112] FIG. 12 is a flow diagram illustrating a method for adding an external share required for secret recovery to a first compartment for multi-compartment based secret sharing, according to various embodiments.
[0113] In FIG. 12, compartment C i With internal shares already allocated for R i A new external share set r i(m+1) This shows how to add ri(m+1) The key obtained from i(m+1) Assume that.
[0114] When a new set of external shares is added, the number of internal shares n, the critical value t, and the polynomial f i (x) may be changed. For example, if the number of internal shares after the change is n* and the threshold value is t*, then any n* and t* may be selected such that n*≧t*≧n+m+1.
[0115] In Figure 12, we assume that n* and t* are selected first, and the newly generated polynomial after the change is f i *May be indicated by (x).
[0116] Referring to FIG. 12, in operation 1210, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may create or extend a second compartment that is unidirectionally related to the first compartment if a share exists for the first compartment.
[0117] In various embodiments, the second compartment is a new external share set r i It may be defined in the compartment containing (m+1).
[0118] According to various embodiments, the first compartment may include a share associated with the first compartment. The share associated with the first compartment may include, for example, all of the internal shares belonging to the first compartment and the external shares not belonging to the first compartment. For example, the first compartment may not have an external compartment related in one direction toward the first compartment. For example, if there is no external compartment associated with the first compartment, the share associated with the first compartment may be composed of only the internal shares belonging to the first compartment. In this case, the second compartment can be generated by adding a new external share required to restore the secret in the first compartment. As another example, if there is an external compartment associated with the first compartment, the share associated with the first compartment may be composed of the internal shares belonging to the first compartment and the external shares not belonging to the first compartment. In this case, the second compartment may be expanded by adding a new external share required to restore the secret in the first compartment.
[0119] In operation 1220, an electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may generate an encrypted secret value using the external share belonging to the second compartment.
[0120] For example, the electronic device may generate a value E(K i (m+1), S).
[0121] In operation 1230, an electronic device (e.g., electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may generate a first polynomial that defines the first compartment using the internal shares belonging to the first compartment and the encrypted secret value.
[0122] In the case where the encrypted values of secret S are used as the coordinates of the points, for example, the electronic device can store (m+1) points (n*+1,E(Ki(1),S)), (n*+2,E(Ki(2),S)), ... (n*+m,E(Ki(m),S)), (n*+m+1,E(Ki(m+1),S)) defined by (m+1) encrypted secret values, and n points (1,V (i、1) ), (2, V (i、2) ), ...(n, V (i、n) ) through the (t*-1)th degree polynomial f i *(x)=a t*-1 x t*-1 +a t*-2 x t*-2 +...a m x m +a m-1 x m-1 +a m-2 x m-2 +...a0. In this case, if t*>n+m+1, the (t*-nm-1) coefficients may be selected randomly.
[0123] In the case where the secret S is encrypted and used as a polynomial coefficient, for example, the electronic device has (m+1) coefficients defined by (m+1) encrypted secret values and n points (1, V) determined by the internal share of the first compartment. (i、1) ), (2, V (i、2) ), ...(n, V (i、n) ) through the (t*-1)th degree polynomial f i *(x)=a t*-1 x t*-1 +a t*-2 x t*-2 +...a m x m +a m-1 x m-1 +a m-2 x m-2 +...a0. In this case, if t*>n+m+1, the (t*-nm-1) coefficients may be selected randomly.
[0124] In operation 1240, the electronic device (eg, electronic device 110, 120, 130 of FIG. 1 or electronic device 200 of FIG. 2) may further generate an internal share belonging to the first compartment using the first polynomial.
[0125] For example, an electronic device may have a polynomial f i *Point (n+1, f) that passes through (x) i *(n+1)), (n+2, f i *(n+2)),...(n*,f i *(n*)) to (n*-n) shares V (i、n+1) =f i *(n+1), V (i、n+2) =f i *(n+2),...V (i、n*) =f i *(n*) can be further generated.
[0126] FIG. 13 illustrates an example of a multi-compartment based secret sharing scheme in accordance with various embodiments, where R is a shard in the state of FIG. 11 where the inner share for the first compartment has already been assigned. i A new external share set r i(m+1) 13 is a diagram showing an embodiment in which
[0127] According to the embodiment of Figure 13, an electronic device may add an external set of shares without affecting existing shares. This may be used when implementing a secret sharing system represented by a directed graph in which cycles exist.
[0128] 13, for convenience of explanation, it is assumed that R1=R1 for compartment C1, i.e., no external share is required to recover the secret. However, according to various embodiments, the electronic device may also utilize this embodiment when an external share R1 for compartment C1 exists.
[0129] In FIG. 13, the external share V (3、3) = 4 is required. That is, R1 = {{U(3、3)}} will be described.
[0130] Compartment C1 uses the randomly generated polynomial f1(x)=13x+12 to split two shares V1={V (1、1) , V (1、2)}, i.e., V (1、1) =6, V (1、2) = 0 may be assigned. Since m1 = 0, new t1* and n1* that satisfy n1* ≧ t1* ≧ n1 + m1 + 1 = 3 may be selected. For example, t1* = 3 and n1* = 4 may be newly selected.
[0131] (Example 1) External Share V (3、3) It is possible to generate a point (n*+1, E(K1(1), S)) whose coordinates are the encrypted value of secret S using encryption key K1(1) and encryption algorithm E( ), which may be calculated as follows. When E(K1(1), S)=13, the (t*-1)th degree polynomial f1*(x) that passes through the point (5, 13) thus generated and the two points (1, 6) and (2, 0) determined by the original share, i.e., f1*(x)=x 2 The electronic device can generate +10x+14 by finding the two internal shares V from the points (n1+1, f1*(n1+1)), (n+2, f1*(n+2)), i.e., (3, 15), (4, 13), that pass through the polynomial f1*(x). (1、3) =f1*(3)=15, V (1、4) =f1*(4)=13 can further be generated.
[0132] (Example 2) External Share V (3、3) The coefficient a0 = E(K1(1), S) may be determined by the encryption key K1(1) that may be calculated as follows, and the value obtained by encrypting the secret S using the encryption algorithm E( ). If a0 = E(K1(1, S) = 13, then the (t*-1)th degree polynomial f1*(x) = 10x that has the coefficient generated in this way and passes through two points (1, 6) and (2, 0) determined by the existing shares is 2+21x+13. The electronic device can generate two internal shares V from the points (n1+1, f1*(n1+1)), (n+2, f1*(n+2)), i.e., (3, 14), (4, 10), that pass through the polynomial f1*(x). (1、3) =f1*(3)=14, V (1、4) =f1*(4)=10 can further be generated.
[0133] FIG. 14 is an example diagram illustrating various hierarchical secret sharing systems, according to various embodiments.
[0134] The present invention is a generalization of Tassa-like AND-based hierarchical secret sharing methods, and provides three advantages.
[0135] First, one may construct various hierarchical secret sharing systems. In particular, it is possible to create multiple compartments at a level. Rewriting the secret sharing system of Figure 3, represented as a directed acyclic graph, using topological sorting, one can generate the hierarchical structure of Figure 14.
[0136] Referring to Figure 14, there may be several compartments in one level, and there is no limit to the number of levels. For reference, in Tassa's method using derivatives, there is only one compartment in one level, and the number of levels is also limited by the degree of the first polynomial.
[0137] Second, one may define an arbitrary access structure, which may be specified using arbitrary external shares as well as conjunctives as to the conditions under which a secret can be recovered in each compartment.
[0138] Third, the present invention is based on polynomials and may use Lagrange interpolation, which is less complicated and easier to implement than Birkhoff interpolation, which is required when using derivatives.
[0139] The features, structures, effects, etc. described in the above embodiments are included in at least one embodiment of the present invention, and are not necessarily limited to only one embodiment. Furthermore, the features, structures, effects, etc. exemplified in each embodiment can be combined or modified in other embodiments by a person having ordinary skill in the art to which the embodiment belongs. Therefore, the contents related to such combinations and modifications should be analyzed as being included in the scope of the present invention.
[0140] In addition, although the above description has been centered on the embodiment, this is merely illustrative and does not limit the present invention, and a person having ordinary skill in the art to which the present invention pertains will understand that various modifications and applications not exemplified above are possible within the scope of the essential characteristics of the present embodiment. For example, each component specifically illustrated in the embodiment may be modified and implemented. The differences related to such modifications and applications should be interpreted as being included in the scope of the present invention defined in the appended claims.
Claims
1. generating an encrypted secret value using an external share not belonging to the first compartment but belonging to the at least one second compartment when the at least one second compartment is unidirectionally related to the first compartment; utilizing the encrypted secret value to generate a first polynomial that defines the first compartment; and and generating an internal share for said first compartment utilizing said first polynomial.
2. The act of generating a first polynomial that defines the first compartment utilizing the encrypted secret value includes: generating at least one coordinate obtained by encrypting the secret value using the encrypted secret value; and 2. The method of claim 1, further comprising the act of generating the first polynomial through coordinates encrypted with the secret value.
3. 3. The method of claim 2, further comprising the step of: generating m points having coordinates obtained by encrypting the secret S using an encryption algorithm.
4. The act of generating a first polynomial that defines the first compartment utilizing the encrypted secret value includes: generating at least one coefficient by encrypting a secret value using the encrypted secret value; and 2. The method of claim 1, further comprising the steps of: generating the first polynomial using coefficients obtained by encrypting the secret value.
5. 5. The method of claim 4, further comprising the act of generating m coefficients by encrypting the secret S using an encryption algorithm.
6. 5. The method of claim 4, further comprising the act of allocating said internal shares to participants of said first compartment.
7. 2. The method of claim 1, wherein the at least one second compartment is configured in a higher hierarchy than the first compartment.
8. When at least one second compartment is unidirectionally related to the first compartment, recovering a first polynomial that defines the first compartment using an internal share that belongs to the first compartment; obtaining an encrypted secret value using the recovered first polynomial and an outer share belonging to the at least one second compartment; and and c) decrypting the secret using the encrypted secret value using the external share.
9. The operation of decrypting the secret using the encrypted secret value comprises:
9. The method of claim 8, further comprising recovering the encrypted secret S through the coordinates.
10. 10. The method of claim 9, further comprising recovering the secret S using a recovery algorithm.
11. The operation of decrypting the secret using the encrypted secret value comprises:
9. The method of claim 8, further comprising recovering the encrypted secret S through the coefficients.
12. 12. The method of claim 11, further comprising recovering the secret S using a decryption algorithm.
13. The operation of recovering a first polynomial defining the first compartment using the internal shares belonging to the first compartment includes:
9. The method of claim 8, further comprising the act of generating the first polynomial defining the first compartment based on Lagrangian interpolation.
14. 9. The method of claim 8, wherein the at least one second compartment is configured in a higher hierarchy than the first compartment.
15. creating or extending a second compartment unidirectionally associated with the first compartment if a share exists for the first compartment; generating an encrypted secret value using an external share belonging to the second compartment; generating a first polynomial that defines the first compartment using the internal share belonging to the first compartment and the encrypted secret value; and and generating further internal shares belonging to the first compartment utilizing the first polynomial.
Citation Information
Patent Citations
Key sharing apparatus
JP1997212089A
Secrecy reconstruction method, distributed secrecy reconstruction device, and secrecy reconstruction system
JP2004279526A
System, method and program for managing information
JP2008098894A
Key delivery management device, terminal device, key delivery system, and program
JP2016134826A
Dispersion information management system
WO2009020078A1
