Generate a shared key

By categorizing participants into target and dummy roles in secret sharing schemes, the method ensures only target participants can calculate the public key, enhancing privacy and efficiency in shared key generation and signature processes.

JP2024537102AInactive Publication Date: 2024-10-10NCHAIN LICENSING AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024520035
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-26
Filing Date
2022-09-26
Publication Date
2024-10-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing secret sharing schemes treat all participants equally, which can compromise privacy and efficiency, as participants who generate a share of the shared key can calculate the public key, allowing them to link operations to signatures.

Method used

Introduce a method where participants are categorized into target and dummy participants, with dummy participants generating shares without enough information to calculate the public key, reducing computational effort and enhancing privacy by limiting knowledge of the public key to target participants only.

Benefits of technology

This approach ensures that only target participants can calculate the public key, maintaining privacy and reducing computational overhead, while allowing efficient generation of shared keys and signatures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024537102000001_ABST
    Figure 2024537102000001_ABST
Patent Text Reader

Abstract

A computer-implemented method for generating a shared key having a threshold, wherein a group of participants includes a set of target participants and a set of dummy participants, each target participant is associated with a respective target index and each dummy participant is associated with a respective dummy index, the method including: each target participant evaluating a respective function at the respective target index of the target participant to generate a respective first result; each target participant evaluating a respective function at the respective target index of each other target participant to generate a respective second result; each target participant sending the respective second result to each other target participant that is not one of the dummy participants and obtaining the respective second result from each other target participant; each target participant generating a respective share of the shared key based on the respective first result and each of the obtained respective second results; each target participant evaluating the respective function at the respective dummy index of each of the respective dummy participants to generate a respective third result; each target participant sending the respective third result to the respective dummy participant; and each dummy participant generating a respective share of the shared key based on each of the obtained third results.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to methods for generating a shared key, such as a shared secret key or a shared ephemeral secret key. [Background technology]

[0002] Public key cryptography is a type of cryptosystem that uses a key pair: a private key known only to its owner, and a public key that is generated based on the corresponding private key and may be disseminated without compromising the security of the private key.

[0003] Public key cryptography allows a sender to encrypt a message using the recipient's public key (i.e., the public key that corresponds to a private key known only to the recipient), and the encrypted message can only be decrypted using the recipient's private key.

[0004] Similarly, a sender may sign a message using his / her private key, for example, to prove that the message was sent by the sender and / or to indicate that the sender agrees with the message. The signer (i.e., the person generating the signature) creates a digital signature based on the message using his / her private key. Creating a digital signature based on a message means feeding the message and the private key to a function that generates a signature based on both the message and the private key. The signature is appended to the message (e.g., tagged to the message) or otherwise associated with the message. Anyone who has the signer's corresponding public key can use the same message and the digital signature on the message to verify whether the signature was validly created, i.e., whether the signature was really created using the signer's private key. In addition to ensuring the authenticity of the message, a digital signature also ensures the integrity and non-repudiation of the message. That is, a digital signature may be used to prove that the message has not been altered since it was signed and that the creator of the signature cannot deny in the future that they created the signature.

[0005] A digital signature scheme typically involves three steps, or algorithms: a key generation algorithm is used to generate a random private key and a corresponding public key; a signing algorithm is used to generate a signature based on a message and the private key; and a verification algorithm is used to verify whether a signature was generated according to the signing algorithm using the corresponding private key, given a public key and a message.

[0006] In general, a shared secret may be used to share a data item that is distributed among a group of participants. Each participant has a different share of the secret. Usually, the secret can be reconstructed only when a certain number of participants (called a "threshold") make their respective shares available to be combined together, e.g., to compute the secret. A common use of a shared secret is as the shared secret of a private-public key pair. That is, the private key may be distributed among a group of participants such that no single participant has access to the private key. Thus, no single participant can generate a valid signature of a message. Instead, some or all of the participants must generate the private key together in order for a signature to be generated.

[0007] Rather than participants sharing their private key shares to generate a signature, participants may instead use a threshold signature scheme. A threshold signature scheme allows a threshold number of participants in a group to create a digital signature based on a message using individual shares of a shared secret key, without the private key being made available to any one participant. Here, the digital signature is a signature generated based on the message to be signed. In such a scheme, a signature can only be generated if a threshold number of participants agree to generate a signature on the message. Any attempt to generate a signature using a fewer number of participants will not generate a valid signature. Thus, a valid signature by a group (i.e., a signature generated using the message and the shared secret key) clearly has a threshold number of people agreeing to generate the signature. This also implies that any adversary would need to obtain a threshold number of shares of the private key to forge a signature with that private key. Summary of the Invention [Problem to be solved by the invention]

[0008] A group of participants may use a secret sharing scheme, such as a joint verification random secret sharing (JVRSS) scheme, to establish a shared secret. As described above, the shared secret may be used as part of a threshold signature scheme. A secret sharing scheme typically treats each participant equally; that is, each participant performs the same actions to establish a share of the shared secret, and each participant learns (i.e., obtains) the same information, or at least the same type of information, if not the same specific value. For example, each participant learns a share of the shared secret, but each share is different.

[0009] This disclosure breaks from convention by recognizing that each participant need not perform the same actions as part of the secret sharing scheme, and therefore different participants can learn different amounts (or types) of information. In effect, two classes of participants are formed: target participants and dummy participants.

[0010] In one aspect disclosed herein, a computer-implemented method for generating a shared key having a threshold is provided, wherein a group of participants includes a set of target participants and a set of dummy participants, each target participant is associated with a respective target index and each dummy participant is associated with a respective dummy index, and the method includes: each target participant evaluating a respective function at a respective target index of the target participant to generate a respective first result; each target participant evaluating a respective function at a respective target index of each other target participant to generate a respective second result; each of the target participants sending a respective second result to each of the other target participants that is not any of the dummy participants, and obtaining a respective second result from each of the other target participants; generating a respective share of a shared key based on the respective first result and each of the obtained respective second results; each target participant evaluating the respective function at each respective dummy index of each respective dummy participant to generate a respective third result; each target participant transmitting a respective third result to a respective dummy participant; and each dummy participant generating a respective share of the shared key based on each of the obtained third results.

[0011] The present disclosure allows a set of target participants to cooperate with a set of dummy participants to compute a shared key (e.g., a shared secret key or a shared ephemeral secret key) with a desired threshold. The present disclosure uses "dummy participants". These are participants who generate shares of the shared key but do not learn enough information to be able to compute the corresponding public key. This means that dummy participants cannot link the process of participating in the scheme to, for example, a signature they generated using the shared key. This is advantageous at least from a privacy perspective. In addition, dummy participants need to perform fewer operations than target participants, which is advantageous from a computational perspective. In particular, only target participants need to evaluate the respective functions using the participant index.

[0012] In some embodiments, each function is defined by randomly generated coefficients, hi some embodiments, dummy participants can generate their respective shares of the shared secret while avoiding costly random number generation processes.

[0013] To facilitate an understanding of embodiments of the present disclosure and to show how such embodiments may be put into effect, reference is made by way of example only to the accompanying drawings, in which: [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 illustrates a schematic diagram of an exemplary system for generating a shared key. [Diagram 2] FIG. 2 illustrates an exemplary method for generating a shared key. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] 1. Cryptographic Concepts Although the following examples are described in terms of elliptic curve cryptography, the invention is not limited to any one particular cryptography scheme and may be applied generally to any cryptography scheme, e.g., RSA or other public key cryptography schemes.

[0016] 1.1 Elliptic Curve Groups An elliptic curve E is given by the formula y 2 = x 3 + ax + b mod p where

[0017]

number

[0018] and a and b are 4a 3 + 27b 2 A constant ≠ 0. A group on this elliptic curve is defined as the set of elements (x, y) that satisfy this equation, with the identity point O at infinity. The group operation on the elements of this group is called elliptic curve point addition, denoted by +. This group is

[0019]

number

[0020] and its order is denoted by n.

[0021] This group operation can be used to define another operation on elements called point multiplication, denoted by ·.

[0022]

number

[0023] For , the point k·G is defined to be the point G added to itself k times.

[0024] In elliptic curve cryptography, the private key is a scalar

[0025]

number

[0026] is the notation for the set {1, ..., n-1}, and the corresponding public key is a point k · G on an elliptic curve. For example, in some blockchain protocols, the elliptic curve is chosen to be the secp256k1 elliptic curve, and the values ​​a, b, and p are fully specified by this elliptic curve. The order n of this group is calculated given these values, which is prime in the case of this curve, and the secp256k1 standard also specifies the point G that should be used as a generator of this group.

[0027] 1.2 Elliptic Curve Digital Signature Algorithm To create a signature for a message msg with private key a, the following steps are taken: 1. Compute the message digest e = hash(msg), where hash can be any hash function. For example, in some examples, hash(msg) = SHA256(SHA256(msg)), where SHA256 (solid squares) is the SHA-256 hash function. Note that instead, the message may be hashed only once, or may be hashed three or more times with the same or different hash functions. 2. Choose a random integer k ∈ {1, ..., n-1}, where n is the order of the elliptic curve, e.g., the secp256k1 curve. In the following, k is called the ephemeral private key. 3. The temporary public key k G = (R x , R y ) to calculate 4. r = R x Calculate r mod n. If r = 0, go back to step 2. 5. Multiplicative inverse of the temporary key k -1 Calculate the square root of n. 6. s = k -1Calculate (e + ar) mod n. If s = 0, go back to step 2. 7. The signature of the message msg is (r, s).

[0028] The ephemeral key must be kept secret, otherwise, given the message and the signature, the private key can be calculated. Furthermore, each time a signature is generated, a different ephemeral key must be used. Otherwise, given two different signatures and their corresponding messages, it is possible to derive the private key a.

[0029] Given a message msg, a public key P = a G, and the corresponding signature (r, s), we can verify the signature by completing the following steps: 1. Compute the message digest e = hash(msg), for example, e = SHA256(SHA256(msg)). 2. Multiplicative inverse s of s -1 Calculate modulo n. 3. j 1 = es -1 mod n and j 2 = rs -1 Calculate the square root of n. 4. Point Q = j 1 G + j 2 Calculate P. 5. If Q = O (point at infinity), the signature is invalid. 6. If Q ≠ O, then Q := (Q x , Q y ), and u = Q x Compute mod n. If u = r, the signature is valid.

[0030] In a threshold signature scheme, this private key a is divided into key shares that are distributed among participants in a threshold signature group.

[0031] 1.3 Joint Verifiable Random Secret Sharing Suppose N participants want to create a joint secret that can be regenerated in a scheme only by at least (t + 1) of the participants. To create the shared secret, the following steps are taken: 1. Participants agree on a unique label for each participant, i. Each participant, i, receives (t + 1) random numbers.

[0032]

number

[0033] is the notation for the set {1, ..., n-1}. Then, each participant has a secret polynomial of degree t for i = 1, ..., N. f i (x) = a i0 + a i1 x + + a it x t mod n Note that from now on we will omit the mod n notation and assume that all arithmetic operations on integers are done modulo n. 2. Each participant i sends f to participant j using a secure communication channel only with j. i (j) is transmitted. 3. Each participant i obtains his / her private secret share of the shared secret polynomial.

[0034]

number

[0035] Calculate as follows.

[0036] The shared secret share is (i, a i ) where i is the label of a participant in the scheme. This method for creating a secret share a as described in steps 1-3 is referred to herein as a i= JVRSS(i). Note that JVRSS usually stands for "Joint verification random secret sharing" and also includes steps 4 and 5. However, throughout this specification JVRSS is taken to mean performing at least steps 1 to 3, with steps 4 and 5 being optional steps.

[0037] Now that the participants have generated a shared polynomial, they can each verify that the other participants have shared the correct information with all participants and that all participants have the same shared polynomial. This is done in the following way. 4. Each participant i calculates the obfuscated coefficients for k = 0, ..., t. a ik G Broadcast to all participants. 5. Each participant i has f j (i) Calculate G,

[0038]

number

[0039] Each participant j can find the polynomial point f by verifying that j Check that you have calculated (i) correctly. If all participants find this to be true for each polynomial, then the group can be collectively confident that they all created the same shared polynomial.

[0040] 1.4 Reconstructing the Shared Secret Suppose a participant wishes to reconstruct a shared secret a, which is the zeroth degree of a shared polynomial. (1, a 1 ), ..., ((t + 1), a t+1 ) Given (t + 1) points on this polynomial of the form

[0041]

number

[0042] Calculate.

[0043] 1.5 Public Key Calculation Public keys a of coefficients of N private polynomials of degree 0 for i = 1, ..., N, shared in step 4 of JVRSS i0 Given G, each participant has a shared secret a corresponding to

[0044]

number

[0045] to calculate the shared public key P.

[0046] 1.6 Shared Secret Addition To compute the addition of two shared secrets shared within a group of N participants, where each secret polynomial has degree t, without anyone knowing the individual secrets, the following steps are taken: 1. Generate a first shared secret a, where participant i’s share is a for i = 1, ..., N at threshold (t + 1). i = JVRSS(i). 2. Generate a second shared secret b, where participant i’s share is the threshold (t + 1), b i = JVRSS(i). 3. Each participant i determines his / her additive share ν i = a i + b i mod n Calculate. 4. Every participant contributes his / her additive share ν i to all other participants. 5. Each participant interpolates at least (t + 1) of the shares ν = interpolate(ν 1 , ...,ν t+1 ) = a + b Calculate. This method for adding shared secrets is denoted by ADDSS(i) for participant i, and as a result, each participant i knows v = (a + b).

[0047] 1.7 Multiplication of Shared Secrets To compute the product of two shared secrets that are both shared within a group of N participants, where each secret polynomial has degree t, the group takes the following steps. 1. Generate a first shared secret a, where participant i’s share is a for i = 1, ..., N. i = JVRSS(i). The shared secret polynomial has degree t, i.e., (t + 1) participants are required to recreate the shared secret polynomial. 2. Generate a second shared secret b, where participant i’s share is b i = JVRSS(i), and the shared secret polynomial also has degree t. 3. Each participant: μ i = a i b i Use your multiplicative share μ i Calculate. 4. Every participant receives his / her multiplicative share μ i to all other participants. 5. Each participant has a share of 0 μ i Interpolate at least (2t + 1) of μ = interpolate(μ i , ...,μ 2t+1 ) = ab Calculate. This method for computing the product of two shared secrets is denoted herein by μ=ab=PROSS(i), for participant i.

[0048] 1.8 Inverse of a Shared Secret To compute the inverse of the shared secret a, the following steps are taken: 1. All participants compute the product PROSS(i) of their shared secrets, the result of which is μ = ab mod n. 2. Each participant computes the modular inverse of μ, which is μ -1 = (a b ) -1 mod n It becomes. 3. Each participant i sends his / her inverse secret share

[0049]

number

[0050] This is calculated by calculating This method for computing the inverse of the shared secret is

[0051]

number

[0052] As shown by:

[0053] 1.9 Generating and Verifying a Shared Secret To compute a shared secret key a among N ≥ 2t + 1 participants (of which t + 1 are required to create a signature), the participants perform a threshold t + 1 JVRSS and public key computation as described above. As a result, every participant i = 1, ..., N has a secret key share a i and the corresponding shared public key P = (a·G).

[0054] 1.10 Generation of Ephemeral Key Shares To generate the ephemeral key shares and the corresponding r needed for signing, a group of size N using a shared secret key a of threshold (t + 1) performs the following steps: 1. Inverse share of a shared secret

[0055]

number

[0056] where (t + 1) shares are needed to recreate it. 2. Each participant has k i Using the shared obfuscated coefficients in the verification of

[0057]

number

[0058] Calculate, and then, r = x mod n Calculate. 3. Each participant i:

[0059]

number

[0060] Memorize.

[0061] 1.11 Secret Addition with Different Thresholds For secret addition of orders t and t', the addition of two secrets requires max(t, t') + 1 shares to compute it. The reason is that the addition step of the shares of the shared secret creates a new polynomial share. This new additive polynomial is equivalent to the result of the addition of the individual polynomials of the two shared secrets. Adding two polynomials is adding the corresponding coefficients of each degree of x. Therefore, the degree of the additive polynomial must be the same as the highest degree of the two polynomials. This can be generalized to the addition of more than two polynomials, where the degree of the resulting polynomial is the same as the degree of the individual polynomial of the highest degree.

[0062] When two secret sums with different thresholds are computed, the security of the secret with the higher threshold is reduced. This is because if we now know the result (a + b) along with the respective thresholds t, t', we can compute a with t shares, assuming t < t', and then compute (a + b) - a = b, and thus the value b was computed with only t shares. This lower threshold is referred to below as the "implicated threshold" of b.

[0063] 1.12 Secret multiplication with different thresholds For two secret multiplications with thresholds t and t', the computation of the multiplication requires t + t' + 1 shares. In this case, the multiplication of the shares of the two polynomials results in a share on a new polynomial. This new polynomial is the result of multiplying the two individual polynomials, and therefore the degree of the result is the sum of the degrees of the two individual polynomials.

[0064] Multiplication can also be generalized to any number of shared secrets, and the resulting threshold is the sum of the individual thresholds plus 1,Σ ρ t ρ + 1, where ρ ranges over each shared secret.

[0065] As with addition, multiplication of two secrets with different thresholds results in an implicit threshold for the secret with a higher threshold. As before, if ab is known, where a has threshold t and b has threshold t', with t < t', then both a and b can be computed with t shares. First compute a, then (ab)a -1 Using the above, we can obtain b with only t shares of the secret.

[0066] 1.13 Combining Addition and Multiplication of a Shared Secret in One Step It is possible to generalize the above to compute any combination of additions and multiplications in one step. Suppose a group of N participants wants to compute a result ab + c, where a, b, and c are each above a threshold (t a + 1), (t b + 1), (t c + 1), max(t a + t b , t c ) < N, i.e., the number of participants in the scheme must be greater than the maximum of the order of secret c and the order of the result of the multiplication of secrets a and b. 1. Each participant i determines the threshold (t a + 1), (t b + 1), (t c + 1) own secret share a i = JVRSS(i), b i = JVRSS(i), c i = JVRSS(i). 2. Each participant i has λ i = a i b i + c i Calculate. 3. Each participant i shares the outcome λ with other participants. i Share. 4. Each participant has max(t a + t b , t c ) + 1 share, resulting in λ = int(λ1 , ..., λ i , ...) = ab + c. This is done in the computation of a shared signature according to some embodiments below, i.e.

[0067]

number

[0068] In this case, t a + t b = 2t and t c = t, and the interpolation is max(t a + t b , t c ) + 1 = 2t + 1 shares.

[0069] 2. Generate a shared key FIG. 1 illustrates an exemplary system 100 for generating a shared key. As shown, the system 100 includes a plurality (i.e., a group) of participants (e.g., users, machines, etc.) 102, 104. The group of participants is composed of two distinct sets of participants: a set of target participants 102b and a set of dummy participants (i.e., "observers"). The terms "target participant" and "dummy participant" are interchangeable with "first participant" and "second participant." That is, the terms are merely labels for the two sets of participants. The participants may also be referred to as parties or entities. Each of the participants 102 and 104 operates a respective computing device.

[0070] Each of the respective computing devices of each participant 102, 104 includes a respective processing device including one or more processors, e.g., one or more central processing units (CPUs), accelerator processors (GPUs), application specific processors, and / or field programmable gate arrays (FPGAs). Each computing device may also include memory, i.e., computer readable storage in the form of one or more non-transitory computer readable media. The memory may include one or more memory units employing one or more memory media, e.g., magnetic media such as hard disks, electronic media such as solid state drives (SSDs), flash memory, or EEPROMs, and / or optical media such as optical disk drives. Each computing device may include at least one user terminal, e.g., a desktop or laptop computer, a tablet, a smartphone, or a wearable device such as a smart watch. Alternatively or additionally, each computing device may include one or more other networked resources, such as cloud computing resources accessed via the user terminal (cloud computing resources including resources of one or more physical server devices implemented in one or more locations). It will be understood that all acts described as being performed by a participant of system 100 may be performed by a respective computing device operated by that participant.

[0071] Each of the participants 102, 104 may be configured to transmit data to one, some, or all of the other participants 102, 104 over the Internet using a LAN or WAN connection, or over alternative wired or wireless communication means. Unless the context requires otherwise, references to a participant 102 transmitting data may be understood as transmitting data individually to the other participants 102, e.g., over a secure communication channel between the two participants, or broadcasting to the entire group, e.g., via email or other means. Also, unless the context requires otherwise, each participant 102 may transmit data in raw or obfuscated form. For example, the data may be encrypted using the receiving participant's public key before being transmitted to the receiving participant.

[0072] In Figure 1, the set of target participants includes three participants 102a, 102b, and 102c, and the set of dummy participants includes two participants 104a and 104b (shown surrounded by dotted lines). It will be understood that this is for illustrative purposes only, and that in general each set can include any number of participants. Note that unless otherwise required by context, "first," "second," etc. are used merely as distinguishing labels and do not necessarily imply any order, hierarchy, or the like.

[0073] In an embodiment of the present disclosure, both the target and dummy participants 102 and 104 can each generate a respective share of a shared secret key (or, more generally, a shared key). The shared secret key is a numeric value, such as a 256-bit integer. Similarly, any keys shown below are numeric values. The shared secret key has a threshold value. For example, the shared secret key may have a threshold value of t+1.

[0074] Each participant 102, 104 is associated with a respective index (i.e., number). The index of a target participant is denoted as a target index. The index of a dummy participant is denoted as a dummy index. Each index is unique to a given participant, i.e., no participant has the same index. The indexes may be consecutive, such as 1, 2, 3, 4, etc. The indexes may be assigned by the coordinator 101 or by one of the participants 102, 104.

[0075] To generate a shared key, each target participant 102 begins by obtaining (e.g., generating) a respective function. The function is private in the sense that the target participant 102 does not reveal the function to the other participants 102, 104. The function may be a polynomial. In some examples, the function is generated as described in step 1 of the Jointly Verifiable Random Secret Sharing (JVRSS) scheme described above (see Section 1.3). However, this is merely an example and other functions may be used. If such a polynomial is used, the function may be generated by generating a set of coefficients for the polynomial. The coefficients may be random numbers. That is, each target participant 102 may generate a set of random numbers to be used as coefficients for the respective polynomial function.

[0076] Each target participant 102 evaluates a respective function with each target participant's 102 respective target index to generate a respective result. This involves each target participant 102 evaluating the respective function using its own target index, and also evaluating the respective function using each of the other target participants' 102 respective target indexes. The result generated using the target participant's own index is referred to as a first result. The result generated using the other target participant's index is referred to as a second result. Thus, each target participant generates a respective first result and one or more second results.

[0077] Because each participant has a different index, each of the second results generated by a given target participant 102 is different. Similarly, because each target participant 102 uses a different function, different target participants 102 will generate different second results for the same other target participants.

[0078] Each target participant 102 shares each second result with the respective target participant 102 with the index used to generate each second result. For example, the first target participant 102a generates a second result for the second target participant 102b and sends the second result to the second target participant 102b. Similarly, the first target participant 102 generates a second result for the third target participant 102c and sends the second result to the third target participant 102c. The second participant 102b and the third participant 102c perform equivalent actions.

[0079] The target participants 102 keep their respective first results to themselves, i.e., the first results are kept private. The target participants 102 share the second results with the target participants that used that index to generate the respective second results. Neither the first nor the second results are shared with the dummy participants 104.

[0080] As an example, a set of numbers

number

[0081] Each target participant 102 will have obtained a respective first result and one or more respective second results (the first result has been generated and the second result has been received). Each target participant 102 uses the obtained results to generate a respective share of the granted key. That is, each target participant 102 generates a respective key share based on (as a function of) the respective first result and one or more respective second results.

[0082] Each target participant 102 also evaluates the respective function with a respective dummy index of each dummy participant 104 to generate a respective result, which is referred to as a third result. Each target participant 102 shares each third result with each dummy participant 104 that has the index that was used to generate each third result.

[0083] Thus, each dummy participant 104 obtains one or more third results, one from each target participant 102. Each dummy participant 104 uses the obtained results to generate a respective share of the shared key, i.e., each dummy participant 104 generates a respective key share based on (i.e., as a function of) the respective third result.

[0084] Thus, each participant, both the target participant 102 and the dummy participant 104, has a share of the same shared key. The key shares may be used for threshold encryption or threshold signatures. For example, one or more participants 102, 104 may generate respective signature shares based on their respective key shares and the message, or a hash of it. Alternatively, one or more participants 102, 104 may encrypt a message using their respective key shares.

[0085] The described methods may be used to generate multiple shared keys, such as shared secret keys and shared temporary secret keys.

[0086] An advantage of the described embodiment is that the dummy participant cannot compute the public key corresponding to the shared key. In a conventional secret sharing scheme, such as JVRSS, any participant that generates a share of the shared key can compute the public key. This means that any participant can know, for example, that a signature was generated with the shared key. In contrast, in the present scheme, only the target participant 102 can compute the public key.

[0087] The target participant 102 can generate a public key (referred to as a "shared public key") that corresponds to the shared key. For example, the shared public key can be generated using the public key calculations described above in Section 1.5.

[0088] In some examples, the dummy participant 104 generates a public key that corresponds to each of its key shares (but not the shared key itself). The dummy participant 104 sends its public key (referred to as a "public key share") to one or more target participants 102. This allows the target participants 102 to verify that the dummy participant 104 correctly calculated its share of the shared key.

[0089] In an example where the respective functions used to generate the result are polynomials defined by respective sets of coefficients, each target participant 102 may obfuscate each coefficient with a public key generation point to obtain a set of obfuscated coefficients. The obfuscated coefficients may be shared among the target participants 102. For each dummy participant 104 with a respective dummy index, the target participant 102 may verify the respective public key share based on the set of obfuscated coefficients and the respective dummy index. For example, the public key share may need to be equal to the dummy index multiplied by the set of obfuscated coefficients.

[0090] As shown in FIG. 1, the system 100 may also include a coordinator 101. The coordinator may be one of the target participants, e.g., the first target participant 102a. Alternatively, the coordinator 101 may be a separate entity. The coordinators operate their respective computer devices as described above with reference to the participants 102, 104. The coordinator 101 may be responsible for constructing a signature using a threshold number of signature shares that each of the target participants 102 generates by using their shares of the shared key. That is, the coordinator 101 may generate a signature for (i.e., for) the message to be signed. Generating a signature for a message is interpreted to mean that the signature depends on the message to be signed, or in other words, the signature is a function of the message to be signed. The coordinator 101 may also be a party that transmits the signature, and optionally the message, to a third party 103 or otherwise outputs the signature. For example, the third party 103 may be a certificate authority or other type of authority, or another user. In other examples, the signature may be recorded, for example, in a database or other document. In some examples, the signature may be recorded and made publicly available, for example, on a website or other publicly accessible medium, such as a blockchain.

[0091] The coordinator 101 may send the message to be signed to the participants 102, 104. The message may be sent to all of the participants 102, 104 or to a subset of the participants, such as a threshold number of participants. The coordinator 101 sends the message to one participant, who then forwards the message to one, several, or all of the other participants 102, 104. The message may be sent over the Internet, using a LAN or WAN connection, or via another wired or wireless communication means. The message may be sent to each participant 102, 104 individually via secure communication between the coordinator 101 and each participant 102, 104, or may be broadcast to the group of participants as a whole via email or other means. The message may be sent in raw form or in encrypted form. For example, the message may be hashed one or more times.

[0092] One or more of the participants 102, 104 may obtain the message via another means, i.e., not from the moderator 101. For example, the message may be generated by one of the target participants 102 or may already be publicly available, for example. One or more of the participants 102, 104 may receive the message from a third party 103. The participant 102, 104 that obtains the message may transmit the message (in raw or encrypted form) to one or more of the participants 102, 104. For example, a first target participant 102 may transmit the message to other participants.

[0093] Each participant 102, 104 (or at least a threshold number of participants) generates a respective signature share using at least its respective key share and the message, and makes the signature share available to the coordinator 101 to construct the signature.

[0094] The coordinator 101 may then broadcast or transmit the signature to one or more other entities. Additionally or alternatively, the coordinator may store the signature and / or record the signature as part of a digital record, for example in an email or other document. For example, the message may be part or all of a blockchain transaction. The signature may be included in the blockchain transaction (if the message is only part of a blockchain transaction) or in a different blockchain transaction.

[0095] In general, embodiments of the present disclosure may be used to generate a signature for any message. As a specific example use case, the message may be part or all of a blockchain transaction, as shown in FIG. 1. That is, the signature may be used to sign one or more inputs and / or one or more outputs of the blockchain transaction. For example, the generated signature may be used at least in part to unlock an output of the blockchain transaction. As a specific example, the output of a previous transaction may be a pay-to-public-key-hash (P2PKH) output that is locked to a hash of a public key. To be unlocked, an input of a later transaction referencing the P2PKH output must include the (unhashed) public key and a signature generated based on the private key corresponding to the public key.

[0096] Expressed in script form, a "locking script" and an "unlocking script" may take the following form: Locking script = OP_DUP OP_HASH160<Public KeyHash> OP_EQUAL OP_CHECKSIG Unlocking script = <signature><Public Key>

[0097] With reference to the above embodiment,<Public Key> may be equal to P = a G, <signature>contains a threshold signature s, where the previous transaction is the message to be signed. Note that, as above, ECDSA signatures are of the form (r, s).

[0098] It should be noted that the described signature generation method is not limited to any particular use case and may be used broadly to generate a signature based on any message. Signing all or part of a blockchain transaction is just one illustrative example. The described method may be used, for example, to sign and / or authorize legal documents (e.g., wills, deeds, or other contracts), correspondence between one or more parties, digital certificates (e.g., issued by a certificate authority), medical prescriptions, bank transfers or financial instruments, mortgage or loan applications, etc.

[0099] As a particular example, a group of participants (e.g., five participants total) may form a board of directors for a company. Resolutions for the company may require that a majority of the board (i.e., at least three participants) agree on a particular vote. The board may use the described signature generation method to prove that at least three directors agreed to vote in favor of a particular outcome. In this example, the threshold for the signature generation scheme is three. That is, at least three of the directors must provide their respective signature shares for the coordinator to successfully generate a signature. For a signature to be successfully created, at least the threshold number (i.e., three) of directors must have agreed to vote in favor of that outcome. The successful generation of the signature thus serves as a record of the vote and proves that a majority of the board voted in a particular way.

[0100] Another use case of the invention is in the field of digital certificates, for example digital certificates issued according to the X.509 standard. A digital certificate contains a signature that signs some data. Although the data can generally be any data, one particular example of data contained in a digital certificate is a public key. The public key in a digital certificate is often called a "certified public key". The issuer of the digital certificate (a "certification authority") may perform one or more checks (e.g., know-your-customer checks) on the owner of the public key, and if the checks are passed, the certification authority issues a digital certificate that contains the certified public key. For example, a user can use the certified public key to prove that he is who he claims to be, by signing a message with the private key that corresponds to the certified public key. One particular use for a certification authority is to sign certificates used in HTTPS for secure browsing on the Internet. Another common use is in the issuance of identity cards by national governments for use in digitally signing documents. The certificate authority uses its private key to sign the public key (or any other data to be authenticated).

[0101] 2 shows a flow chart illustrating an example method 200 for generating a shared key according to a described embodiment. The method 200 begins at step S201, where each target participant 102 generates a function (e.g., a polynomial). Then, at step S202, the function is evaluated at each target index. At step S203, the results are shared with the target participants 102. At step S204, the target participants 102 generate key shares. At step S205, the function is evaluated at each dummy index. Then, at step S206, the results are shared with the dummy participants 104. At step S207, the dummy participants 104 generate key shares.

[0102] 3. Observer JVRSS (Joint Verification Random Secret Sharing Scheme) An embodiment of the present disclosure can be used to modify the JVRSS to restrict the generation of shared public keys to only the participants of the scheme, i.e., the target participants 102. This has the advantage of reducing the number of random number generation, increasing efficiency. This can also be used to keep the public information secret from the dummy participants 104, so that they cannot identify which scheme they were part of.

[0103] This modified JVRSS method is referred to herein as "observer JVRSS", or O-JVRSS, and participants who do not generate any contribution to the shared secret may be viewed as "observers". Information that would reveal the public key to the dummy participant remains hidden from the dummy participant. To create a group of participants in the threshold group that do not have knowledge of the shared public key P corresponding to the shared secret key a, the group performs the following operations: Scheme participants are another term for target participants. 1. All scheme participants i perform steps 1-3 of the JVRSS without a verification step at this point. Each scheme participant has a private polynomial and gives a share of that private polynomial to each of the other scheme participants who calculated their own shares. Dummy participants do not participate in this step. 2. Each scheme participant j obtains his / her own secret polynomial f j Send the value of (i) to participant i in the dummy participant group. The dummy participant does not create its own private polynomial, but only receives the shares of others. 3. Dummy participants own private shares

number

number

[0104] The reason that the scheme participants compute this on behalf of the dummy participants, as in a regular JVRSS, is to ensure that the scheme is secure while preventing the dummy participants from learning the corresponding public keys associated with their shares. The public keys may be publicly known, but unless explicitly specified, the dummy participants cannot determine the link between their shares and the public keys.

[0105] Now, all the dummy participants have the share a corresponding to the shared secret key. i The same steps can also be done for the ephemeral key k, whose public key corresponds to any signature r, to generate an identifier. The blind share or shares can be generated using the normal JVRSS, since they do not have any corresponding public key information shared.

[0106] a for dummy participant i i We label steps 2-5 by =O-JVRSS(i), where O stands for "observer". O-JVRSS is performed on the shared secret and the ephemeral private key, and any dummy participant can contribute to a higher threshold computation, for example to generate threshold signatures, without learning anything about any of the schemes they are participating in.

[0107] 4. Further Remarks It will be appreciated that the above embodiments have been described by way of example only. More broadly, there may be provided a method, apparatus or program according to any one or more of the following statements:

[0108] Statement 1. 1. A computer-implemented method for generating a shared key having a threshold, the group of participants including a set of target participants and a set of dummy participants, each target participant associated with a respective target index and each dummy participant associated with a respective dummy index, the method comprising: each target participant evaluating a respective function at a respective target index of the target participant to generate a respective first result; each target participant evaluating a respective function at a respective target index of each other target participant to generate a respective second result; each of the target participants sending a respective second result to each of the other target participants that is not any of the dummy participants, and obtaining a respective second result from each of the other target participants; generating a respective share of a shared key based on the respective first result and each of the obtained respective second results; each target participant evaluating the respective function at each respective dummy index of each respective dummy participant to generate a respective third result; each target participant transmitting a respective third result to a respective dummy participant; and each dummy participant generating a respective share of the shared key based on each of the obtained third results.

[0109] Statement 2. 2. The method according to claim 1, wherein the shared key is a shared secret key.

[0110] Statement 3. The method of claim 2, comprising a step of a group of at least a threshold number of participants generating respective shares of a threshold signature based on respective shares of the shared key and the message.

[0111] Statement 4. The method of claim 3, comprising a step of a group of at least a threshold number of participants making their respective shares of the threshold signature available to a coordinator for generating a threshold signature.

[0112] Statement 5. The method of claim 4, comprising a step of the coordinator generating a threshold signature based on the respective shares of at least a threshold number of threshold signatures.

[0113] Statement 6. 6. The method of any of statements 1 to 5, wherein the total number of target participants is less than the threshold number of shared secret keys.

[0114] Statement 7. A method according to any of statements 1 to 6, comprising a step in which each dummy participant generates a respective public key corresponding to a respective share of the shared secret key and transmits each public key to at least one target participant.

[0115] Statement 8. The method of any of statements 1 to 7, wherein each target participant generates a respective set of coefficients, and each function is a polynomial based on the respective set of coefficients.

[0116] Statement 9. at least one target participant obfuscating each of the respective sets of coefficients using a public key generation point; and (c) at least one target participant verifying one or more of the respective public keys received from the respective dummy participants using the respective sets of obfuscated coefficients.

[0117] Statement 10. each target participant generating a respective public key corresponding to a respective zeroth order coefficient of the polynomial and transmitting the respective public key to each other target participant; The method according to statement 8 or 9, comprising a step of each target participant generating a public key corresponding to the shared key based on each of the respective public keys corresponding to the respective zeroth-order coefficients.

[0118] Statement 11. The method according to statement 8 or any statement subordinate to statement 8, wherein each set of coefficients is randomly generated by a respective target participant.

[0119] Statement 12. 3. A method according to statement 3 or any method dependent on statement 3, wherein the message includes at least a portion of a blockchain transaction.

[0120] Statement 13. a coordinator adding a threshold signature to the blockchain transaction; submitting the blockchain transaction to one or more nodes of the blockchain network; The method according to statement 5 or 12, comprising:

[0121] Statement 14. a memory including one or more memory units; a processing device comprising one or more processing units; A computing device, the memory storing code configured to execute on a processor, the code configured, when executed on the processor, to perform the method according to any of statements 1 to 13.

[0122] Statement 15. A computer program embodied on a computer readable storage and configured to perform the method according to any one of statements 1 to 13 when executed on a computing device.

[0123] According to another aspect disclosed herein, a method may be provided that includes an action of each target participant.

[0124] According to another aspect disclosed herein, a system may be provided that includes a computing device of each target participant.

[0125] According to another aspect disclosed herein, a method may be provided that includes actions of each target participant and each dummy participant.

[0126] According to another aspect disclosed herein, a system may be provided that includes a computing device for each target participant and each dummy participant.

[0127] Other variations or use cases of the disclosed technology will be apparent to one of ordinary skill in the art given the disclosure herein. The scope of the present disclosure is not limited by the described embodiments, but only by the claims that follow. [Explanation of symbols]

[0128] 101 Adjuster 102a Target Participant 1 102b Target Participant 2 102c Target Participant 3 104a Dummy Participant 1 104b Dummy Participant 2< / signature> < / signature>

Claims

1. 1. A computer-implemented method for generating a shared key having a threshold, the group of participants including a set of target participants and a set of dummy participants, each target participant associated with a respective target index and each dummy participant associated with a respective dummy index, the method comprising: evaluating, by each target participant, a respective function at said respective target index of the target participant to generate a respective first result; each target participant evaluating a respective function at said respective target index of each other target participant to generate a respective second result; each target participant transmitting said respective second result to each other target participant that is not any of said dummy participants, and obtaining a respective second result from each other target participant; generating a respective share of said shared key based on said respective first result and each of said respective second results obtained; each target participant evaluating said respective function at said respective dummy index of each respective dummy participant to generate a respective third result; each target participant transmitting said respective third result to a respective dummy participant; each dummy participant generating a respective share of the shared key based on each of the obtained third results; A method comprising:

2. The method of claim 1 , wherein the shared key is a shared secret key.

3. 3. The method of claim 2, comprising a step of a group of at least a threshold number of participants generating respective shares of a threshold signature based on respective shares of the shared key and a message.

4. The method of claim 3 , comprising a step of a group of at least a threshold number of participants making their respective shares of the threshold signature available to a coordinator for generating the threshold signature.

5. The method of claim 4 , further comprising the step of the coordinator generating the threshold signature based on at least a threshold number of respective shares of the threshold signatures.

6. The method of any one of claims 1 to 5, wherein the total number of target participants is less than a threshold number of shared secret keys.

7. 7. The method of claim 1, comprising the step of each dummy participant generating a respective public key corresponding to a respective share of a shared secret key and transmitting said respective public key to at least one target participant.

8. 8. The method of claim 1, further comprising each target participant generating a respective set of coefficients, said respective function being a polynomial based on said respective set of coefficients.

9. at least one target participant obfuscating each of the respective sets of coefficients using a public key generation point; said at least one target participant verifying one or more of the respective public keys received from said respective dummy participants using a respective set of obfuscated coefficients; The method according to claim 7 or 8, comprising:

10. each target participant generating a respective public key corresponding to a respective zeroth order coefficient of said polynomial and transmitting said respective public key to each other target participant; each target participant generating a public key corresponding to the shared key based on each of the respective public keys corresponding to the respective zeroth-order coefficients; The method according to claim 8 or 9, comprising:

11. 9. A method according to claim 8 or any claim dependent thereon, wherein the respective sets of coefficients are randomly generated by respective target participants.

12. 4. The method of claim 3 or any claim dependent thereon, wherein the message comprises at least a portion of a blockchain transaction.

13. a coordinator adding the threshold signature to a blockchain transaction; submitting the blockchain transaction to one or more nodes in a blockchain network; 13. The method of claim 5 or claim 12, comprising:

14. a memory including one or more memory units; a processing device comprising one or more processing units; A computing device, the memory storing code configured to run on the processing unit, the code configured to perform the method of any one of claims 1 to 13 when executed on the processing unit.

15. A computer program embodied on a computer readable storage and configured to perform the method according to any one of claims 1 to 13 when executed on a computing device.