|
In this paper, we study $ k $-dimensional double-twisted Reed-Solomon (DTRS) codes over the finite fields $ \mathbb{F}_q $, with twists $ {\mathit{\boldsymbol{t}}} = (1, 2) $ and hooks $ {\mathit{\boldsymbol{h}}} = (h_0, h_1) $ where $ 0 \leq h_0 \leq h_{1}\leq k-1 $. We give necessary and sufficient conditions for such DTRS codes to be either MDS or AMDS. In addition, we provide a SageMath implementation of these conditions. We also give some examples of such DTRS codes along with their counting. Further, we show the existence of the hull of dimensions up to $ 3 $ for such codes. In particular, we give the existence of LCD and non-LCD DTRS codes for all possible hooks.
| Citation: |
|
Table 1.
Number of
| $ q $ | $ n $ | $ h_0 $ | $ h_1 $ | $ k =2 $ | $ k=3 $ | $ k=4 $ | $ k=5 $ | $ q $ | $ n $ | $ h_0 $ | $ h_1 $ | $ k =2 $ | $ k=3 $ | $ k=4 $ | $ k=5 $ | |
| $ 5 $ | $ 4 $ | $ 0 $ | $ 0 $ | $ 72 $ | $ 8 $ | $ 4 $ | $ 0 $ | $ 1 $ | $ 3325 $ | |||||||
| $ 5 $ | $ 4 $ | $ 0 $ | $ 1 $ | $ 62 $ | $ 8 $ | $ 5 $ | $ 0 $ | $ 1 $ | $ 2534 $ | $ 2464 $ | ||||||
| $ 5 $ | $ 4 $ | $ 1 $ | $ 1 $ | $ 64 $ | $ 8 $ | $ 6 $ | $ 0 $ | $ 1 $ | $ 1162 $ | $ 952 $ | $ 1162 $ | |||||
| $ 7 $ | $ 4 $ | $ 0 $ | $ 0 $ | $ 1188 $ | $ 8 $ | $ 7 $ | $ 0 $ | $ 1 $ | $ 287 $ | $ 133 $ | $ 182 $ | $ 378 $ | ||||
| $ 7 $ | $ 5 $ | $ 0 $ | $ 0 $ | $ 648 $ | $ 720 $ | $ 8 $ | $ 5 $ | $ 0 $ | $ 2 $ | $ 2506 $ | ||||||
| $ 7 $ | $ 6 $ | $ 0 $ | $ 0 $ | $ 180 $ | $ 216 $ | $ 240 $ | $ 8 $ | $ 6 $ | $ 0 $ | $ 2 $ | $ 1050 $ | $ 1162 $ | ||||
| $ 7 $ | $ 4 $ | $ 0 $ | $ 1 $ | $ 1146 $ | $ 8 $ | $ 7 $ | $ 0 $ | $ 2 $ | $ 189 $ | $ 203 $ | $ 378 $ | |||||
| $ 7 $ | $ 5 $ | $ 0 $ | $ 1 $ | $ 600 $ | $ 696 $ | $ 8 $ | $ 6 $ | $ 0 $ | $ 3 $ | $ 1204 $ | ||||||
| $ 7 $ | $ 6 $ | $ 0 $ | $ 1 $ | $ 156 $ | $ 200 $ | $ 213 $ | $ 8 $ | $ 7 $ | $ 0 $ | $ 3 $ | $ 238 $ | $ 378 $ | ||||
| $ 7 $ | $ 5 $ | $ 0 $ | $ 2 $ | $ 738 $ | $ 8 $ | $ 7 $ | $ 0 $ | $ 4 $ | $ 378 $ | |||||||
| $ 7 $ | $ 6 $ | $ 0 $ | $ 2 $ | $ 234 $ | $ 240 $ | $ 8 $ | $ 4 $ | $ 1 $ | $ 1 $ | $ 3220 $ | ||||||
| $ 7 $ | $ 6 $ | $ 0 $ | $ 3 $ | $ 213 $ | $ 8 $ | $ 5 $ | $ 1 $ | $ 1 $ | $ 2324 $ | $ 2548 $ | ||||||
| $ 7 $ | $ 4 $ | $ 1 $ | $ 1 $ | $ 1140 $ | $ 8 $ | $ 6 $ | $ 1 $ | $ 1 $ | $ 952 $ | $ 1078 $ | $ 1225 $ | |||||
| $ 7 $ | $ 5 $ | $ 1 $ | $ 1 $ | $ 576 $ | $ 666 $ | $ 8 $ | $ 7 $ | $ 1 $ | $ 1 $ | $ 182 $ | $ 196 $ | $ 266 $ | $ 336 $ | |||
| $ 7 $ | $ 6 $ | $ 1 $ | $ 1 $ | $ 138 $ | $ 168 $ | $ 216 $ | $ 8 $ | $ 5 $ | $ 1 $ | $ 2 $ | $ 2576 $ | |||||
| $ 7 $ | $ 5 $ | $ 1 $ | $ 2 $ | $ 648 $ | $ 8 $ | $ 6 $ | $ 1 $ | $ 2 $ | $ 1141 $ | $ 1246 $ |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| $ 1225 $ | $ 8 $ | $ 7 $ | $ 3 $ | $ 4 $ | $ 336 $ | |||||||
| $ 8 $ | $ 7 $ | $ 3 $ | $ 3 $ | $ 245 $ | $ 336 $ | $ 8 $ | $ 7 $ | $ 4 $ | $ 4 $ | $ 336 $ |
| [1] |
P. Beelen, M. Bossert, S. Puchinger and J. Rosenkilde, Structural properties of twisted Reed-Solomon codes with applications to cryptography, IEEE Int. Symp. Inform. Theory (ISIT), (2018), 946-950.
|
| [2] |
P. Beelen, S. Puchinger and J. R. Nielsen, Twisted Reed-Solomon codes, IEEE Int. Symp. Inform. Theory (ISIT), (2017), 336-340.
|
| [3] |
J. Bringer, C. Carlet, H. Chabanne, S. Guilley and H. Maghrebi, Orthogonal direct sum masking: A smartcard friendly computation paradigm in a code, with builtin protection against side-channel and fault attacks, Lecture Notes in Computer Science, 8501 (2014), 40-56.
doi: 10.1007/978-3-662-43826-8_4.
|
| [4] |
A. R. Calderbank, E. M. Rains, P. W. Shor and N. J. A. Sloane, Quantum error correction via codes over GF(4), IEEE Trans. Inform. Theory, 44 (1998), 1369-1387.
doi: 10.1109/18.681315.
|
| [5] |
C. Carlet and S. Guilley, Complementary dual codes for counter-measures to side-channel attacks, Adv. Math. Commun., 10 (2016), 131-150.
doi: 10.3934/amc.2016.10.131.
|
| [6] |
C. Carlet, S. Mesnager, C. Tang, Y. Qi and R. Pellikaan, Linear codes over $\mathbb{F}_q$ are equivalent to LCD codes for $q > 3$, IEEE Trans. Inform. Theory, 64 (2018), 3010-3017.
doi: 10.1109/TIT.2018.2789347.
|
| [7] |
B. Chen and H. Liu, New constructions of MDS codes with complementary duals, IEEE Trans. Inform. Theory, 64 (2018), 5776-5782.
doi: 10.1109/TIT.2017.2748955.
|
| [8] |
A. G. Dimakis, P. B. Godfrey, Y. Wu, M. J. Wainwright and K. Ramchandran, Network coding for distributed storage systems, IEEE Trans. Inform. Theory, 56 (2010), 4539-4551.
doi: 10.1109/TIT.2010.2054295.
|
| [9] |
Y. Ding and S. Zhu, New self-dual codes from TGRS codes with general $\ell$ twists, Adv. Math. Commun., 19 (2025), 662-675.
doi: 10.3934/amc.2024017.
|
| [10] |
H. Q. Dinh, B. T. Nguyen and H. L. Thi, AMDS constacyclic codes and quantum AMDS codes, Filomat, 38 (2024), 11889-11912.
doi: 10.2298/FIL2433889D.
|
| [11] |
A. Faldum and W. Willems, Codes of small defect, Des. Codes Cryptogr., 10 (1997), 341-350.
doi: 10.1023/A:1008247720662.
|
| [12] |
W. Fang, F. Fu, L. Li and S. Zhu, Euclidean and Hermitian hulls of MDS codes and their applications to EAQECCs, IEEE Trans. Inform. Theory, 66 (2020), 3527-3537.
doi: 10.1109/TIT.2019.2950245.
|
| [13] |
X. Geng, M. Yang, J. Zhang and Z. Zhou, A class of almost MDS codes, Finite Fields Appl., 79 (2022), Paper No. 101996, 10 pp.
doi: 10.1016/j.ffa.2022.101996.
|
| [14] |
H. Gu and J. Zhang, On twisted generalized Reed-Solomon codes with $\ell$ twists, IEEE Trans. Inform. Theory, 70 (2024), 145-153.
doi: 10.1109/TIT.2023.3314059.
|
| [15] |
B. He and Q. Liao, The error-correcting pair for TGRS codes, Discrete Math., 346 (2023), Paper No. 113497, 12 pp.
doi: 10.1016/j.disc.2023.113497.
|
| [16] |
Z. Heng, C. Li and X. Wang, Constructions of MDS, near MDS and almost MDS codes from cyclic subgroups of $\mathbb{F}_{q^2}^*$, IEEE Trans. Inform. Theory, 68 (2022), 7817-7831.
doi: 10.1109/TIT.2022.3194914.
|
| [17] |
D. Huang, Q. Yue and Y. Niu, MDS or NMDS LCD codes from Reed-Solomon codes, Cryptogr. Commun., 15 (2023), 221-237.
doi: 10.1007/s12095-022-00564-9.
|
| [18] |
D. Huang, Q. Yue, Y. Niu and X. Li, MDS or NMDS self-dual codes from twisted generalized Reed-Solomon codes, Des. Codes Cryptogr., 89 (2021), 2195-2209.
doi: 10.1007/s10623-021-00910-7.
|
| [19] |
L. Jin, Construction of MDS codes with complementary duals, IEEE Trans. Inform. Theory, 63 (2017), 2843-2847.
|
| [20] |
J. Lavauzelle and J. Renner, Cryptanalysis of a system based on twisted Reed-Solomon codes, Des. Codes Cryptogr., 88 (2020), 1285-1300.
doi: 10.1007/s10623-020-00747-6.
|
| [21] |
J. S. Leon, Computing automorphism groups of error-correcting codes, IEEE Trans. Inform. Theory, 28 (1982), 496-511.
doi: 10.1109/TIT.1982.1056498.
|
| [22] |
J. S. Leon, Permutation group algorithms based on partitions, Ⅰ: Theory and algorithms, J. Symbolic Comput., 12 (1991), 533-583.
doi: 10.1016/S0747-7171(08)80103-4.
|
| [23] |
C. Li and P. Zeng, Constructions of linear codes with one-dimensional hull, IEEE Trans. Inform. Theory, 65 (2019), 1668-1676.
doi: 10.1109/TIT.2018.2863693.
|
| [24] |
H. Liu and S. Liu, Construction of MDS twisted Reed-Solomon codes and LCD MDS codes, Des. Codes Cryptogr., 89 (2021), 2051-2065.
doi: 10.1007/s10623-021-00899-z.
|
| [25] |
G. Luo, X. Cao and X. Chen, MDS codes with hulls of arbitrary dimensions and their quantum error correction, IEEE Trans. Inform. Theory, 65 (2019), 2944-2952.
doi: 10.1109/TIT.2018.2874953.
|
| [26] |
D. J. C. MacKay, Good error-correcting codes based on very sparse matrices, IEEE Trans. Inform. Theory, 45 (1999), 399-431.
doi: 10.1109/18.748992.
|
| [27] |
F. J. MacWilliams and N. J. A. Sloane, The Theory of Error-Correcting Codes, I, North-Holland Math. Library, Vol. 16, North-Holland Publishing Co., Amsterdam-New York-Oxford, 1977.
|
| [28] |
J. L. Massey, Linear codes with complementary duals, Discrete Math., 106/107 (1992), 337-342.
doi: 10.1016/0012-365X(92)90563-U.
|
| [29] |
K. C. Meena, M. Bhaintwal, A. Awasthi and R. K. Sharma, Double-twisted Reed-Solomon codes with twists $(1, 3)$ and general hooks over finite fields, Cryptogr. Commun., 17 (2025), 1543-1567.
doi: 10.1007/s12095-025-00822-6.
|
| [30] |
K. C. Meena, P. Pachauri, A. Awasthi and M. Bhaintwal, A class of triple-twisted GRS codes, Des. Codes Cryptogr., 93 (2025), 2369-2393.
doi: 10.1007/s10623-025-01595-y.
|
| [31] |
V. Pless, Introduction to the Theory of Error-Correcting Codes, Wiley-Intersci. Publ., John Wiley & Sons, Inc., New York, 1998.
|
| [32] |
I. S. Reed and G. Solomon, Polynomial codes over certain finite fields, J. Soc. Indust. Appl. Math., 8 (1960), 300-304.
doi: 10.1137/0108018.
|
| [33] |
R. M. Roth, Introduction to Coding Theory, Cambridge University Press, 2006.
|
| [34] |
N. Sendrier, On the dimension of the hull, SIAM J. Discrete Math., 10 (1997), 282-293.
doi: 10.1137/S0895480195294027.
|
| [35] |
N. Sendrier, Finding the permutation between equivalent linear codes: The support splitting algorithm, IEEE Trans. Inform. Theory, 46 (2000), 1193-1203.
doi: 10.1109/18.850662.
|
| [36] |
N. Sendrier and G. Skersys, On the computation of the automorphism group of a linear code, Proc. IEEE Int. Symp. Inform. Theory, 2001, 1-13.
|
| [37] |
X. Shi, Q. Yue and S. Yang, New LCD MDS codes constructed from generalized Reed-Solomon codes, J. Algebra Appl., 18 (2019), 1950150, 23 pp.
doi: 10.1142/S0219498819501500.
|
| [38] |
H. Singh and K. C. Meena, MDS multi-twisted Reed-Solomon codes with small dimensional hull, Cryptogr. Commun., 16 (2024), 557-578.
doi: 10.1007/s12095-023-00688-6.
|
| [39] |
J. Sui, Q. Yue, X. Li and D. Huang, MDS, near-MDS or 2-MDS self-dual codes via twisted generalized Reed-Solomon codes, IEEE Trans. Inform. Theory, 68 (2022), 7832-7841.
doi: 10.1109/TIT.2022.3190676.
|
| [40] |
J. Sui, X. Zhu and X. Shi, MDS and near-MDS codes via twisted Reed-Solomon codes, Des. Codes Cryptogr., 90 (2022), 1937-1958.
doi: 10.1007/s10623-022-01049-9.
|
| [41] |
C. Tang and C. Ding, An infinite family of linear codes supporting $4$-designs, IEEE Trans. Inform. Theory, 67 (2021), 244-254.
doi: 10.1109/TIT.2020.3032600.
|
| [42] |
Y. Wu, Twisted Reed-Solomon codes with one-dimensional hull, IEEE Commun. Lett., 25 (2021), 383-386.
doi: 10.1109/LCOMM.2020.3025178.
|
| [43] |
Y. Wu, J. Y. Hyun and Y. Lee, New LCD MDS codes of non-Reed-Solomon type, IEEE Trans. Inform. Theory, 67 (2021), 5069-5078.
doi: 10.1109/TIT.2021.3086818.
|
| [44] |
H. Xu, X. Wu, W. Lu and X. Cao, Infinite families of MDS and almost MDS codes from BCH codes, preprint, 2023, arXiv: 2312.11995.
|
| [45] |
G. Xu, X. Cao and L. Qu, Infinite families of 3-designs and 2-designs from almost MDS codes, IEEE Trans. Inform. Theory, 68 (2022), 4344-4353.
doi: 10.1109/TIT.2022.3157199.
|
| [46] |
H. Xu, X. Wu, W. Lu and X. Cao, The dual codes of two families of BCH codes, preprint, 2024, arXiv: 2410.15070.
|
| [47] |
S. Yang, J. Wang and Y. Wu, Two classes of twisted generalized Reed-Solomon codes with two twists, Finite Fields Appl., 104 (2025), Paper No. 102595, 33 pp.
doi: 10.1016/j.ffa.2025.102595.
|
| [48] |
J. Zhang, Z. Zhou and C. Tang, A class of twisted generalized Reed-Solomon codes, Des. Codes Cryptogr., 90 (2022), 1649-1658.
doi: 10.1007/s10623-022-01064-w.
|
| [49] |
C. Zhao, W. Ma, T. Yan and Y. Sun, Research on the construction of maximum distance separable codes via arbitrary twisted generalized Reed-Solomon codes, IEEE Trans. Inform. Theory, 71 (2025), 5130-5143.
doi: 10.1109/TIT.2025.3563664.
|
| [50] |
Y. Zhou, F. Wang, Y. Xin, S. Luo, S. Qing and Y. Yang, A secret sharing scheme based on near-MDS codes, Proc. IC-NIDC, 2009,833-836.
|
| [51] |
C. Zhu and Q. Liao, A class of double-twisted generalized Reed-Solomon codes, Finite Fields Appl., 95 (2024), Paper No. 102395, 29 pp.
doi: 10.1016/j.ffa.2024.102395.
|