Skip to main content
Log in

A class of three-weight linear codes and their complete weight enumerators

  • Published:
Cryptography and Communications Aims and scope Submit manuscript

Abstract

Recently, linear codes constructed from defining sets have been investigated extensively and they have many applications. In this paper, for an odd prime p, we propose a class of p-ary linear codes by choosing a proper defining set. Their weight enumerators and complete weight enumerators are presented explicitly. Our results show that they are linear codes with three weights and suitable for the constructions of authentication codes and secret sharing schemes.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Ahn, J., Ka, D., Li, C.: Complete weight enumerators of a class of linear codes, preprint (2016)

  2. Bae, S., Li, C., Yue, Q.: Some results on two-weight and three-weight linear codes, preprint (2015)

  3. Berndt, B.C., Evans, R.J., Williams, K.S.: Gauss and Jacobi Sums. Wiley, New York (1998)

    MATH  Google Scholar 

  4. Blake, I.F., Kith, K.: On the complete weight enumerator of Reed-Solomon codes. SIAM J. Discret. Math. 4(2), 164–171 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  5. 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)

    Article  MathSciNet  MATH  Google Scholar 

  6. Chu, W., Colbourn, C.J., Dukes, P.: On constant composition codes. Discret. Appl. Math. 154(6), 912–929 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  7. Ding, C.: Optimal constant composition codes from zero-difference balanced functions. IEEE Trans. Inf. Theory 54(12), 5766–5770 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  8. Ding, C.: Codes from Difference Sets. World Scientific, Singapore (2015)

    Google Scholar 

  9. Ding, C.: Linear codes from some 2-designs. IEEE Trans. Inf. Theory 61(6), 3265–3275 (2015)

    Article  MathSciNet  Google Scholar 

  10. Ding, C., Helleseth, T., Klove, T., Wang, X.: A generic construction of Cartesian authentication codes. IEEE Trans. Inf. Theory 53(6), 2229–2235 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  11. Ding, C., Wang, X.: A coding theory construction of new systematic authentication codes. Theor. Comput. Sci. 330(1), 81–99 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  12. Ding, C., Yang, J.: Hamming weights in irreducible cyclic codes. Discret. Math. 313(4), 434–446 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  13. Ding, C., Yin, J.: A construction of optimal constant composition codes. Des. Codes Crypt. 40(2), 157–165 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  14. Ding, K., Ding, C.: Binary linear codes with three weights. IEEE Commun. Lett. 18(11), 1879–1882 (2014)

    Article  MATH  Google Scholar 

  15. Ding, K., Ding, C.: A class of two-weight and three-weight codes and their applications in secret sharing. IEEE Trans. Inf. Theory 61(11), 5835–5842 (2015)

    Article  MathSciNet  Google Scholar 

  16. Dinh, H.Q., Li, C., Yue, Q.: Recent progress on weight distributions of cyclic codes over finite fields. J. Algebra Comb. Discret. Struct. Appl. 2(1), 39–63 (2015)

    MathSciNet  MATH  Google Scholar 

  17. Feng, K., Luo, J.: Weight distribution of some reducible cyclic codes. Finite Fields Appl. 14(2), 390–409 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  18. Helleseth, T., Kholosha, A.: Monomial and quadratic bent functions over the finite fields of odd characteristic. IEEE Trans. Inf. Theory 52(5), 2018–2032 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  19. Heng, Z., Yue, Q.: Complete weight distributions of two classes of cyclic codes. Cryptogr. Commun. (2016). doi:10.1007/s12095-015-0177-y

    MATH  Google Scholar 

  20. Kith, K.: Complete weight enumeration of Reed-Solomon codes. Master’s thesis, Department of Electrical and Computing Engineering, University of Waterloo, Waterloo (1989)

  21. Kuzmin, A., Nechaev, A.: Complete weight enumerators of generalized Kerdock code and linear recursive codes over Galois ring. In: Workshop on coding and cryptography, pp. 333–336 (1999)

  22. Kuzmin, A., Nechaev, A.: Complete weight enumerators of generalized Kerdock code and related linear codes over Galois ring. Discret. Appl. Math. 111(1), 117–137 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  23. Li, C., Bae, S., Ahn, J., Yang, S., Yao, Z.A.: Complete weight enumerators of some linear codes and their applications. Des. Codes Crypt. (2015). doi:10.1007/s10623-015-0136-9

    MathSciNet  MATH  Google Scholar 

  24. Li, C., Yue, Q., Fu, F.W.: Complete weight enumerators of some cyclic codes. Des. Codes Crypt. (2015). doi:10.1007/s10623-015-0091-5

    MathSciNet  MATH  Google Scholar 

  25. Lidl, R., Niederreiter, H.: Finite Fields. Encyclopedia of Mathematics and Its Applications, vol. 20. Addison-Wesley, Reading (1983)

    MATH  Google Scholar 

  26. Luo, J., Feng, K.: On the weight distributions of two classes of cyclic codes. IEEE Trans. Inf. Theory 54(12), 5332–5344 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  27. MacWilliams, F.J., Sloane, N.J.A.: The Theory of Error-Correcting Codes, vol. 16. North-Holland Publishing, Amsterdam (1977)

  28. Myerson, G.: Period polynomials and Gauss sums for finite fields. Acta Arith. 39(3), 251–264 (1981)

    MathSciNet  MATH  Google Scholar 

  29. Sharma, A., Bakshi, G.K.: The weight distribution of some irreducible cyclic codes. Finite Fields Appl. 18(1), 144–159 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  30. Tang, C., Li, N., Qi, Y., Zhou, Z., Helleseth, T.: Linear codes with two or three weights from weakly regular bent functions. IEEE Trans. Inf. Theory 62(3), 1166–1176 (2016)

    Article  MathSciNet  Google Scholar 

  31. Vega, G.: The weight distribution of an extended class of reducible cyclic codes. IEEE Trans. Inf. Theory 58(7), 4862–4869 (2012)

    Article  MathSciNet  Google Scholar 

  32. Wang, B., Tang, C., Qi, Y., Yang, Y., Xu, M.: The weight distributions of cyclic codes and elliptic curves. IEEE Trans. Inf. Theory 58(12), 7253–7259 (2012)

    Article  MathSciNet  Google Scholar 

  33. Wang, Q., Li, F., Ding, K., Lin, D.: Complete weight enumerators of two classes of linear codes. arXiv:1512.07341 (2015)

  34. Yang, S., Yao, Z.A.: Complete weight enumerators of a family of three-weight linear codes. Des. Codes Crypt. (2016). doi:10.1007/s10623-016-0191-x

  35. Yu, L., Liu, H.: The weight distribution of a family of p-ary cyclic codes. Des. Codes Crypt. (2014). doi:10.1007/s10623-014-0029-3

  36. Yuan, J., Carlet, C., Ding, C.: The weight distribution of a class of linear codes from perfect nonlinear functions. IEEE Trans. Inf. Theory 52(2), 712–717 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  37. Zheng, D., Wang, X., Yu, L., Liu, H.: The weight enumerators of several classes of p-ary cyclic codes. Discret. Math. 338(7), 1264–1276 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  38. Zhou, Z., Ding, C., Luo, J., Zhang, A.: A family of five-weight cyclic codes and their weight enumerators. IEEE Trans. Inf. Theory 59(10), 6674–6682 (2013)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgments

The authors are very grateful to the editor and the three anonymous referees for their useful comments and important suggestions, which have improved the presentation of this paper. The work of Zheng-An Yao is partially supported by the NSFC (Grant No.11271381), the NSFC (Grant No.11431015) and China 973 Program (Grant No. 2011CB808000). The work of Chang-An Zhao is partially supported by the NSFC (Grant No. 61472457). This work is also partially supported by Guangdong Natural Science Foundation (Grant No. 2014A030313161).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chang-An Zhao.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yang, S., Yao, ZA. & Zhao, CA. A class of three-weight linear codes and their complete weight enumerators. Cryptogr. Commun. 9, 133–149 (2017). https://doi.org/10.1007/s12095-016-0187-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12095-016-0187-4

Keywords

Mathematics Subject Classification (2010)

Navigation