betaFeedback

WorksComputer Science

Secret Sharing Despite Non-Extractable Randomness

Abstract

Bosley and Dodis (TCC 2007) proved that a class of imperfect randomness sources that suffices for information-theoretic encryption of messages longer than the logarithm of the key length must admit deterministic extraction of nearly uniform bits, and asked whether the same is true of two-out-of-two secret sharing. Aggarwal, Chung, Obremski, and Ribeiro (TCC 2022) gave a positive answer for schemes that are in addition leakage-resilient or non-malleable; the original question remained open. We answer it in the negative. For every b≥2b\ge2 we construct a class of flat sources on {0,1}b+2\{0,1\}^{b+2}, each of min-entropy at least bb, together with a perfectly correct and perfectly private two-out-of-two scheme that shares a bb-bit secret into two (b+1)(b+1)-bit shares using any source in the class, and we show that every deterministic map from {0,1}b+2\{0,1\}^{b+2} to {0,1}\{0,1\} is at statistical distance at least 1/61/6 from uniform on some source in the class. This implies that sharing a long enough secret does not require extractable randomness. The proof is a short parity argument. The idea of the construction extends to other thresholds: for two-out-of-nn and rr-out-of-rr sharing we give perfect schemes with (b+1)(b+1)-bit shares, private for classes of flat sources from which no single bit can be extracted with error below 1/(4n−2)1/(4n-2) and 1/(2(2r−1))1/(2(2^r-1)), respectively.

Introduction

Uniform randomness is the most fundamental resource in information-theoretic cryptography. A uniform one-time pad gives perfect encryption, and splitting a secret into a uniform one-time pad and the padded secret gives perfect two-out-of-two secret sharing [13 Sha79, 4]. In contrast, physical sources of randomness are typically not uniform, and their exact distribution is usually unknown; the most one can assume is that the distribution belongs to some well-defined class of sources, for instance the class of all sources with a given min-entropy. The cleanest way to use such a source is to extract uniform randomness from it: if a single deterministic function maps every source in the class to a nearly uniform string, every cryptographic task requiring uniform randomness becomes possible. A basic question, going back to [12, 9, 7], is whether extraction is necessary:

If a class of sources suffices for a given cryptographic task, must it be extractable?

The answer depends on the task. Entropy alone does not suffice: deterministic extraction fails for sources with almost full min-entropy [SV84, CG88], and such sources do not support information-theoretic privacy either [12, 7]. For carefully chosen classes, on the other hand, privacy is possible without extraction when the message is a single bit: Dodis and Spencer separated one-bit encryption from extraction [9], and Dodis, Pietrzak, and Przydatek separated one-bit secret sharing from one-bit encryption [8].

Encryption implies extraction. Bosley and Dodis [3] showed that these separations only work if the message length is small. If a class of distributions on dd-bit keys permits perfect encryption of bb-bit messages, then for every ε>0\varepsilon> 0 with

b>log⁡d+2log⁡(1/ε)b > \log d + 2\log(1/\varepsilon)

the class admits a deterministic extractor with ⌊b−2log⁡(1/ε)⌋\lfloor b - 2\log(1/\varepsilon)\rfloor output bits and error ε\varepsilon [3 Theorem 1]. They complemented this result with non-extractable classes that support encryption of b≤log⁡d−log⁡log⁡d−2b \le\log d - \log\log d - 2 bits. Hence, as soon as the message is sufficiently longer than the logarithm of the key length, encryption requires extractable randomness.

Encryption yields two-out-of-two secret sharing (give the key to one party and the ciphertext to the other), but not conversely [8], so secret sharing is the weaker and more basic primitive. Bosley and Dodis left open whether it obeys the same principle [3 Section 5]:

Does two-out-of-two secret sharing of long secrets require extractable randomness?

Aggarwal, Chung, Obremski, and Ribeiro [2] revisited the question fifteen years later. They proved that the answer is yes when the scheme additionally resists one bit of local leakage from each share, or is non-malleable (unless dd is exponentially large); see also [6]. They posed the question for general thresholds and explicitly left ordinary secret sharing open.

Our results

We resolve the question in the negative, in a strong form: the scheme is perfect, the secret is only two bits shorter than the source string, every source is flat with high min-entropy, and not even one bit can be extracted with error below a fixed constant.

A source class is a fixed family of distributions on the dealer’s random input, which we call the key. A single sharing scheme must be private whichever distribution in the class the key is drawn from, and a single deterministic extractor must work for every distribution in the class. Extraction error is measured by statistical distance from uniform. Formal definitions are in § 2.

Theorem 1.1 (Main result). For every integer b≥2b \ge2 there are a source class SbS_b on {0,1}b+2\{0,1\}^{b+2} and a perfectly correct two-out-of-two secret sharing scheme for bb-bit messages that is perfectly private for SbS_b, such that:

  1. each share has b+1b+1 bits;

  2. every distribution in SbS_b is uniform on a set of size between 2b2^b and 2b+12^{b+1}, and hence has min-entropy at least bb;

  3. for every ℓ≥1\ell\ge1 and every function Ext⁡:{0,1}b+2→{0,1}ℓ\operatorname{Ext}:\{0,1\}^{b+2}\to\{0,1\}^{\ell},

    max⁡P∈SbTV⁡(Ext⁡(K),Uℓ)≥16,K∼P.\max_{P\in S_b}\operatorname{TV}(\operatorname{Ext}(K),U_\ell) \ge\frac{1}{6},\qquad K\sim P.

Sharing and reconstruction use a constant number of operations in F2b\mathbb{F}_{2^b}.

The extractor in item 3 is arbitrary: it may be computationally unbounded and may depend on the whole key. The key has d=b+2d=b+2 bits, so the secret is far longer than log⁡d\log d, which is the regime in which encryption forces extraction [3]. The constant $1/6$ cannot be improved for this class: a suitable function of the key has error at most 1/61/6 on every source in SbS_b (Theorem 4.1 with $n=2).

Other thresholds. Aggarwal, Chung, Obremski, and Ribeiro [2] also asked the question for tt-out-of-nn sharing. Their random-less reductions turn any tt-out-of-nn scheme with t≥2t \ge2 into a two-out-of-two scheme for the same source class, so a separation for any threshold gives one for two-out-of-two, and two-out-of-two is the easiest case in which to separate sharing from extraction. The reductions do not go in the other direction (see the end of § 5), so Theorem 1.1 by itself says nothing about other thresholds. We extend it to two-out-of-nn sharing for every nn, and to rr-out-of-rr sharing for every rr.

Theorem 1.2 (see Theorems 4.1 and 5.1).

  1. For every n≥2n \ge2 and every bb with 2b>n2^b > n, there are a source class on a key set of size (2n−1)2b(2n-1)2^b and a perfectly correct two-out-of-nn scheme for bb-bit messages, with (b+1)(b+1)-bit shares, that is perfectly private for this class, such that every function Ext to {0,1}\{0,1\} has statistical error at least 1/(4n−2)1/(4n-2) on some distribution in the class.

  1. For every r≥2r \ge2 and every b≥rb \ge r, there are a source class on a key set of size (2r−1)2(r−1)b(2^r-1)2^{(r-1)b} and a perfectly correct rr-out-of-rr scheme for bb-bit messages, with (b+1)(b+1)-bit shares, that is perfectly private for this class, such that every function Ext to {0,1}\{0,1\} has statistical error at least 1/(2(2r−1))1/(2(2^r-1)) on some distribution in the class.

In both cases every distribution in the class is flat, with min-entropy at least log⁡∣K∣−log⁡3\log|K|-\log3, where KK is the key set, and the bound on the error is tight for the class.

Technical overview

For the purpose of the technical overview, we focus on two-out-of-two sharing.

Why the argument for encryption does not transfer. The proof of Bosley and Dodis considers, for each key kk, the distribution of the ciphertext of a uniform message under kk. Decryptability makes each of these 2d2^d distributions flat with min-entropy bb, and so a random function ff extracts from all these distributions simultaneously when b>log⁡db > \log d and hence from Enc⁡(Ub,K)\operatorname{Enc}(U_b,K) where KK is a valid key source; privacy lets one replace the uniform bb-bit message UbU_b by the fixed message 0b0^b, and k↦f(Enc⁡(0b,k))k \mapsto f(\operatorname{Enc}(0^b,k)) is the extractor.

Let us see which part of this idea carries over to two-out-of-two secret sharing, and where it breaks down. Let the two shares of a bb-bit message mm be Shr⁡1(m,K)\operatorname{Shr}_1(m,K) and Shr⁡2(m,K)\operatorname{Shr}_2(m,K). Given Shr⁡2(Ub,K)\operatorname{Shr}_2(U_b,K), the share Shr⁡1(Ub,K)\operatorname{Shr}_1(U_b,K) determines UbU_b, which is independent of Shr⁡2(Ub,K)\operatorname{Shr}_2(U_b,K) by privacy; hence Shr⁡1(Ub,K)\operatorname{Shr}_1(U_b,K) has min-entropy at least bb. By privacy, Shr⁡1(0b,K)\operatorname{Shr}_1(0^b,K) has the same distribution as Shr⁡1(Ub,K)\operatorname{Shr}_1(U_b,K), so it too has min-entropy at least bb. To extract from it with a single function, as Bosley and Dodis do, one would write its distribution, for every source in the class, as a convex combination of a fixed and “small” family of high-min-entropy sources. For encryption this family is {Enc⁡(Ub,k)}k\{\operatorname{Enc}(U_b,k)\}_k; for secret sharing we see no analogous family in general. Unfortunately, any attempt to try to do this has to restrict the share size or the key size to be nearly bb.

For secret sharing, the object that is private (one share) and the object that determines the message (both shares) are different. A single share, as a function of the message, need not be injective, and may even be constant.

Our counter-example exploits exactly this difference as we will explain below.

The three-key gadget. Let V=F2bV = \mathbb{F}_{2^b} (which has the same additive structure as F2b\mathbb{F}_2^b) and let α∉{0,1}\alpha\notin\{0,1\} be any fixed element of F2b\mathbb{F}_{2^b}. For every index i∈Vi \in V there are three keys. The *central key CiC_i shares mm as (i+m,α⋅i+m)(i+m,\alpha\cdot i+m), where addition and multiplication are in F2b\mathbb{F}_{2^b}; each share is a one-time-padded copy of mm, and together they determine mm. The left key LiL_i gives the first party the same share i+mi+m and gives the second party a dummy iˉ\bar{i}, a tagged copy of the index ii. The tagged values {iˉ:i∈F2b}\{\bar{i}:i\in\mathbb{F}_{2^b}\} are distinct from the untagged values in F2b\mathbb{F}_{2^b}. The right key RiR_i is symmetric, and gives the first party the share iˉ\bar{i}, and the second party the share α⋅i+m\alpha\cdot i+m. The sources in our class are the uniform distributions on sets of keys that contain, for each ii, either the single key CiC_i or the pair {Li,Ri}\{L_i,R_i\}; there are 22b2^{2^b} of them.

Let us first see why this scheme is a perfect 2-out-of-2 secret sharing scheme. Clearly, given either (i) i+mi+m and α⋅i+m\alpha\cdot i+m, or (ii) i+mi+m and iˉ\bar{i}, or (iii) iˉ\bar{i} and α⋅i+m\alpha\cdot i+m, it is straightforward to recover mm.

Now we argue that neither share reveals any information about the message. Consider a source KK in the class, uniform on a set ZZ of keys. Let T⊆F2bT\subseteq\mathbb{F}_{2^b} be the set of indices ii with Ci∈ZC_i\in Z, so that F2b∖T\mathbb{F}_{2^b}\setminus T is the set of indices ii with Li,Ri∈ZL_i,R_i\in Z.

Then, for any fixed message mm, the first share is uniformly distributed over the set

{i+m:i∈T}∪{i+m:i∈F2b∖T}∪{iˉ:i∈F2b∖T},\{i+m:i\in T\}\cup\{i+m:i\in\mathbb{F}_{2^b}\setminus T\}\cup\{\bar{i}:i\in\mathbb{F}_{2^b}\setminus T\},

where the three sets correspond to center keys, left keys, and right keys. This implies that the first share is uniform over F2b∪{iˉ:i∈F2b∖T}\mathbb{F}_{2^b}\cup\{\bar{i}:i\in\mathbb{F}_{2^b}\setminus T\}, and hence is independent of the message mm.

The argument for why the second share is independent of the message mm is identical.

Parity defeats every extractor. We now explain why there is no deterministic extractor that extracts even a single bit from all such randomness sources. For convenience, we will view a candidate one-bit extractor as a labelling hh of the keys by {−1,+1}\{-1,+1\}.

Notice that a valid randomness source KK is random over some set of keys ZZ, and this set ZZ contains, for each index ii, either CiC_i, or both LiL_i and RiR_i. Thus, for hh to be an extractor, the output of hh must be (almost) unbiased regardless of whether ZZ contains CiC_i or both LiL_i and RiR_i for any index ii. In other words, we want

∑k∈Zh(k)∣Z∣\frac{\sum_{k\in Z}h(k)}{|Z|}

to be small.

We will argue that for any given hh, there exists a choice of ZZ for which the above mentioned bias is a constant.

At index ii the two allowed choices contribute h(Ci)h(C_i) or h(Li)+h(Ri)h(L_i)+h(R_i) to the signed sum. Their difference h(Ci)−h(Li)−h(Ri)h(C_i)-h(L_i)-h(R_i) is a sum of three ±1\pm1 values, and is hence odd, i.e. one of {+1,+3,−1,−3}\{+1,+3,-1,-3\}.

Let QQ contain CiC_i for every index ii with h(Ci)−h(Li)−h(Ri)>0h(C_i)-h(L_i)-h(R_i)>0, and both LiL_i and RiR_i for every other index, and let QcQ^c be the set of the remaining keys, which makes the other choice at every index. Both QQ and QcQ^c are valid choices of ZZ, and

∑k∈Qh(k)−∑k∈Qch(k)=∑i∣h(Ci)−h(Li)−h(Ri)∣≥2b,∣Q∣+∣Qc∣=3⋅2b.\sum_{k\in Q}h(k)-\sum_{k\in Q^c}h(k)=\sum_i\left|h(C_i)-h(L_i)-h(R_i)\right|\geq2^b,\qquad|Q|+|Q^c|=3\cdot2^b.

So one of the two sources has normalized signed sum at least 1/31/3 in absolute value, that is, statistical error at least 1/61/6.

Related work

The separation of Dodis, Pietrzak, and Przydatek [8] shares a single bit; its entropy amplification enlarges the randomness space while retaining that message space. The small-message counterexamples for encryption in [3] yield sharing counterexamples as well, so the long-secret regime is essential to our claim. Randomness requirements of other primitives have been studied too: Santha–Vazirani and min-entropy sources fail already for one-bit encryption [12, 7], computational assumptions can partially substitute for extraction [11], and in [1], the authors prove impossibility results for encryption, commitment and zero knowledge under efficient online tampering with the random tape.

Dodis and Yao [10 Definition 9, Theorem 4(c), and Remark 2] derive a different, weak extraction consequence from secret sharing. Their extractor may output a failure symbol, and the lower bound on its success probability is required under the uniform input distribution rather than under every allowed source. This does not give the deterministic extraction considered here. The positive results of [2] require leakage resilience or non-malleability; Theorem 3.4 shows the one-bit leakage attack on our scheme that their theorem predicts.

Yao and Li [YL25] state an extraction implication for ordinary threshold secret sharing. Their Proposition 2 extends the encryption reduction by applying privacy to the complete tuple of shares, whereas ordinary sharing hides only unauthorized subsets and the full tuple determines the message. Section A identifies the step that fails, and shows that the proposition itself is false for sharing.

Organization. § 2 contains definitions. § 3 proves Theorem 1.1. § 4 considers two-out-of-nn sharing and § 5 extends the result to rr-out-of-rr secret sharing.

Definitions

All logarithms are base two. For a nonempty finite set AA, write UAU_A for the uniform distribution on AA, and abbreviate U{0,1}ℓU_{\{0,1\}^{\ell}} by UℓU_{\ell}. For distributions PP, P′P' on the same finite set, the total variational distance (also called statistical distance, or statistical error) is defined as

TV⁡(P,P′)=12∑x∣P(x)−P′(x)∣=max⁡A∣P(A)−P′(A)∣.\operatorname{TV}(P,P') = \frac{1}{2}\sum_x \lvert P(x)-P'(x)\rvert= \max_A \lvert P(A)-P'(A)\rvert.

For a random variable XX we write TV⁡(X,P′)\operatorname{TV}(X,P') for the distance between the distribution of XX and P′P'. The min-entropy of PP is H∞(P)=−log⁡max⁡xP(x)H_{\infty}(P)=-\log\max_x P(x). A flat distribution is uniform on a nonempty subset of its domain.

Definition 2.1 (Threshold sharing from a source class). Let K\mathcal{K} be a finite key set, M\mathcal{M} a message set, and S\mathcal{S} a class of distributions on K\mathcal{K}. A tt-out-of-nn sharing scheme Π\Pi consists of a deterministic map

Shr⁡=(Shr⁡1,…,Shr⁡n):M×K→C1×⋯×Cn\operatorname{Shr}=(\operatorname{Shr}_1,\ldots,\operatorname{Shr}_n):\mathcal{M}\times\mathcal{K}\to\mathcal{C}_1\times\cdots\times\mathcal{C}_n

together with a reconstruction map for every set of at least tt parties. The dealer takes one sample KK from an unknown P∈SP\in\mathcal{S} and outputs Shr⁡(m,K)\operatorname{Shr}(m,K); there is no other randomness. For J⊆[n]J\subseteq[n] write Shr⁡J\operatorname{Shr}_J for the shares of the parties in JJ.

  • Π\Pi is perfectly correct if, for every JJ with ∣J∣≥t\lvert J\rvert\ge t, all m∈Mm\in\mathcal{M}, and all k∈Kk\in\mathcal{K}, the reconstruction map Rec⁡J\operatorname{Rec}_J satisfies

Rec⁡J(Shr⁡J(m,k))=m.\operatorname{Rec}_J(\operatorname{Shr}_J(m,k))=m.
  • Π\Pi is δ\delta-private for S\mathcal{S} if for every P∈SP\in\mathcal{S}, every JJ with ∣J∣<t\lvert J\rvert<t, and all m,m′∈Mm,m'\in\mathcal{M},

TV⁡(Shr⁡J(m,K),Shr⁡J(m′,K))≤δ,K∼P.\operatorname{TV}(\operatorname{Shr}_J(m,K),\operatorname{Shr}_J(m',K))\le\delta,\qquad K\sim P.

It is perfectly private if δ=0\delta=0.

For t=n=2t=n=2 we write F=Shr1F=\mathrm{Shr}_1 and G=Shr2G=\mathrm{Shr}_2.

The distribution of a share may depend on PP; it must not depend on the message.

Definition 2.2 (Extraction error). For Ext⁡:K→[D]\operatorname{Ext}:\mathcal{K}\to[D] and a class S\mathcal{S} of distributions on K\mathcal{K}, let

err⁡(Ext⁡,S)=sup⁡P∈STV⁡(Ext⁡(K),U[D]),K∼P.\operatorname{err}(\operatorname{Ext},\mathcal{S})=\sup_{P\in\mathcal{S}}\operatorname{TV}\left(\operatorname{Ext}(K),U_{[D]}\right),\qquad K\sim P.

The class is (ℓ,ε)(\ell,\varepsilon)-extractable if some Ext⁡:K→{0,1}ℓ\operatorname{Ext}:\mathcal{K}\to\{0,1\}^{\ell} has err⁡(Ext⁡,S)≤ε\operatorname{err}(\operatorname{Ext},\mathcal{S})\le\varepsilon.

This is the formulation of [3, 2]. Composing an ℓ\ell-bit extractor with the projection to its first bit does not increase the error, so a lower bound on one-bit error applies to every output length.

The construction

Let b≥2b\ge2, V=F2bV=\mathbb{F}_{2^b} and B=2bB=2^b. Fix an α∈F2b∖{0,1}\alpha\in\mathbb{F}_{2^b}\setminus\{0,1\}.

The key set is K={L,R,C}×V\mathcal{K}=\{L,R,C\}\times V, and we write Li,Ri,CiL_i,R_i,C_i for (L,i),(R,i),(C,i)(L,i),(R,i),(C,i). Both share alphabets are {0,1}×V\{0,1\}\times V; we write xx for (0,x)(0,x) and xˉ\bar{x} for (1,x)(1,x), and call the latter tagged. The bar is a formal tag, not an operation on VV. The message set is M=V\mathcal{M}=V, and the scheme Πb\Pi_b shares m∈Vm\in V as follows:

key kkF(m,k)F(m,k)G(m,k)G(m,k)
LiL_ii+mi+miˉ\bar{i}
RiR_iiˉ\bar{i}α⋅i+m\alpha\cdot i+m
CiC_ii+mi+mα⋅i+m\alpha\cdot i+m

Table 1.

For every T⊆VT\subseteq V define

ΩT={Ci:i∈T}∪{Li,Ri:i∉T},ZT=∣ΩT∣=2B−∣T∣,PT=UΩT.(1)\Omega_T=\{C_i:i\in T\}\cup\{L_i,R_i:i\notin T\},\qquad Z_T=|\Omega_T|=2B-|T|,\qquad P_T=U_{\Omega_T}. \tag*{(1)}

The source class is Sb={PT:T⊆V}\mathcal{S}_b=\{P_T:T\subseteq V\}. It is fixed once and for all, independently of the message and of any candidate extractor. Since B≤ZT≤2BB\le Z_T\le2B, every PTP_T is flat with min-entropy at least bb.

Correctness, privacy, and non-extractability

Lemma 3.1 (Correctness). There is a map Rec⁡\operatorname{Rec} with Rec⁡(F(m,k),G(m,k))=m\operatorname{Rec}(F(m,k),G(m,k))=m for all m∈Vm\in V and k∈Kk\in\mathcal{K}.

Proof. The pattern of tags identifies the branch. If only the second share is tagged, the shares are (x,iˉ)(x,\bar{i}) with x=i+mx=i+m, and Rec⁡\operatorname{Rec} outputs x+ix+i. If only the first share is tagged, the shares are (iˉ,y)(\bar{i},y) with y=α⋅i+my=\alpha\cdot i+m, and Rec⁡\operatorname{Rec} outputs y+α⋅iy+\alpha\cdot i. If neither share is tagged, the shares are (x,y)=(i+m,α⋅i+m)(x,y)=(i+m,\alpha\cdot i+m), so y+α⋅x=(α+1)⋅my+\alpha\cdot x=(\alpha+1)\cdot m and Rec⁡\operatorname{Rec} outputs (α⋅x+y)/(α+1)(\alpha\cdot x+y)/(\alpha+1).

Lemma 3.2 (Privacy). For every T⊆VT\subseteq V and every m∈Vm\in V, if K∼PTK\sim P_T then each of F(m,K)F(m,K) and G(m,K)G(m,K) is uniform on

V∪{iˉ:i∉T}.(2)V\cup\{\bar{i}:i\notin T\}. \tag*{(2)}

In particular Πb\Pi_b is perfectly private for Sb\mathcal{S}_b.

Proof. Fix TT and mm. For each ii, exactly one of Li,CiL_i, C_i lies in ΩT\Omega_T, and either key has first share i+mi+m. As i↦i+mi \mapsto i+m is a permutation of VV, each untagged value has probability exactly 1/ZT1/Z_T. The tagged first shares arise from the keys RiR_i with i∉Ti \notin T; each value iˉ\bar{i} with i∉Ti \notin T has probability 1/ZT1/Z_T. For the second share the argument is the same: exactly one of Ri,CiR_i, C_i lies in ΩT\Omega_T, either key has second share α⋅i+m\alpha\cdot i+m, and i↦α⋅i+mi \mapsto\alpha\cdot i+m is a permutation because α≠0\alpha\ne0; the tagged values come from LiL_i, i∉Ti \notin T. The set (2), on which each share is uniform over, does not depend on mm.

Lemma 3.3 (No bit can be extracted). For every Ext⁡:K→{0,1}\operatorname{Ext}: K \to\{0,1\} there is T⊆VT \subseteq V such that Ext has statistical error at least 1/61/6 on PTP_T or on PTcP_{T^c}, where Tc=V∖TT^c = V \setminus T.

Proof. Let h(k)=(−1)Ext⁡(k)h(k)=(-1)^{\operatorname{Ext}(k)} and, for T⊆VT \subseteq V, let

HT:=∑k∈ΩTh(k)=∑i∈Th(Ci)+∑i∈Tc(h(Li)+h(Ri)).H_T := \sum_{k\in\Omega_T} h(k) = \sum_{i\in T} h(C_i) + \sum_{i\in T^c} \bigl(h(L_i)+h(R_i)\bigr).

For K∼PTK \sim P_T the distance of Ext⁡(K)\operatorname{Ext}(K) from U1U_1 equals ∣HT∣/(2ZT)|H_T|/(2Z_T). For each i∈Vi \in V the integer

vi=h(Ci)−h(Li)−h(Ri)v_i = h(C_i)-h(L_i)-h(R_i)

is a sum of three odd numbers and is therefore odd; in particular ∣vi∣≥1|v_i| \ge1. Let T={i:vi>0}T=\{i:v_i>0\}. Then, Tc={i:vi<0}T^c=\{i:v_i<0\}. In particular, for each i∈Ti \in T, viv_i is either 11 or 33, and for each ii in TcT^c, viv_i is either −1-1, or −3-3. Then

HT−HTc=∑i∈Tvi−∑i∉Tvi=∑i∈V∣vi∣≥B,ZT+ZTc=3B.H_T-H_{T^c}=\sum_{i\in T}v_i-\sum_{i\notin T}v_i=\sum_{i\in V}|v_i|\ge B,\qquad Z_T+Z_{T^c}=3B.

Consequently

max⁡{∣HT∣ZT,∣HTc∣ZTc}≥∣HT∣+∣HTc∣ZT+ZTc≥HT−HTc3B≥13.(3)\max\left\{\frac{|H_T|}{Z_T},\frac{|H_{T^c}|}{Z_{T^c}}\right\}\ge\frac{|H_T|+|H_{T^c}|}{Z_T+Z_{T^c}}\ge\frac{H_T-H_{T^c}}{3B}\ge\frac{1}{3}. \tag*{(3)}

and the source corresponding to the maximum (ΩT\Omega_T or ΩTc\Omega_{T^c}) has error at least 1/61/6.

Bit strings and running time

Proof of Theorem 1.1. Encode a key by two branch bits followed by the bb-bit index, and a share by its tag bit followed by bb bits. Three of the four branches are LL, RR, CC. To define the scheme on all of {0,1}b+2\{0,1\}^{b+2}, let the fourth branch consist of keys Cˉi\bar{C}_i, tagged copies of the central keys, with

Shr⁡(m,Cˉi)=(i+m‾,α⋅i+m‾).\operatorname{Shr}(m,\bar{C}_i)=\left(\overline{i+m},\overline{\alpha\cdot i+m}\right).

on two tagged shares, Rec removes the tags and applies the rule of the central branch. Correctness on KK is Theorem 3.1. Every PTP_T assigns probability zero to the fourth branch, so Theorem 3.2 gives privacy. The set TT in Theorem 3.3 depends only on the restriction of the extractor to KK, so the lemma applies verbatim to functions on {0,1}b+2\{0,1\}^{b+2}, and the remark after Theorem 2.2 extends it to every output length. Items 1 and 2 are immediate.

The running time for sharing and reconstruction algorithms is immediate from the construction.

Remark 3.4 (Consistency with the leakage-resilient case). By [2], a class that supports a two-out-of-two scheme resisting one bit of leakage from each share is extractable, so Πb\Pi_b must be vulnerable to such leakage. It is. Write lsb⁡(z)\operatorname{lsb}(z) for the least significant bit of z∈Vz \in V in a fixed basis over F2\mathbb{F}_2, which is F2\mathbb{F}_2-linear in zz. For untagged shares xx and yy of the two parties let f(x)=lsb⁡(α⋅x)f(x)=\operatorname{lsb}(\alpha\cdot x)

and g(y)=lsb⁡(y)g(y) = \operatorname{lsb}(y) (on tagged shares ff and gg may be arbitrary). Under the source PVP_V, which is uniform on the central keys, the two leaked bits satisfy

f(i+m)+g(α⋅i+m)=lsb⁡((α+1)⋅m)for every i,f(i+m)+g(\alpha\cdot i+m)=\operatorname{lsb}((\alpha+1)\cdot m)\qquad\text{for every }i,

which is a nontrivial linear functional of the secret. Hence the leakage distributions of two secrets on which this functional differs have disjoint supports.

Two-out-of-nn sharing

We now extend the construction of § 3 from two to n≥2n \ge2 parties, keeping the threshold at two. The left and right keys become nn side keys, one for each party, and the central key is repeated n−1n-1 times.

The construction

Let n≥2n \ge2 and let bb satisfy 2b>n2^b > n. Let V=F2bV=\mathbb{F}_2^b and B=2bB=2^b, and fix distinct nonzero elements α1,…,αn∈V\alpha_1,\ldots,\alpha_n\in V, which exist because 2b−1≥n2^b-1\ge n. For every index i∈Vi\in V there are 2n−12n-1 keys: n−1n-1 central keys Ci(1),…,Ci(n−1)C_i^{(1)},\ldots,C_i^{(n-1)} and nn side keys Xi(1),…,Xi(n)X_i^{(1)},\ldots,X_i^{(n)}. The key set is

Kn={Ci(c):c∈[n−1], i∈V}∪{Xi(j):j∈[n], i∈V},∣Kn∣=(2n−1)B.\mathcal{K}_n=\{C_i^{(c)}:c\in[n-1],\,i\in V\}\cup\{X_i^{(j)}:j\in[n],\,i\in V\},\qquad|\mathcal{K}_n|=(2n-1)B.

As in § 3, the message set is VV, every share alphabet is {0,1}×V\{0,1\}\times V, and we write xx for the untagged value (0,x)(0,x) and xˉ\bar{x} for the tagged value (1,x)(1,x). The scheme Πb,n\Pi_{b,n} gives party j∈[n]j\in[n] the share

Shr⁡j(m,Ci(c))=αji+m,Shr⁡j(m,Xi(j′))={iˉif j=j′,αji+mif j≠j′.(4)\operatorname{Shr}_j(m,C_i^{(c)})=\alpha_j i+m,\qquad\operatorname{Shr}_j(m,X_i^{(j')})= \begin{cases} \bar{i} & \text{if }j=j',\\ \alpha_j i+m & \text{if }j\ne j'. \end{cases} \tag*{(4)}

Thus every central key gives every party its true share αji+m\alpha_j i+m, and the side key Xi(j′)X_i^{(j')} gives party j′j' the dummy iˉ\bar{i} and every other party its true share. The n−1n-1 central keys at an index give identical shares; they differ only as keys. For n=2n=2, with α1=1\alpha_1=1 and α2=α\alpha_2=\alpha, this is the scheme Πb\Pi_b of (1), with Ci=Ci(1)C_i=C_i^{(1)}, Li=Xi(2)L_i=X_i^{(2)}, and Ri=Xi(1)R_i=X_i^{(1)}.

For every T⊆VT\subseteq V define

ΩT={Ci(c):i∈T, c∈[n−1]}∪{Xi(j):i∉T, j∈[n]},\Omega_T=\{C_i^{(c)}:i\in T,\,c\in[n-1]\}\cup\{X_i^{(j)}:i\notin T,\,j\in[n]\},
ZT=∣ΩT∣=nB−∣T∣,PT=UΩT.(5)Z_T=|\Omega_T|=nB-|T|,\qquad P_T=U_{\Omega_T}. \tag*{(5)}

The source class is Sb,n={PT:T⊆V}\mathcal{S}_{b,n}=\{P_T:T\subseteq V\}. As in § 3, at every index a source contains either all central keys or all side keys, and for n=2n=2 these are the sources of (1). Since (n−1)B≤ZT≤nB(n-1)B\le Z_T\le nB, every PTP_T is flat with min-entropy at least b+log⁡(n−1)b+\log(n-1).

The number of central keys is dictated by privacy. Fix a party jj. At an index i∉Ti\notin T, party jj receives its true share αji+m\alpha_j i+m from the n−1n-1 side keys Xi(j′)X_i^{(j')} with j′≠jj'\ne j, and a dummy from Xi(j)X_i^{(j)}. The n−1n-1 central keys make it receive its true share equally often at an index i∈Ti\in T, and therefore every untagged value is equally likely, whatever TT and mm are.

Theorem 4.1. Let n≥2n\ge2 and let bb satisfy 2b>n2^b>n. The scheme Πb,n\Pi_{b,n} is a perfectly correct two-out-of-nn scheme for bb-bit messages that is perfectly private for Sb,n\mathcal{S}_{b,n}, and:

  1. each share has b+1b+1 bits, and the key set Kn\mathcal{K}_n has (2n−1)2b(2n-1)2^b elements;

  1. every distribution in Sb,nS_{b,n} is uniform on a set of between (n−1)2b(n-1)2^b and n2bn2^b keys, and hence has min-entropy at least b+log⁡(n−1)b+\log(n-1);

  1. for every ℓ≥1\ell\ge1 and every function Ext⁡:Kn→{0,1}ℓ\operatorname{Ext}: \mathcal{K}_n \to\{0,1\}^{\ell},

max⁡P∈Sb,nTV⁡(Ext⁡(K),Uℓ)≥14n−2,K∼P;\max_{P \in S_{b,n}} \operatorname{TV}(\operatorname{Ext}(K), U_{\ell}) \ge\frac{1}{4n-2}, \qquad K \sim P;
  1. for ℓ=1\ell=1, some function of the index ii alone attains equality in item 3.

For n=2n=2 the scheme is Πb\Pi_b and the bound is the 1/6 of Theorem 1.1; item 4 shows that this bound is exact for SbS_b.

Correctness, privacy, and non-extractability

Lemma 4.2 (Correctness). For any two distinct parties j,j′j,j' there is a map Rec⁡{j,j′}\operatorname{Rec}_{\{j,j'\}} such that

Rec⁡{j,j′}(Shr⁡j(m,k),Shr⁡j′(m,k))=mfor all m∈V and k∈Kn.\operatorname{Rec}_{\{j,j'\}}\bigl(\operatorname{Shr}_{j}(m,k),\operatorname{Shr}_{j'}(m,k)\bigr)=m \qquad\text{for all }m\in V\text{ and }k\in\mathcal{K}_n.

Proof. No key gives a dummy to two parties, so at least one of the two shares is untagged, and, as in Theorem 3.1, the pattern of tags identifies the case. If party jj holds the dummy iˉ\bar{i} and party j′j' holds y=αj′i+my=\alpha_{j'}i+m, then Rec⁡{j,j′}\operatorname{Rec}_{\{j,j'\}} outputs y+αj′iy+\alpha_{j'}i; the case in which party j′j' holds the dummy is symmetric. If neither share is tagged, the shares are x=αji+mx=\alpha_j i+m and y=αj′i+my=\alpha_{j'}i+m, so x+y=(αj+αj′)ix+y=(\alpha_j+\alpha_{j'})i with αj≠αj′\alpha_j\ne\alpha_{j'}, and Rec⁡{j,j′}\operatorname{Rec}_{\{j,j'\}} outputs x+αj(x+y)/(αj+αj′)x+\alpha_j(x+y)/(\alpha_j+\alpha_{j'}).

Lemma 4.3 (Privacy). For every T⊆VT\subseteq V, every m∈Vm\in V, and every party jj, if K∼PTK\sim P_T then Shr⁡j(m,K)\operatorname{Shr}_j(m,K) takes each untagged value x∈Vx\in V with probability (n−1)/ZT(n-1)/Z_T and each tagged value iˉ\bar{i} with i∉Ti\notin T with probability 1/ZT1/Z_T. In particular Πb,n\Pi_{b,n} is perfectly private for Sb,nS_{b,n}.

Proof. Fix TT, mm, and jj. For each i∈Vi\in V, exactly n−1n-1 keys of ΩT\Omega_T at index ii give party jj the share αji+m\alpha_j i+m: the central keys Ci(1),…,Ci(n−1)C_i^{(1)},\ldots,C_i^{(n-1)} if i∈Ti\in T, and the side keys Xi(j′)X_i^{(j')} with j′≠jj'\ne j if i∉Ti\notin T. Since αj≠0\alpha_j\ne0, the map i↦αji+mi\mapsto\alpha_j i+m is a permutation of VV, so each untagged value has probability exactly (n−1)/ZT(n-1)/Z_T. The tagged shares of party jj come from the keys Xi(j)X_i^{(j)} with i∉Ti\notin T, one for each such ii. This distribution does not depend on mm.

For n=2n=2 the distribution is uniform, as in Theorem 3.2; for n≥3n\ge3 it is not uniform, but it still does not depend on the message.

Lemma 4.4 (No bit can be extracted). For every Ext⁡:Kn→{0,1}\operatorname{Ext}:\mathcal{K}_n\to\{0,1\} there is T⊆VT\subseteq V such that Ext⁡\operatorname{Ext} has statistical error at least 1/(4n−2)1/(4n-2) on PTP_T or on PTcP_{T^c}. Conversely, some Ext⁡\operatorname{Ext} that depends only on the index ii has error at most 1/(4n−2)1/(4n-2) on every source in Sb,nS_{b,n}, with equality for some source.

Proof. The first statement is proved exactly as Theorem 3.3, with the n−1n-1 central keys in place of CiC_i and the nn side keys in place of LiL_i, RiR_i. Let h(k)=(−1)Ext⁡(k)h(k)=(-1)^{\operatorname{Ext}(k)} and HT=∑k∈ΩTh(k)H_T=\sum_{k\in\Omega_T}h(k), so that Ext⁡\operatorname{Ext} has error ∣HT∣/(2ZT)\lvert H_T\rvert/(2Z_T) on PTP_T. For each i∈Vi\in V the integer

vi=∑c∈[n−1]h(Ci(c))−∑j∈[n]h(Xi(j))v_i=\sum_{c\in[n-1]}h\bigl(C_i^{(c)}\bigr)-\sum_{j\in[n]}h\bigl(X_i^{(j)}\bigr)

is a sum of 2n−12n-1 odd numbers and is therefore odd; in particular ∣vi∣≥1\lvert v_i\rvert\ge1. With T={i:vi>0}T=\{i:v_i>0\} we get, as in the proof of Theorem 3.3,

HT−HTc=∑i∈V∣vi∣≥B,ZT+ZTc=(2n−1)B,H_T-H_{T^c}=\sum_{i\in V}\lvert v_i\rvert\ge B,\qquad Z_T+Z_{T^c}=(2n-1)B,

and (4) becomes max⁡{∣HT∣/ZT,∣HTc∣/ZTc}≥1/(2n−1)\max\{|H_T|/Z_T, |H_{T^c}|/Z_{T^c}\} \ge1/(2n-1). So Ext has error at least 1/(4n−2)1/(4n-2) on PTP_T or on PTcP_{T^c}.

For the second statement, let g:V→{0,1}g: V \to\{0,1\} be balanced and let Ext⁡(k)=g(i)\operatorname{Ext}(k)=g(i) for every key kk at index ii. Fix TT. Under PTP_T, index ii carries wiw_i keys, where wi=n−1w_i=n-1 if i∈Ti\in T and wi=nw_i=n otherwise. With Aβ=∑i:g(i)=βwiA_\beta=\sum_{i:g(i)=\beta}w_i we have Pr⁡[Ext⁡(K)=1]=A1/(A0+A1)\Pr[\operatorname{Ext}(K)=1]=A_1/(A_0+A_1), and both A0A_0 and A1A_1 lie between (n−1)B/2(n-1)B/2 and nB/2nB/2. Hence Pr⁡[Ext⁡(K)=1]\Pr[\operatorname{Ext}(K)=1] lies between (n−1)/(2n−1)(n-1)/(2n-1) and n/(2n−1)n/(2n-1), so the error is at most 1/(4n−2)1/(4n-2), with equality for T=g−1(0)T=g^{-1}(0).

Theorems 4.2 to 4.4 prove Theorem 4.1: a set of more than two parties reconstructs from any two of its members, and the remark after Theorem 2.2 extends Theorem 4.4 to ℓ\ell output bits.

r-out-of-r secret sharing

We now extend our result to rr-out-of-rr secret sharing. Fix r≥2r\ge2 and b≥rb\ge r. Let V=F2bV=\mathbb{F}_2^b, B=2bB=2^b, and N=Br−1N=B^{r-1}, and fix γ1,…,γr∈V\gamma_1,\ldots,\gamma_r\in V linearly independent over F2\mathbb{F}_2. Such γ1,…,γr\gamma_1,\ldots,\gamma_r exist because b≥rb\ge r. The index is now a vector u=(u1,…,ur−1)∈Vr−1u=(u_1,\ldots,u_{r-1})\in V^{r-1}, and the pad of party jj is

pj(u)=uj(j<r),pr(u)=u1+⋯+ur−1.p_j(u)=u_j\quad(j<r),\qquad p_r(u)=u_1+\cdots+u_{r-1}.

We use two properties of the pads:

(P1) p1(u)+⋯+pr(u)=0p_1(u)+\cdots+p_r(u)=0 for every uu;

(P2) for every set JJ of r−1r-1 parties, the map pJ(u)=(pj(u))j∈Jp_J(u)=(p_j(u))_{j\in J} is a bijection from Vr−1V^{r-1} to VJV^J.

A key is a pair (u,S)(u,S) with u∈Vr−1u\in V^{r-1} and ∅≠S⊆[r]\varnothing\ne S\subseteq[r]; let K(r)K^{(r)} be the set of keys. The message set is VV, and the scheme Πb(r)\Pi_b^{(r)} shares m∈Vm\in V as

Shr⁡j(m,(u,S))={pj(u)+γjmif j∈S,pj(u)if j∉S.(6)\operatorname{Shr}_j(m,(u,S))= \begin{cases} p_j(u)+\gamma_jm & \text{if }j\in S,\\ p_j(u) & \text{if }j\notin S. \end{cases} \tag*{(6)}

We say that the key (u,S)(u,S) activates the parties in SS. Thus an active party receives its pad plus a multiple of the secret, and an inactive party receives its pad, tagged, as a dummy. For a share xx or xˉ\bar{x} we call x∈Vx\in V its value.

Let Or\mathcal{O}_r be the family of subsets of [r][r] of odd size and Er\mathcal{E}_r the family of nonempty subsets of even size, so that ∣Or∣=2r−1|\mathcal{O}_r|=2^{r-1} and ∣Er∣=2r−1−1|\mathcal{E}_r|=2^{r-1}-1. For every T⊆Vr−1T\subseteq V^{r-1} define

ΩT={(u,S):u∈T, S∈Or}∪{(u,S):u∉T, S∈Er},ZT=∣ΩT∣=(2r−1−1)N+∣T∣,PT=UΩT.(7)\Omega_T=\{(u,S):u\in T,\ S\in\mathcal{O}_r\}\cup\{(u,S):u\notin T,\ S\in\mathcal{E}_r\}, \qquad Z_T=|\Omega_T|=(2^{r-1}-1)N+|T|, \qquad P_T=U_{\Omega_T}. \tag*{(7)}

The source class is Sb(r)={PT:T⊆Vr−1}\mathcal{S}_b^{(r)}=\{P_T:T\subseteq V^{r-1}\}. At every index a source contains either the 2r−12^{r-1} keys with an odd set or the 2r−1−12^{r-1}-1 keys with a nonempty even set, just as in § 3 it contains either CiC_i or Li,RiL_i,R_i.

For r=2r=2 we have O2={{1},{2}}\mathcal{O}_2=\{\{1\},\{2\}\} and E2={{1,2}}\mathcal{E}_2=\{\{1,2\}\}, and both pads equal uu. Take γ1=1\gamma_1=1 and γ2=α−1\gamma_2=\alpha^{-1}, which are linearly independent over F2\mathbb{F}_2 because α∉{0,1}\alpha\notin\{0,1\}. After multiplying the untagged shares of party 2 by α\alpha, the keys (u,{1})(u,\{1\}), (u,{2})(u,\{2\}), and (u,{1,2})(u,\{1,2\}) become LuL_u, RuR_u, and CuC_u of (1), and PTP_T becomes the source PV∖TP_{V\setminus T} of § 3. For r=3r=3 the seven keys at an index are the three singletons and {1,2,3}\{1,2,3\}, used at indices in TT, and the three pairs, used at indices outside TT.

Theorem 5.1 (rr-out-of-rr). Let r≥2r \ge2 and b≥rb \ge r. The scheme Πb(r)\Pi_b^{(r)} is a perfectly correct rr-out-of-rr scheme for bb-bit messages that is perfectly private for Sb(r)\mathcal{S}_b^{(r)}, and:

  1. each share has b+1b+1 bits, and the key set K(r)\mathcal{K}^{(r)} has (2r−1)2(r−1)b(2^r-1)2^{(r-1)b} elements;

  1. every distribution in Sb(r)\mathcal{S}_b^{(r)} is uniform on a set of between (2r−1−1)N(2^{r-1}-1)N and 2r−1N2^{r-1}N keys, and hence has min-entropy at least (r−1)b+log⁡(2r−1−1)(r-1)b+\log(2^{r-1}-1);

  1. for every ℓ≥1\ell\ge1 and every function Ext⁡:K(r)→{0,1}ℓ\operatorname{Ext}:\mathcal{K}^{(r)} \to\{0,1\}^{\ell},

max⁡P∈Sb(r)TV⁡(Ext⁡(K),Uℓ)≥12(2r−1),K∼P;\max_{P \in\mathcal{S}_b^{(r)}} \operatorname{TV}(\operatorname{Ext}(K),U_{\ell}) \ge\frac{1}{2(2^r-1)}, \qquad K \sim P;
  1. for ℓ=1\ell=1, some function of the index uu alone attains equality in item 3.

For r=2r=2 the bound is 1/61/6, as in Theorem 1.1, and for r=3r=3 it is 1/141/14.

Lemma 5.2 (Correctness). For every m∈Vm \in V and every key (u,S)(u,S), the values z1,…,zrz_1,\ldots,z_r of the rr shares satisfy

z1+⋯+zr=(∑j∈Sγj)m,z_1+\cdots+z_r=\left(\sum_{j\in S}\gamma_j\right)m,

and the coefficient of mm is nonzero. Hence the rr shares determine mm.

Proof. By (6), zj=pj(u)+γjmz_j=p_j(u)+\gamma_jm for j∈Sj\in S and zj=pj(u)z_j=p_j(u) for j∉Sj\notin S, so the identity follows from (P1). The coefficient ∑j∈Sγj\sum_{j\in S}\gamma_j is nonzero because SS is nonempty and the γj\gamma_j are linearly independent over F2\mathbb{F}_2. The tags reveal SS, so Rec computes this coefficient and divides by it. □

Lemma 5.3 (Privacy). Let JJ be a set of r−1r-1 parties. Record the shares of JJ as the pair (R,z)(R,z), where R=S∩JR=S\cap J is the tag pattern and z∈VJz\in V^J is the vector of values. For every T⊆Vr−1T\subseteq V^{r-1} and every m∈Vm\in V, if K∼PTK\sim P_T then (R,z)(R,z) is uniform on the set

{(R,z):∅≠R⊆J, z∈VJ}∪{(∅,z):z∈pJ(T)},(8)\{(R,z):\varnothing\ne R\subseteq J,\ z\in V^J\}\cup\{(\varnothing,z):z\in p_J(T)\}, \tag*{(8)}

which has size ZTZ_T and does not depend on mm. In particular Πb(r)\Pi_b^{(r)} is perfectly private for Sb(r)\mathcal{S}_b^{(r)}.

Proof. Fix TT and mm, and let j0j_0 be the party outside JJ. Fix a nonempty R⊆JR\subseteq J. A key (u,S)(u,S) shows JJ the tag pattern RR, that is, S∩J=RS\cap J=R, exactly when S=RS=R or S=R∪{j0}S=R\cup\{j_0\}. These two sets are nonempty and have different parities, so one of them lies in OrO_r and the other in ErE_r. Hence ΩT\Omega_T contains exactly one key at index uu that shows JJ the pattern RR, whether or not u∈Tu\in T. That key gives JJ the values pJ(u)+(1[j∈R]γjm)j∈Jp_J(u)+(\mathbf{1}[j\in R]\gamma_jm)_{j\in J}, which by (P2) run over Vr−1V^{r-1} exactly once as uu runs over Vr−1V^{r-1}. For the empty pattern, the key must activate {j0}\{j_0\}, which is odd; so ΩT\Omega_T contains such a key at index uu exactly when u∈Tu\in T, and it gives JJ the values pJ(u)p_J(u), which do not involve mm. Altogether, every element of (8) is produced by exactly one key of ΩT\Omega_T. A coalition of fewer than r−1r-1 parties sees a projection of the shares of a coalition of r−1r-1 parties, and so its view does not depend on mm either. □

Lemma 5.4 (No bit can be extracted). For every Ext⁡:K(r)→{0,1}\operatorname{Ext}:\mathcal{K}^{(r)}\to\{0,1\} there is T⊆Vr−1T\subseteq V^{r-1} such that Ext⁡\operatorname{Ext} has statistical error at least 1/(2(2r−1))1/(2(2^r-1)) on PTP_T or on PTcP_{T^c}. Conversely, some Ext⁡\operatorname{Ext} that depends only on the index uu has error at most 1/(2(2r−1))1/(2(2^r-1)) on every source in Sb(r)\mathcal{S}_b^{(r)}, with equality for some source.

Proof. This is the proof of Theorem 4.4, with the 2r−12^{r-1} keys (u,S)(u,S), S∈OrS \in O_r, in place of the central keys at an index and the 2r−1−12^{r-1}-1 keys (u,S)(u,S), S∈ErS \in E_r, in place of the side keys. Now

vu=∑S∈Orh(u,S)−∑S∈Erh(u,S)v_u = \sum_{S \in O_r} h(u,S) - \sum_{S \in E_r} h(u,S)

is a sum of 2r−12^r-1 odd numbers, hence odd, and ZT+ZTc=(2r−1)NZ_T+Z_{T^c}=(2^r-1)N, which gives the first statement. For the second, under every PTP_T each index carries 2r−1−12^{r-1}-1 or 2r−12^r-1 keys, and the computation in the proof of Theorem 4.4, with n−1n-1 and nn replaced by these two numbers, shows that a balanced function gg of uu has error at most 1/(2(2r−1))1/(2(2^r-1)), with equality for T=g−1(1)T=g^{-1}(1).

Combining Theorems 5.2 to 5.4, we prove Theorem 5.1; the remark after Theorem 2.2 extends Theorem 5.4 to ℓ\ell output bits.

Relation to the reductions of [2]. A (t,n,t′,n′)(t,n,t',n')-distribution design hands each of nn new parties the shares of a set of old parties of a (t′,n′)(t',n')-scheme, so that any tt new parties together hold the shares of at least t′t' old parties, and any t−1t-1 new parties hold the shares of fewer than t′t'. It converts every (t′,n′)(t',n')-scheme into a (t,n)(t,n)-scheme with the same keys, and hence private for the same source class. For t=n=2t=n=2 such a design exists whenever 2≤t′≤n′2 \leq t' \leq n': give the first new party the shares of old parties 1,…,t′−11,\ldots,t'-1 and the second the share of old party t′t'. Consequently a separation for any (t′,n′)(t',n') implies one for (2,2)(2,2). Designs do not go in the other direction, so neither Theorem 4.1 for n≥3n \geq3 nor Theorem 5.1 for r≥3r \geq3 can be derived from Theorem 1.1 in this way. A (2,3,2,2)(2,3,2,2)-design would give three new parties subsets of {1,2}\{1,2\} of size at most one whose pairwise unions all equal {1,2}\{1,2\}, and no such subsets exist; and in an (r,r,2,2)(r,r,2,2)-design with r≥3r \geq3, some r−1r-1 of the rr subsets would already cover {1,2}\{1,2\}.

Acknowledgments

This section is primarily an acknowledgment of defeat. Divesh Aggarwal (the person whose name appears as an author on this paper, henceforth DA) pursued this problem for more than ten years as a curiosity question, and discussed it with many people, including Yevgeniy Dodis, Maciej Obremski, Mingyuan Wang, Eldon Chung, Tomasz Kazana, Arka Rai Choudhuri, and Siyao Guo.

Throughout this period the conjecture was that every source that supports two-out-of-two secret sharing is extractable, with the lingering thought that an extractor, if it existed, could not be very complicated, so that the failure to find one hinted at a counterexample. All attempts to prove the conjecture or to find a counterexample failed.

In [2], DA and coauthors considered a relaxation in which the scheme is additionally leakage-resilient or non-malleable, and a straightforward argument showed that every source supporting such a scheme is extractable.

Between June and August 2026, DA made several attempts to find an extractor with ChatGPT 5.5 Pro and ChatGPT 5.6 Pro/Ultra. In most of these attempts the model was fairly convinced that a deterministic extractor exists, and it proposed constructions that worked in every case except a special one.

In September 2026, the same question was posed to ChatGPT 6.0, which, after several attempts at a proof, stated that the conjecture is false and found a simple counterexample. Subsequent prompts generalized and cleaned up the counterexample, with Claude Fable 5.1 joining the effort. The paper was written with the assistance of Claude Fable 5.1; DA has verified everything to the best of his ability and takes full responsibility for the text.

Comparison with a statement of Yao and Li

This appendix concerns only the implication for ordinary secret sharing in [YL25]; statement numbers and hypotheses follow the published journal version, against which this appendix has been checked. We record the comparison because Theorem 1.1 is incompatible with that implication, and we indicate the step at which the argument departs from the encryption case.

Their Definition 4 requires privacy for unauthorized subsets. Definition 5 sets ψ(m,k)=Shr⁡(m,k)\psi(m,k)=\operatorname{Shr}(m,k), the entire tuple of shares, and calls the scheme perfectly binding when ψ(m,k)\psi(m,k) is injective in mm for each fixed kk. Perfect reconstruction implies this condition. They define Dk=ψ(Ub,k)D_k=\psi(U_b,k) and Z={Dk:k∈{0,1}d}\mathcal{Z}=\{D_k:k\in\{0,1\}^d\}, denoted D\mathcal{D} there. Proposition 2 states that an ℓ\ell-bit extractor ff for Z\mathcal{Z} with error ε\varepsilon yields an extractor for the original class of key sources with error δ+ε\delta+\varepsilon, namely

Ext⁡~(k)=f(ψ(0b,k)).(9)\widetilde{\operatorname{Ext}}(k)=f(\psi(0^b,k)). \tag*{(9)}

The proof substitutes ψ\psi for encryption in [3 Lemma 1]. That lemma needs the full output on a fixed message to be close to the full output on a uniform message. For sharing, perfect reconstruction gives instead

TV⁡(Shr⁡(0b,K),Shr⁡(Ub,K))=1−2−b(10)\operatorname{TV}(\operatorname{Shr}(0^b,K),\operatorname{Shr}(U_b,K))=1-2^{-b} \tag*{(10)}

for every key distribution, because the distributions of the full tuple under different messages have disjoint supports. Concretely, for 1≤ℓ≤b1\leq\ell\leq b let ff reconstruct the message from the tuple and output its first ℓ\ell bits, with arbitrary values outside the range of ψ\psi. Then f(Dk)=Uℓf(D_k)=U_\ell for every kk, while (10) is the constant 0ℓ0^\ell. The error is in the statement, not only in the proof: the scheme of Theorem 1.1 is, in their terminology, (Sb,δ)(S_b,\delta)-secure for every δ>0\delta>0, and with this ff the family Z\mathcal{Z} is (1,0)(1,0)-extractable, so Proposition 2 would make SbS_b (1,δ)(1,\delta)-extractable for every δ>0\delta>0, which Theorem 1.1 excludes for δ<1/6\delta<1/6. Theorems 5 and 8 of [YL25] combine Proposition 2 with extraction statements for Z\mathcal{Z} and fail for threshold sharing in the same way.

References

  1. [1][ACM+14] Per Austrin, Kai-Min Chung, Mohammad Mahmoudy, Rafael Pass, and Karn Seth. On the impossibility of cryptography with tamperable randomness. In Advances in Cryptology—CRYPTO 2014, Part I, volume 8616 of Lecture Notes in Computer Science, pages 462–479. Springer, 2014.
  2. [2][ACOR22] Divesh Aggarwal, Eldon Chung, Maciej Obremski, and João Ribeiro. On secret sharing, randomness, and random-less reductions for secret sharing. In Theory of Cryptography (TCC 2022), Part I, volume 13747 of Lecture Notes in Computer Science, pages 327–354. Springer, 2022.DOI
  3. [3][BD07] Carl Bosley and Evgeniy Dodis. Does privacy require true randomness? In Theory of Cryptography (TCC 2007), volume 4392 of Lecture Notes in Computer Science, pages 1–20. Springer, 2007.DOI
  4. [4][Bla79] George R. Blakley. Safeguarding cryptographic keys. In Proceedings of the National Computer Conference, volume 48 of AFIPS Conference Proceedings, pages 313–317, 1979.
  5. [6][Chu24] Eldon Chung. Thinking Inside the Box: Privacy Against Stronger Adversaries. PhD thesis, National University of Singapore, 2024. arXiv:2406.16313.arxiv.org/abs/2406.16313
  6. [7][DOPS04] Yevgeniy Dodis, Shien Jin Ong, Manoj Prabhakaran, and Amit Sahai. On the (im)possibility of cryptography with imperfect randomness. In 45th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 196–205. IEEE Computer Society, 2004.DOI
  7. [8][DPP06] Yevgeniy Dodis, Krzysztof Pietrzak, and Bartosz Przydatek. Separating sources for encryption and secret sharing. In Theory of Cryptography (TCC 2006), volume 3876 of Lecture Notes in Computer Science, pages 601–616. Springer, 2006.
  8. [9][DS02] Yevgeniy Dodis and Joel Spencer. On the (non)universality of the one-time pad. In 43rd Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 376–385. IEEE Computer Society, 2002.DOI
  9. [10][DY15] Yevgeniy Dodis and Yanqing Yao. Privacy with imperfect randomness. In Advances in Cryptology—CRYPTO 2015, Part II, volume 9216 of Lecture Notes in Computer Science, pages 463–482. Springer, 2015.
  10. [11][KLR09] Yael Tauman Kalai, Xin Li, and Anup Rao. 2-source extractors under computational assumptions and cryptography with defective randomness. In 50th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 617–626. IEEE Computer Society, 2009.DOI
  11. [12][MP91] James L. McInnes and Benny Pinkas. On the impossibility of private key cryptography with weakly random keys. In Advances in Cryptology—CRYPTO ’90, volume 537 of Lecture Notes in Computer Science, pages 421–435. Springer, 1991.
  12. [13][Sha49] Claude E. Shannon. Communication theory of secrecy systems. Bell System Technical Journal, 28(4):656–715, 1949.DOI

Paper details

vlnc:W_a3njt3ns
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC0-1.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Claude Fable 5.1 (bare)

View statement
Looking for related papers…
Contents