arXiv:2610.34863cs.ITOct 2026

Manuscript Offprint

arXiv:2610.34863

Constructions of Secure Convertible Codes

Manasa Suresh B P, Vinayak Ramkumar, Myna Vajha

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Secure convertible codes, introduced by Zhang and Rashmi, achieve secrecy capacity under a passive eavesdropper model in which an eavesdropper is allowed to access any ℓ\ell symbols from the initial and final codewords. In this paper, we construct two families of access-optimal secure convertible codes. The first family of codes based on Maximum Rank Distance (MRD) codes is constructed for all parameters in the merge and split regimes and requires a large field size. The second family of codes, constructed using Generalized Reed-Solomon codes, uses smaller fields but is applicable only for certain parameters in the merge and split regimes.

I. INTRODUCTION

Maturana and Rashmi introduced convertible codes in [1] motivated by systems studies in [2], [3], to enable efficient transformation of data from an [nI,kI][n^I, k^I] initial code to an [nF,kF][n^F, k^F] final code while minimizing the conversion cost. To enable the conversion, a message vector m‾∈FqM\underline{m} \in \mathbb{F}_q^M of size M=lcm(kI,kF)M = \text{lcm}(k^I, k^F) is considered. The message is partitioned into λI=MkI\lambda^I = \frac{M}{k^I}, λF=MkF\lambda^F = \frac{M}{k^F} initial and final message blocks, respectively. Thus, the initial configuration consists of λI\lambda^I codewords, while the final configuration consists of λF\lambda^F codewords. The message symbols encoded into each codeword are determined by the initial and final partitions PI={U1,U2,…,UλI}\mathcal{P}^I = \{\mathcal{U}_1, \mathcal{U}_2, \ldots, \mathcal{U}_{\lambda^I}\} and PF={V1,V2,…,VλF}\mathcal{P}^F = \{\mathcal{V}_1, \mathcal{V}_2, \ldots, \mathcal{V}_{\lambda^F}\} of the message index set [M]={1,…,M}[M] = \{1, \ldots, M\}. The blocks within each partition are pairwise disjoint, and ∪i=1λIUi=∪j=1λFVj=[M]\cup_{i=1}^{\lambda^I} \mathcal{U}_i = \cup_{j=1}^{\lambda^F} \mathcal{V}_j = [M]. Ui\mathcal{U}_i indicates the set of indices of the message symbols that are part of the ii-th initial codeword and Vj\mathcal{V}_j indicates the set of indices of the message symbols that are part of the jj-th final codeword. Therefore ∣Ui∣=kI|\mathcal{U}_i| = k^I, ∣Vj∣=kF|\mathcal{V}_j| = k^F.

An [nI,kI;nF,kF][n^I, k^I; n^F, k^F] convertible code over Fq\mathbb{F}_q consists of

  1. a pair of codes (CI,CF)(\mathcal{C}^I, \mathcal{C}^F), where CI\mathcal{C}^I is an [nI,kI][n^I, k^I] code and CF\mathcal{C}^F is an [nF,kF][n^F, k^F] code both defined over Fq\mathbb{F}_q,

  2. a pair of partitions (PI,PF)(\mathcal{P}^I, \mathcal{P}^F) of the message index set [M][M], where every block Ui∈PI\mathcal{U}_i \in \mathcal{P}^I has size kIk^I and every block Vj∈PF\mathcal{V}_j \in \mathcal{P}^F has size kFk^F,

  3. a conversion procedure that takes λI\lambda^I initial codewords from CI\mathcal{C}^I and converts them to λF\lambda^F final codewords from CF\mathcal{C}^F.

During the conversion procedure, the codeword symbols are classified into three types: unchanged, retired, and new symbols. An unchanged symbol is an initial codeword symbol that remains in the final codewords. A retired symbol is an initial code symbol that is removed during conversion, whereas a new symbol is generated during conversion and added to the final configuration (see Fig. 1). A convertible code is said to be Maximum Distance Separable (MDS) if both the initial and final codes are MDS. The merge regime is a special class of convertible codes in which multiple initial codewords are converted into a single final codeword, i.e., λF=1\lambda^F = 1, resulting in kF=λIkIk^F = \lambda^I k^I. The split regime corresponds to the case where a single initial codeword is transformed into multiple final codewords, and can be viewed as the dual of the merge regime.

Figure

Fig. 1: Illustration of [nI=4,kI=2;nF=5,kF=3][n^I = 4, k^I = 2; n^F = 5, k^F = 3] convertible code where λI=3\lambda^I = 3 initial codewords are converted to λF=2\lambda^F = 2 final codewords.

The efficiency of a convertible code is measured by the access cost and bandwidth cost of the conversion procedure. The access cost of a conversion procedure is the total number of code symbols accessed during the conversion procedure, and the bandwidth cost of the conversion procedure is the total amount of data read and written during the conversion procedure.

Prior Work: In [1], Maturana and Rashmi introduced the convertible code framework and constructed access-optimal MDS convertible codes in the merge regime. They introduced a matching lower bound on the access cost of MDS convertible codes in the merge regime. In [4], [5], access-optimal MDS convertible code constructions are studied for all valid parameter settings along with matching access-cost lower bounds. In [6]–[8], constructions of low-field-size MDS convertible codes in the merge regime are presented for all parameters. Bandwidth-optimal convertible codes and lower bounds are established in [9], [10]. In [11]–[13], convertible codes for locally repairable codes (LRCs) are studied with respect to the access and bandwidth cost. In [14], the authors study convertible minimum storage regenerating(MSR) codes. In [15], Zhang and Rashmi introduced an information-theoretic secrecy model for convertible codes in the presence of passive eavesdroppers and proposed constructions of access-optimal secure convertible codes that achieve the secrecy capacity.

Our Contributions: In this paper, we first make an observation that the secure convertible codes introduced in [15] are secure against an eavesdropper accessing only a subset of unchanged symbols, but not necessarily secure against an eavesdropper accessing a subset of unchanged and retired symbols. We propose two families of secure convertible codes that are secure against an eavesdropper accessing up to any ℓ\ell of the unchanged, retired, and new symbols. Both these constructions are described through a precoding matrix PP and the generator matrices of initial and final codes of a base convertible code G^I\hat{G}^I, G^F\hat{G}^F. The first construction yields secure convertible codes for all valid parameters in the merge and split regimes. In this construction, PP is based on a generator matrix of a Maximum Rank Distance (MRD) code, and G^I\hat{G}^I and G^F\hat{G}^F are allowed to be generator matrices corresponding to any access-optimal convertible code (see Theorem 1 and Remark 2). A drawback of this construction is that it requires a large field size. To circumvent this issue, for certain ranges of merge and split regimes, we construct a second family of secure convertible codes where G^I\hat{G}^I and G^F\hat{G}^F are chosen such that they are generator matrices of Generalized Reed-Solomon (GRS) codes (see Theorem 2).

Notation: Let Fq\mathbb{F}_q denote the finite field with qq elements. For integers a≤ba \leq b, let [a:b]={a,a+1,…,b}[a : b] = \{a, a + 1, \ldots, b\} and for a positive integer nn, let [n]=[1:n][n] = [1 : n]. The ii-th entry of a vector x‾\underline{x} is denoted by xix_i. For an index set B⊆[n]\mathcal{B} \subseteq [n], the projection of x‾\underline{x} onto the coordinates indexed by B\mathcal{B} is denoted by x‾B=[xi:i∈B]\underline{x}_{\mathcal{B}} = [x_i : i \in \mathcal{B}]. For a matrix G∈Fqk×nG \in \mathbb{F}_q^{k \times n}, the (i,j)(i,j)-th entry is denoted by G(i,j)G(i,j). The ii-th row and jj-th column of GG are denoted by G(i,:) and G(:,j)G(i,:) \text{ and } G(:,j), respectively. For row and column index sets A⊆[k]\mathcal{A} \subseteq [k] and B⊆[n]\mathcal{B} \subseteq [n], the corresponding sub-matrix is denoted by G(A,B)G(\mathcal{A}, \mathcal{B}). Similarly, G(:,B)G(:, \mathcal{B}) and G(A,:)G(\mathcal{A}, :) denote the sub-matrices obtained by selecting the columns indexed by B\mathcal{B} and the rows indexed by A\mathcal{A}, respectively. Capital letters (e.g., S, X) denote random variables, and lowercase letters (e.g., s, x) denote realizations.