Abstract
Linear codes with few weights have applications in secret sharing, authentication codes, association schemes, data storage systems, strongly regular graphs and some other fields. Two-weight linear codes are particularly interesting since they are closely related to finite geometry, combinatorial designs, graph theory. In this paper, we propose five classes of two-Lee-weight codes over the ring \(\mathbb {F}_{q}+u\mathbb {F}_{q}\). By the Gray map, we obtain five classes of linear codes with two weights over \(\mathbb {F}_{q}\) and these linear codes are optimal with respect to the Griesmer bound. As applications, we can employ these linear codes to construct secret sharing schemes with nice access structures.
Similar content being viewed by others
References
Ashikmin, A., Barg, A.: Minimal vectors in linear codes. IEEE Trans. Inf. Theory 44(5), 2010–2017 (1998)
Carlet, C., Ding, C., Yuan, J.: Linear codes from perfect nonlinear mappings and their secret sharing schemes. IEEE Trans. Inf. Theory 51(6), 2089–2102 (2005)
Calderbank, A., Kantor, W.: The geometry of two-weight codes. Bull. London Math. Soc. 18, 97–122 (1986)
Ding, C., Luo, J., Niederreiter, H.: Two-weight codes punctured from irreducible cyclic codes. Ser. Coding Theory Cryptol. 4, 119–124 (2008)
Ding, C., Niederreiter, H.: Cyclotomic linear codes of order 3. IEEE Trans. Inf. Theory 53(6), 2274–2277 (2007)
Ding, C.: Codes from difference sets. World Scientific (2015)
Ding, C., Yuan, J.: Covering and secret sharing with linear codes. In: Discrete Mathematics and Theoretical Computer Science, vol. 2731. Springer-Verlag, Berlin (2003)
Huffman, W., Pless, V.: Fundamentals of Error-correcting Codes. Cambridge University Press (2003)
Heng, Z., Yue, Q.: Several classes of cyclic codes with either optimal three weights or a few weights. IEEE Trans. Inf. Theory 62(8), 4501–4513 (2016)
Jaffe, D., Simonis, J.: New binary linear codes which are dual transforms of good codes. IEEE Trans. Inf. Theory 45(6), 2136–2137 (1999)
MacWilliams, F., Sloane, N.: The Theory of Error-correcting Codes. North-Holland (1977)
Li, C., Yue, Q., Li, F.: Hamming weights of the duals of cyclic codes with two zeros. IEEE Trans. Inf. Theory 60(7), 3895–3902 (2014)
Li, C., Yue, Q., Fu, F.: Complete weight enumerators of some cyclic codes. Des. Codes Crypt. 80(2), 295–315 (2016)
Li, C., Bae, S., Hao, D.: A construction of codes with linearity from two linear codes. Cryptogr. Commun. 9(1), 55–69 (2017)
Liu, H., Maouche, Y.: Several classes of trace codes with either optimal two weights or a few weights over \(\mathbb {F}_q+u\mathbb {F}_q\). arXiv:http://arXiv.org/abs/1703.04968
Liu, Y., Shi, M., Solé, P.: Two-weight and three weight codes from trace codes over \(\mathbb {F}_p+u\mathbb {F}_p+v\mathbb {F}_p+uv\mathbb {F}_p\). Discrete Math. https://doi.org/10.1016/j.disc.2017.09.003
Markus, G.: Bounds on the minimum distance of linear codes and quantum codes, [Online], Available: http://www.codetables.de
Shi, M., Guan, Y., Solé, P.: Two new families of two-weight codes. IEEE Trans. Inf. Theory 63(10), 6240–6246 (2017)
Shi, M., Liu, Y., Solé, P.: Optimal two-weight codes from trace codes over \(\mathbb {F}_2+u\mathbb {F}_2\). IEEE Commun. Lett. 20(12), 2346–2349 (2016)
Shi, M., Liu, Y., Solé, P.: Optimal binary codes from trace codes over a non-chain ring. Discrete Appl Math. 219, 176–181 (2017)
Shi, M., Qian, L., Solé, P.: New few weight codes from trace codes over a local Ring. Appl. Algebr. Eng. Comm. https://doi.org/10.1007/s00200-017-0345-8
Shi, M., Wu, R., Liu, Y., Solé, P.: Two and three weight codes over \(\mathbb {F}_p+u\mathbb {F}_p\). Cryptogr. Commun. 9(5), 637–646 (2017)
Shi, M., Wu, R., Qian, L., Lin, Sok., Solé, P.: New classes of p-ary few weight codes. Bull. Malays. Math. Sci. Soc. https://doi.org/10.1007/s40840-017-0553-1
Tang, C., Li, N., Qi, Y., Zhou, Z.: Linear codes with two or three weights from weakly regular bent functions. IEEE Trans. Inf. Theory 62(3), 1166–1176 (2015)
Yuan, J., Ding, C.: Secret sharing schemes from three classes of linear codes. IEEE Trans. Inf. Theory 52(1), 206–212 (2006)
Zhou, Z., Li, N., Fan, C., Helleseth, T.: Linear codes with two or three weights from quadratic Bent functions. Des. Codes Crypt. 81(2), 283–295 (2016)
Acknowledgments
We are grateful to the anonymous referees and the editor for useful comments and suggestions that improved the presentation and quality of this paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work was supported by the National Natural Science Foundations of China (Grant Nos. 11371011, 11771007 and 61572027)
Rights and permissions
About this article
Cite this article
Luo, G., Cao, X. Five classes of optimal two-weight linear codes. Cryptogr. Commun. 10, 1119–1135 (2018). https://doi.org/10.1007/s12095-017-0272-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12095-017-0272-3