Manuscript Offprint
arXiv:2610.06312Cryptanalysis of a Class of Ideal Secret Sharing Schemes Based on the CRT for Polynomial Rings
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Jian Ding, Zhiyuan Guo, Hongju Li, and Yuying Man
Abstract—Based on the CRT for polynomial rings, Yang, Zhu, Fu and Xia (ISIT 2026) proposed a compartmented secret sharing scheme for the compartmented access structure with lower bounds, claiming it can be ideal. We exhibit three families of unauthorized subsets that reconstruct the secret. The scheme is therefore insecure, except for a degenerate choice of parameters in which the only authorized subset is the whole participant set. The flaw in the security analysis is that it does not take all published polynomials into account. Similar flaws appear in the same first author's hierarchical schemes (ISIT 2024, 2026).
Index Terms—Ideal secret sharing, compartmented secret sharing, hierarchical secret sharing, Chinese Remainder Theorem, cryptanalysis.
I. INTRODUCTION
In a secret sharing scheme (SSS) [1], [2], a dealer splits a secret into shares and distributes them among a set P of n participants, in such a way that the authorized subsets of P can reconstruct the secret while the unauthorized ones cannot. The collection of all authorized subsets forms the access structure. An SSS is perfect if every unauthorized subset obtains no information about the secret, and ideal if it is perfect and has information rate one.
The first proposed secret sharing schemes [1], [2] have the -threshold access structure:
In such a scheme, all the participants play exactly the same role, and none of them is more privileged than another. Many applications, however, involve participants with different degree of trust. Compartmented access structures, introduced by Simmons [3], are suitable for this scenario. In a compartmented secret sharing scheme (CSSS), the participant set P is partitioned into compartments , each equipped with a threshold , and a global threshold t is imposed on P; the resulting compartmented access structure with lower bounds (LCAS) is
This work was supported in part by the National Natural Science Foundation of China (NSFC) Young Scientists Fund (Category C) under Grant No. 126011024, in part by Natural Science Research Project of Anhui Higher Education Institutions under Grants No. 2024AH051324 and No. 2025AHGXZK30056, and in part by Projects of Chaohu University under Grants No. KYQD-202220, No. 2024cxtd147 and No. hxkt20250327.
J. Ding, H. Li and Y. Man are with School of Mathematics and Big Data, Chaohu University, Hefei, China (e-mail: dingjian_happy@163.com, 058072@chu.edu.cn, yuying.man@aliyun.com).
Z. Guo is with School of Mathematics and Statistics, Hefei University, Hefei, China (e-mail: gzy_26105@163.com.)
Many ideal CSSSs for LCASs have been constructed from linear algebra [4], bivariate interpolation [5], polymatroid theory [6], [7], and coding theory [8]. However, some of these constructions have limitations. The construction of [4] requires checking the non-singularity of an exponential number of matrices. That of [5] is probabilistic and only statistically perfect. In contrast, the CRT-based construction over the integers [9] is non-ideal. Recently, Yang, Zhu, Fu and Xia [10] proposed an explicit CSSS for LCAS based on the CRT for polynomial rings. They claimed that it is perfect and can be made ideal by an appropriate choice of the moduli.
Our contributions. We point out that the scheme of [10] is insecure, and analyse the root cause of its insecurity. More precisely, we give the following contributions.
-
We exhibit three families of unauthorized subsets that reconstruct the secret (Theorem 1). The scheme is therefore insecure, for every choice of the parameters except the degenerate one in which the only authorized subset is P itself (Corollary 1).
-
We find that the flaw in the security analysis of [10] is its failure to take all the published polynomials into account. Similar flaws also appear in the hierarchical secret sharing schemes by the same first author [11], [12], whose security analysis omits the published polynomials in exactly the same way.
The rest of the paper is organised as follows. Section II introduces the basic notions of secret sharing and the CRT for polynomial rings. Section III reviews the scheme of [10]. Section IV presents the cryptanalysis, together with the root cause of the insecurity, and Section V concludes the paper.
- Share Distribution Phase: For any secret drawn from S and a certain random input selected from R, the dealer invokes the share generation algorithm
to allocate shares among the participants in P.
- Secret Reconstruction Phase: Any authorized subset is capable of reconstructing the secret through the secret reconstruction algorithm
whereas any unauthorized subset is not.
All authorized subsets form a set called the access structure. In the sequel, each participant is frequently identified with its index . For a positive integer we write , and so that .
Definition 2 (Compartmented Secret Sharing Scheme, [7]). Let be the set of all participants, partitioned by the dealer into disjoint compartments , i.e.,
Denote by the cardinality of a set. Let be positive integers such that
The compartmented access structure with lower bounds (LCAS) is
A Compartmented Secret Sharing Scheme (CSSS) for the LCAS with perfect security is a secret sharing scheme satisfying the following correctness and privacy requirements.
-
Correctness. The secret can be reconstructed from any authorized subset .
-
Privacy. No information about the secret can be obtained from any subset .
Throughout this paper we assume , the case reducing to a threshold access structure.
Lemma 1 (CRT for polynomial rings, [10]). Let be a prime, the finite field with elements, and the univariate polynomial ring over . Let be pairwise coprime, let , , and . Then, for any , the system of congruences , has the solution
If , then the solution is unique, and we denote it by
III. REVIEW OF THE SCHEME OF YANG ET AL.
Let be the set of all participants and let it be partitioned into disjoint compartments , where for . Set and , so that . The compartment thresholds satisfy for all , and the global threshold satisfies . The access structure is
For and , the v-th participant of is denoted by , which coincides with for . The scheme of [10] consists of the share distribution phase and the secret reconstruction phase.
- Share Distribution Phase.
Step 1. The dealer chooses a prime and an integer , and sets .
Step 2. chooses pairwise coprime polynomials , and assigns to with . Denote by and , then these polynomials satisfy
(i) and are coprime for all ;
(ii) , that is, ;
(iii) for all ;
(iv)
Step 3. publishes and for .
Step 4. chooses the secret uniformly at random from .
Step 5. chooses piece polynomials independently and uniformly from , and sets .
Step 6. For each , chooses uniformly from and forms the compartment secret polynomial
Step 7. chooses uniformly from and forms the global secret polynomial
Step 8. Each participant receives the share
and D publishes
- Secret Reconstruction Phase. Let and . For each the participants of pool their private shares and reconstruct
where for , and .
Next, the participants of A pool their private shares and public shares to reconstruct
where for , and .
Finally, for , and .
IV. CRYPTANALYSIS
Subsection IV-A points out that the scheme of [10] has a security flaw: some unauthorized subsets are able to reconstruct the secret. Subsection IV-B discusses the flaw in the security analysis of [10].
A. Unauthorized subsets that reconstruct the secret
For we write and . Denote by
For , we let and . Next, we present basic properties of the scheme of [10] in Lemmas 2 and 3. Based on these properties, we give attacks on their scheme in Theorem 1. We then show in Corollary 1 when these attacks apply to unauthorized subsets.
Lemma 2. Let and let be a positive integer. Then the following properties hold in the scheme of [10].
(i) and .
(ii) if .
(iii) .
(iv) .
(v)
Proof. (i) Recall that and , where , for , , and . Consequently, for , and .
(ii) Since , every satisfies . Therefore, if .
(iii) Since for , then
(iv) Since , then by the above item (ii).
(v) Recall that , and . Therefore,
Lemma 3. Denote by for , then the following properties hold in the scheme of [10].
(i) and
for .
(ii) Every participant can compute
(iii) If for some , then is computable from the public polynomials alone.
(iv) If is known, then every compartment secret polynomial , and hence the secret , is reconstructed from the public polynomials and .
Proof. (i) According to Lemma 2 item (i) and item (iii), we have , , and . Consequently, . Recall that for , hence
Namely, for .
(ii) Since for , then by the above item (i) we have
(iii) If for some , then by Lemma 2 item (ii). According to the above item (i), we have and for . Therefore, is computable from the public polynomials alone by Lemma 1.
(iv) From the above item (i) we have for . This shows that
By Lemma 2 item (i) and item (iv), it holds that . Therefore, compartment secret polynomials are recovered by Lemma 1 if is known. Consequently, the secret is reconstructed by Lemma 2 item (v).
Lemma 3 item (iv) shows that the polynomials are not independent, and the secret is a public function of the polynomial .
Theorem 1. In the scheme of [10], the participants in can reconstruct the secret if one of the following conditions holds, where and for .
(i)
(ii) and for some ;
(iii) and for some .
Note that every satisfies the conditions (i) and (ii), whereas each of the three conditions may also be satisfied by some unauthorized subset (see Corollary 1). Such an unauthorized subset can reconstruct the secret, although Yang, Zhu, Fu and Xia [10] claim that no unauthorized subset obtains any information about the secret.
Proof. Recall that and let be as in Lemma 3 item (ii). According to Lemma 3 item (iv), it suffices to prove that the global secret polynomial can be recovered from any one of the conditions.
Case (i). By Lemma 3 item (ii), the participants in establish the system of congruences
Since , from Lemma 2 item (i) and item (ii), we have
Therefore, is recovered by Lemma 1.
Case (ii). For a given , the participants in establish the system of congruences
Since , from Lemma 2 item (i) and item (ii), we have
Therefore, is recovered by Lemma 1. Based on this, the set can determine ( ) and ( ) ( ), where the first family of congruences is publicly known by Lemma 3 item (i), and the second family uses in Lemma 3 item (ii) and the recovered . Since and are disjoint and , these pairwise coprime moduli have total degree, by Lemma 2 item (ii),
Consequently, the polynomial is recovered by Lemma 1, and hence .
Case (iii). Since for some , the polynomial is publicly known by Lemma 3 item (iii). Recall that . Hence every , of whatever compartment, produces a residue of by Lemma 3 item (ii), namely
Since , we have by Lemma 2 item (i) and (ii). Therefore, the compartment secret polynomial is recovered, and hence .
Finally, let . Then , so the condition (i) holds. Moreover, for every , together with
shows that the condition (ii) holds as well.
Corollary 1. Each of the three conditions of Theorem 1 is satisfied by some unauthorized subset, in the following sense.
(i) If for some , then the subset consisting of all the participants outside together with participants of is unauthorized and satisfies Theorem 1 item (i).
(ii) If for some , then the subset consisting of participants of together with participants outside is unauthorized and satisfies Theorem 1 item (ii).
(iii) If for some , then any subset consisting of participants of is unauthorized and satisfies Theorem 1 item (iii).
Consequently, the scheme of [10] is insecure unless for all , in which case and .
Proof. Denote the subsets constructed in items (i)-(iii) be , and , respectively.
(i) Since , Theorem 1 item (i) holds, while shows that .
(ii) Since , we have , which ensures that the subset is well defined. Since and , Theorem 1 item (ii) holds. Now we show that . If , then , and for any (such a exists since ). If , then because . In both cases .
(iii) Since for some and , Theorem 1 item (iii) holds. Moreover, , which implies that for any (such a exists since ), so .
Finally, assume that the scheme is secure. By the above item (ii), for all . Hence , and implies . Since every authorized subset satisfies for all , it follows that for all . Therefore .
Remark 1. Theorem 1 item (i) shows that the compartment thresholds play no role at all: any t participants reconstruct the secret, so the family of sets that can reconstruct the secret contains , and the scheme realises at most a -threshold access structure. Theorem 1 item (iii) is more damaging still: as soon as one compartment satisfies , any participants reconstruct the secret, and the scheme realises at most the -threshold access structure. Since may be as small as 1, the scheme may be broken by a single participant.
B. The flaw in the security analysis
In the perfectness argument of [10] (Lemmas III.1, III.2 and Theorem III.3 therein), for an unauthorized subset with for some , or with , the following sets are introduced:
and
The participants in choose a polynomial randomly from for some , or a polynomial randomly from , and then compute or to obtain the secret. Yang et al. conclude that, from the adversary's point of view, the secret is uniformly distributed on .
Note that the congruences defining involve only the shares of ; the published polynomials , do not appear. The congruences defining involve only the shares of and the partial published polynomials . However, by any reasonable definition of perfectness for a scheme with public data, the published polynomials are part of the adversary's view. Therefore, the fact that the sets and do not involve all the published polynomials is the flaw in the security analysis of [10].
Remark 2. Similar flaws also appear in the hierarchical secret sharing schemes of the same first author [11], [12], whose security analysis omits the published polynomials in exactly the same way.
V. CONCLUSION
We have shown that the compartmented secret sharing scheme of Yang, Zhu, Fu and Xia [10] is not perfect, and therefore not ideal. The scheme is insecure for every choice of the parameters except the trivial one in which the only authorized subset is P itself. Similar flaws also appear in the hierarchical secret sharing schemes of the same first author [11], [12]. It therefore remains an open problem to design an ideal CRT-based CSSS for LCASs and an ideal CRT-based hierarchical secret sharing scheme.
REFERENCES
[1] A. Shamir, “How to share a secret,” Commun. ACM, vol. 22, no. 11, pp. 612–613, 1979.
[2] G. R. Blakley, “Safeguarding cryptographic keys,” in 1979 International Workshop on Managing Requirements Knowledge (MARK), New York, NY, USA, 1979, pp. 313–318.
[3] G. J. Simmons, “How to (really) share a secret,” in Advances in Cryptology — CRYPTO’88, LNCS 403, pp. 390–448, Springer, 1990.
[4] E. F. Brickell, “Some ideal secret sharing schemes,” J. Combin. Math. Combin. Comput., vol. 9, pp. 105–113, 1989.
[5] T. Tassa and N. Dyn, “Multipartite secret sharing by bivariate interpolation,” J. Cryptology, vol. 22, no. 2, pp. 227–258, 2009.
[6] O. Farràs, J. Martí-Farré and C. Padró, “Ideal multipartite secret sharing schemes,” J. Cryptology, vol. 25, pp. 434–463, 2012.
[7] Q. Chen, C. Tang and Z. Lin, “Efficient explicit constructions of multipartite secret sharing schemes,” IEEE Trans. Inf. Theory, vol. 68, no. 1, pp. 601–631, 2022.
[8] Q. Chen, C. Tang and Z. Lin, “Compartmented secret sharing schemes and locally repairable codes,” IEEE Trans. Commun., vol. 68, no. 10, pp. 5976–5987, 2020.
[9] F. L. Tiplea and C. C. Drăgan, “Asymptotically ideal Chinese remainder theorem-based secret sharing schemes for multilevel and compartmented access structures,” IET Inf. Secur., vol. 15, no. 4, pp. 282–296, 2021.
[10] J. Yang, H. Zhu, F.-W. Fu and S.-T. Xia, “A new compartmented secret sharing scheme based on the CRT for polynomial rings,” in 2026 IEEE International Symposium on Information Theory (ISIT), Guangzhou, China, pp. 1–6, IEEE, 2026.
[11] J. Yang, S.-T. Xia, X. Wang, J. Yuan, and F.-W. Fu, “A perfect ideal hierarchical secret sharing scheme based on the CRT for Polynomial Rings,” in 2024 IEEE International Symposium on Information Theory (ISIT), Athens, Greece, pp.321-326. IEEE, 2024.
[12] J. Yang, H. Zhu, F.-W. Fu, and S.-T. Xia, “A New Hierarchical Secret Sharing Scheme Based on The CRT for Polynomial Rings,” in 2026 IEEE International Symposium on Information Theory (ISIT), Guangzhou, China, 2026, pp. 1-6.
Jian Ding received the MS degree in applied mathematics from Hefei University of Technology, China in 2010, and the PhD degree in Cyberspace Security from Fujian Normal University, China in 2022. He is currently a Professor at School of Mathematics and Big Data, Chaohu University, China. His research interests are in cryptography and network security, especially in secret sharing and its applications.
Zhiyuan Guo is currently a graduate student at School of Mathematics and Statistics, Hefei University, China. His research interests are in cryptography and network security, especially in secret sharing and its applications.
Hongju Li received the MS degree in statistics from Guilin University of Technology, China in 2010. She is currently a Associate Professor at School of Mathematics and Big Data, Chaohu University, China. Her research interests are in algebraic coding and cryptography.
Yuying Man received the MS degree in applied mathematics from South Central Minzu University, China in 2022, and the PhD degree in Mathematics from Hubei University, China in 2025. She is currently an Assistant Lecturer at School of Mathematics and Big Data, Chaohu University, China. Her research interests are in cryptography, especially in cryptographic functions.