Skip to main content
QUICK REVIEW

[Paper Review] Complete Weight Enumerators of Some Linear Codes

Shudi Yang, Zheng‐an Yao|arXiv (Cornell University)|May 23, 2015
Coding theory and cryptographyComputer Science21 references9 citations
TL;DR

This paper determines the complete weight enumerators of two classes of linear codes over finite fields: $C_D$ and its generalized form $C_{D,b}$, defined using the trace function and a specific defining set $D = \{x \in \mathbb{F}_{p^m}^* : \mathrm{Tr}(x^2) = 0\}$. Using Gauss sums and properties of quadratic forms over finite fields, the authors derive explicit formulas for the complete weight enumerators, which in turn yield the weight distributions of these codes, with applications in cryptography and secret sharing schemes.

ABSTRACT

Linear codes have been an interesting topic in both theory and practice for many years. In this paper, for an odd prime $p$, we determine the explicit complete weight enumerators of two classes of linear codes over $\mathbb{F}_p$ and they may have applications in cryptography and secret sharing schemes. Moreover, some examples are included to illustrate our results.

Motivation & Objective

  • To determine the complete weight enumerators of linear codes $C_D$ and $C_{D,b}$ over $\mathbb{F}_p$ for an odd prime $p$.
  • To investigate the weight distribution of these codes, particularly in the context of their applications in cryptography and secret sharing schemes.
  • To extend prior work on weight enumerators by providing explicit, closed-form expressions using Gauss sums and quadratic form theory.
  • To establish a connection between the structure of the defining set $D = \{x \in \mathbb{F}_{p^m}^* : \mathrm{Tr}(x^2) = 0\}$ and the complete weight enumerator of the associated linear code.

Proposed method

  • The authors define the code $C_D$ as $\{ (\mathrm{Tr}(ad_1), \dots, \mathrm{Tr}(ad_n)) : a \in \mathbb{F}_{p^m} \}$, where $D$ is the set of nonzero elements in $\mathbb{F}_{p^m}$ with trace zero.
  • They use the trace function $\mathrm{Tr}: \mathbb{F}_{p^m} \to \mathbb{F}_p$ and exploit properties of Gauss sums to count the number of solutions to $\mathrm{Tr}(x^2) = 0$ and $\mathrm{Tr}(ax) = \rho$ for $\rho \in \mathbb{F}_p$.
  • The complete weight enumerator is constructed by summing over all codewords, with contributions determined by the number of times each field element appears in the codeword.
  • For the generalized code $C_{D,b}$, the authors account for a constant shift $b \in \mathbb{F}_p$ in each coordinate, and derive the complete weight enumerator by shifting the weight contributions accordingly.
  • The derivation distinguishes cases based on whether $\mathrm{Tr}(a^2) = 0$ or $\mathrm{Tr}(a^2) \neq 0$, and whether $\rho = 0$ or $\rho \neq 0$, using known results on exponential sums.
  • The final expressions for the complete weight enumerators are derived using Lemma 14 and results on the number of solutions $n_a(\rho)$, which depend on the parity of $m$ and the value of $\mathrm{Tr}(a^2)$.

Experimental results

Research questions

  • RQ1What is the complete weight enumerator of the linear code $C_D$ defined by $D = \{x \in \mathbb{F}_{p^m}^* : \mathrm{Tr}(x^2) = 0\}$ over $\mathbb{F}_p$?
  • RQ2How does the complete weight enumerator of the generalized code $C_{D,b}$, which includes a constant shift $b \in \mathbb{F}_p$, differ from that of $C_D$?
  • RQ3What are the weight distributions of $C_D$ and $C_{D,b}$, and how do they depend on the parameters $p$, $m$, and the trace of $a^2$?
  • RQ4Can the complete weight enumerators be explicitly computed using Gauss sums and quadratic form theory for this class of codes?
  • RQ5What are the implications of these enumerators for applications in cryptography and secret sharing schemes?

Key findings

  • The complete weight enumerator of $C_D$ is explicitly determined for both odd and even $m$, with distinct formulas depending on whether $\mathrm{Tr}(a^2) = 0$ or $\mathrm{Tr}(a^2) \neq 0$, and whether $\rho = 0$ or $\rho \neq 0$.
  • For $m$ odd, the number of solutions $n_a(\rho)$ is $p^{m-2} - 1$ when $\mathrm{Tr}(a^2) = 0$ and $\rho = 0$, and $p^{m-2}$ when $\mathrm{Tr}(a^2) = 0$ and $\rho \neq 0$, with corrections involving $(-1)^{\frac{m-1}{2}\frac{p-1}{2}}$ and $\bar{\eta}(\mathrm{Tr}(a^2))$ when $\mathrm{Tr}(a^2) \neq 0$.
  • For $m$ even, the solution count $n_a(\rho)$ includes a correction term involving $(-1)^{\frac{m}{2}(\frac{p-1}{2})^2}$, leading to different expressions for $\mathrm{Tr}(a^2) = 0$ and $\mathrm{Tr}(a^2) \neq 0$, with $p^{m-2} - 1$ or $p^{m-2} - (-1)^{\cdots}p^{\frac{m-2}{2}}$ respectively.
  • The complete weight enumerator of $C_{D,b}$ is derived by summing over all $b \in \mathbb{F}_p$, with each term shifted by $b$, resulting in a sum of the form $\sum_{b=0}^{p-1} w_b^{n_a(0)} w_{1+b}^{n_a(1)} \cdots w_{p-1+b}^{n_a(p-1)}$, which accounts for the constant shift in each coordinate.
  • The weight distribution of $C_D$ is confirmed to have two or three nonzero weights, as previously shown in [27], while $C_{D,b}$ has five or seven nonzero weights, depending on $p$ and $m$.
  • The results are verified through examples, and the complete weight enumerators are shown to be instrumental in analyzing deception probabilities in authentication codes and in designing secret sharing schemes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.