Manuscript Offprint
arXiv:2610.39873Syndrome Trellis Decryption in Post-Quantum Cryptography
SYNDROME-TRELLIS DECRYPTION IN CODE-BASED POST-QUANTUM CRYPTOGRAPHY
Meir Ariel
School of Electrical and Computer Engineering,
Faculty of Engineering, Tel Aviv University, Tel Aviv, Israel
ABSTRACT
We present a novel post-quantum cryptographic framework based on masked high-memory convolutional codes in the Niederreiter paradigm. The public key is derived from a high-memory polynomial parity-check matrix augmented by dense random masking and additional invertible linear transformations. The resulting matrix exhibits strong random-like properties, effectively concealing its algebraic structure and resisting known structural and algebraic attacks. Legitimate recipients retain polynomial-time decoding capability, whereas adversaries appear to be limited to generic information-set decoding with exponential complexity. Under standard cryptanalytic estimates, the proposed construction achieves security margins exceeding those of classical McEliece- and Niederreiter-based systems by factors greater than . Beyond its enhanced security profile, the construction offers considerable design flexibility, supporting arbitrary plaintext lengths, linear-time decryption, and a uniform per-bit computational cost, enabling efficient scalability to very long messages. Practical implementation is facilitated by a parallel array of syndrome-trellis decoders, dynamically instantiated according to candidate syndrome values, enabling efficient hardware and software implementations with high throughput. Overall, the proposed scheme is a promising candidate for robust, scalable, quantum-resistant public-key cryptography.
1. INTRODUCTION
Code-based cryptography, first proposed by Robert McEliece in 1978 [1], employs binary Goppa codes to construct a public-key encryption scheme. Its central idea is to disguise an error-correcting code through invertible linear transformations, thereby producing a public key that conceals the underlying algebraic structure. During encryption, the sender deliberately introduces controlled errors into the codeword, making decryption computationally infeasible for adversaries, while the legitimate recipient—who possesses the private key—can efficiently correct the errors and recover the original plaintext.
Since its inception, numerous variants of the McEliece cryptosystem have been proposed, typically by replacing Goppa codes with alternative code families [2–3]. However, most of these alternatives have failed to preserve the strong security guarantees of the original construction.
David C. Wyld et al. (Eds): CAIML, CRYPIS, NC, ITCSE – 2026
pp. 61-84, 2026. CS & IT - CSCP 2026
DOI: 10.5121/csit.2026.162004
Consequently, Classic McEliece advanced to Round 4 of the NIST Post-Quantum Cryptography (PQC) standardization process [4], although it was ultimately not selected for standardization. Comprehensive surveys of code-based cryptography and its role in the PQC landscape are provided in [5–6].
Despite its robustness and long-standing security record, Classic McEliece suffers from several practical limitations. Its reliance on fixed Goppa codes imposes relatively rigid error-correction capabilities, limits adaptability across different security levels, and complicates deployment in diverse application environments. To address these limitations, Ariel [7–8] proposed a novel post-quantum cryptographic framework based on noise-enhanced high-memory convolutional codes. This approach enables dynamic code construction and selection while enhancing public-key security through dense, random-like generator matrices that conceal structural information more effectively than low-density or structurally recognizable matrices [9]. Moreover, the use of powerful convolutional codes with greater error-correcting capability permits the deliberate introduction of higher noise levels, thereby increasing resistance to cryptanalytic attacks by factors exceeding (depending on the selected parameters) compared with Classic McEliece. In addition, the framework supports scalability to very long plaintexts, linear-time decoding, and efficient hardware and software implementations with uniform per-bit computational complexity. The “Niederreiter Cryptosystem” was first proposed by Harald Niederreiter in 1986 [10] as a variant of the McEliece encryption scheme, using the parity-check matrix of a linear error-correcting code as the public key rather than the generator matrix. In this formulation, the plaintext is a coset leader, i.e., the minimum-Hamming-weight error vector associated with a given coset. The ciphertext is the syndrome s, obtained by multiplying e by the public parity-check matrix. Unlike the McEliece system, the ciphertext contains no additional injected errors. Nevertheless, the scheme remains probabilistic because the plaintext itself is a randomly selected error vector, while the public parity-check matrix appears random and has no known efficient decoder.
The decryption problem in the Niederreiter cryptosystem is therefore equivalent to the classical syndrome decoding problem, which is known to be NP-hard. Moreover, as noted in [11], McEliece and Niederreiter cryptosystems are considered equivalent from the security perspective when corresponding parameter sets are used. Consequently, the Niederreiter scheme inherits many of the same limitations as Classic McEliece, including reliance on Goppa codes with rigid parameter selection, relatively limited error correction capabilities, and algebraic decoding procedures that are not well suited for efficient hardware implementations.
In this paper we extend the framework presented in [7–8] by employing masked high-memory parity-check matrices derived from high-performance convolutional codes as public keys, thereby overcoming several limitations of the Niederreiter approach. The proposed post-quantum cryptographic framework offers the following advantages:
Diverse Code Selection: A broad family of convolutional codes can serve as public keys, enabling flexible adaptation to different performance and security levels.
Enhanced Public Key Security: The proposed scheme generates dense, random-like parity-check matrices that effectively conceal structural information. Moreover, the use of powerful convolutional codes with high error-correcting capacity allows the selection of error vectors (plaintexts) with significantly larger Hamming weights, thereby increasing resistance to cryptanalytic attacks by factors exceeding (depending on the selected parameters) compared with the classical Niederreiter scheme.
Scalability and Linear-Time Decoding: Unlike fixed-dimension block code constructions, the proposed framework supports plaintexts of arbitrary length. Decoding complexity grows linearly with plaintext size, enabling scalability without loss of efficiency.
Efficient Implementation: Decryption is performed by an array of unique directed-graph decoders, referred to as Syndrome Trellises, that identify the correct plaintext while supporting efficient and straightforward hardware and software implementations.
The remainder of this paper is organized as follows. Section 2 describes the construction of the public and private keys based on masked high-memory convolutional codes, which form the foundation of the proposed framework. Section 3 presents the encryption process, based on the selection of random error vectors, which is central to both security and reliable decryption. Section 4 introduces the construction of an array of syndrome-trellis decoders, and Section 5 details the corresponding decryption procedure performed by the legitimate recipient. Section 6 provides a worked implementation example, while Section 7 analyses potential attacks and evaluates the cryptanalytic resistance and computational complexity of the proposed scheme. Finally, Section 8 concludes the paper and summarizes the main findings.
The principal contributions of this paper are as follows:
-
Extension of the previously proposed masked high-memory convolutional-code cryptographic framework from generator matrices to parity-check matrices, thereby enabling a Niederreiter-type post-quantum cryptosystem.
-
A novel directed-graph decryption algorithm for masked parity-check cryptosystems, based on high-memory convolutional codes.
-
A practical method for constructing syndrome trellises corresponding to arbitrary received syndromes, enabling efficient maximum-likelihood decoding in polynomial time.
-
A polynomial-time ambiguity-resolution technique that identifies the correct plaintext by minimum-weight decoding over multiple candidate syndrome trellises.
-
A complexity and security analysis showing that legitimate decryption scales linearly with the plaintext length while the best-known attacks remain exponential.
-
A complete worked implementation example illustrating key generation, encryption, syndrome-trellis construction, and decryption.
2. PUBLIC AND PRIVATE KEY CONSTRUCTION
Throughout this paper, the notation follows that of [8] and is also summarized here for completeness. Binary vectors are denoted by bold lowercase letters (e.g., a, b) while their corresponding polynomial representations are written as , . The notations and are used interchangeably whenever context is clear. The Hamming weight of a vector is denoted by . Standard coding-theorynotation is adopted throughout: denotes an error vector, denotes a syndrome, and polynomial generator or parity-check matrices associated with convolutional codes are denoted by uppercase letters such as and , with their corresponding scalar representations written as and . Calligraphic letters, such as and , denote sets of binary vectors.
To establish a clear foundation for the proposed cryptosystem, we first briefly review the classical Niederreiter cryptosystem:
NiederreiterKey Generation (Bob)
Let C be a binary linear code capable of correcting up to t errors, with parity-check matrix
Bob randomly selects:
• a nonsingular matrix ,
• a permutation matrix .
He then publishes the obfuscated parity-check matrix:
The public key is , while the private key is .
Niederreiter Encryption (Alice)
To encrypt a message Alice selects an error vector with Hamming weight , and computes the syndrome:
The ciphertext is .
Niederreiter Security (Eve)
Given and the intercepted s, Eve must solve
for a low-weight vector . This constitutes an instance of the classical syndrome decoding problem, which is believed to be computationally intractable for suitably chosen parameters. Since appears random and admits no efficient decoding algorithm, recovering is computationally infeasible.
Niederreiter Decryption (Bob)
Bob first computes
Let , then
Using the decoder associated with the codeC, Bob recovers the unique low-weight vector , and finally computes
Correctness follows directly from the decoding capability of for all error vectors satisfying . Security relies on selecting a code such that the public matrix does not reveal exploitable algebraic structure.
We now describe the construction of the public and private keys in the proposed framework, based on a masked high-memory parity-check matrix derived from a convolutional code, which forms the foundation of the proposed cryptographic scheme.
Denote by a binary polynomial of memory at mostp
A Convolutional Code (CC) is defined as a set of constituent polynomials, commonly structured into the form of a polynomial generator matrix
The matrix determines both the code rate and the error-correction capability of the CC, typically characterized by its free distance .
The polynomial matrix admits an equivalent infinite-dimensional scalar representation , whose coefficient matrices corresponds to the coefficients of :
For example, for , the corresponding coefficient vectors are
A CC may also be defined by its polynomial parity-check matrix satisfying
For rate- CCs, is obtained simply by reversing the order of the generator polynomials. Like , admits a scalar representation , whose coefficients matrices correspond to the coefficients of .
For simplicity, we focus on CCs of rate 1/n (i.e., ). The proposed construction, however, is readily applicable to arbitrary CCs, including punctured codes.
Each constituent polynomial is multiplied by a high-memory polynomial of degree ,
yielding a high-memory parity-check matrix
The proposed framework imposes no strict constraints on the choice of . In practice, however, the parameters p and q are chosen such that
thereby providing a very large effective memory. The corresponding scalar representation therefore exhibits substantially longer column run lengths and significantly higher density than the original parity-check matrix
The desired plaintext length N determines the dimensions of a truncated matrix . Specifically, the number of columns is fixed at N, while the number of rows, denoted by , depends on both the coderate and the overall memory length of the CC. For rate-1/nCCs
Increasing the degree of the high-memory polynomial not only increases the density and apparent randomness of the resulting public matrix, making it more suitable for subsequent concealing transformations, but also enlarges both the associated syndrome and decoder state spaces. Together, these effects increase the complexity of structural analysis and decoding attacks, thereby strengthening the cryptographic security of the proposed framework.
For a CC with memory m, a Viterbi decoder employs a trellis with states. Appending m zero bits to the encoder input forces the trellis into a unique terminal state. Similarly, in the proposed framework, decoding is formulated as a search for the most likely error vector within a given coset. This search is performed on a directed graph representing the coset, known as a syndrome trellis [12–13]. The last m syndrome bits drive the syndrome trellis to a unique terminal state, as described in Section 4. Since each coset has its own syndrome trellis, the graph is generated dynamically, section by section, according to the syndrome values. Such on-the-fly generation is essential because the number of cosets—and hence syndrome trellises—is astronomically large, making precomputation impractical.
As follows from Equation (14), each group of columns of is obtained by shifting the preceding group downward by bits. Although multiplication by the high-memory polynomial significantly increases column run lengths of , permutation alone cannot conceal its structure, since the remaining zero sequences still reveal recognizable diagonal patterns. To eliminate this structure and maximize density, we introduce an masking matrix of rank . Each column of is selected randomly from the linear span of a predefined set of random binary vectors of length . Denoting this span by
where each is a distinct linear combination of the vectors in , the masked parity-check matrix is
where denotes bitwise addition over . This operation destroys the original diagonal structure of , producing a dense random-like matrix. Since has full rank, may be chosen so that also has full rank, enabling subsequent invertible transformations. The public key matrix is then defined as
where is a random nonsingular matrix and is a random permutation matrix. The matrix Sobscures the correspondence between error vectors (plaintexts) and syndromes (ciphertexts), while conceals the column positions. Consequently, the transformation from to combines reversible operations and with the random masking operation , yielding a dense random-like public matrix. We refer to as the High-Memory Masked Parity-Check (MPC) matrix.
To ensure reliable decryption despite the syndrome perturbation introduced by masking, the correct plaintext is identified as the candidate coset leader with minimum Hamming weight, while all other candidates behave essentially as random coset leaders. An error vector is generated by independently injecting errors into an all-zero sequence of length N with probability , yielding
In contrast, a random coset leader typically has Hamming weight
where denotes the typical nearest-neighbor distance given by the Gilbert bound
and denotes the binary entropy function. Incorrect masking vectors produce essentially random cosets. Consequently, their minimum-weight representatives concentrate around . Since
the probability that an incorrect candidate attains weight close to decreases exponentially with N. The parameter is chosen to balance reliable decryption against cryptanalytic resistance. An important advantage of this approach is that the error vector is statistically random. Correct decryption, however, is not guaranteed, since localized clusters of errors may occasionally cause decoding failure. The probability of such failures can be estimated in advance, allowing to be selected accordingly, as discussed in Section 7. Finally, the decoder described in Section 4 performs optimum decoding and therefore requires no prior knowledge of either the number or distribution of injected errors.
Decryption failure may be eliminated by constraining the error injection process as follows: Partition the error vector into “windows” of length
For a CC with free distance , any two trellis paths that diverge and remerge within such window differ in at least positions. Consequently, up to
errors can be corrected reliably within the i-thwindow. The resulting error vector therefore has Hamming weight
Under this constraint, correct decoding is guaranteed. Even so, the number of possible plaintexts remains astronomically large. Assuming, for simplicity, a fixed value for all windows. The total number of possible plaintexts is
For the CC parameters considered in Section 7, namely , (hence 9 correctable errors per window), and
demonstrating the enormous plaintext space obtainable even under constrained error injection. Nevertheless, this approach is less desirable than fully random error generation, since imposing structure on the plaintext may introduce potential avenues for cryptanalytic attacks.
The public and private keys are therefore defined as follows:
Public key:
Private key:
Decryption proceeds in several stages. First, the inverse transformation is applied to the received syndrome. The masking introduced by must then be removed; however, this operation is not fully reversible. Although is known to the legitimate recipient, the plaintext error vector is unknown, and consequently the corresponding linear combination of masking vectors added during encryption is also unknown, resulting in ambiguity.
Next, the obfuscation introduced by the high-memory polynomial is reversed, since practical decoding can be performed only with the original parity-check matrix H, not its high-memory counterpart . Accordingly, all candidate syndromes are first unmasked and then divided by . An array of syndrome-trellis decoders then searches the corresponding candidate cosets of H for the most likely error vector. Among all decoded candidates, the one with minimum Hamming weight is selected, and the plaintext is finally recovered by applying the inverse permutation . The complete decryption procedure is presented in Section 5.
3. ENCRYPTION BY SENDER
Assuming the sender possesses the public key, encryption proceeds as follows.
Step1-Plaintext Generation:
A random error vector
is generated by independently flipping each bit of an all-zero sequence of length N with probability .
Step 2–Syndrome Computation:
The ciphertext, represented by the syndrome
is computed as
Step 3-Transmission:
The syndrome s is transmitted to the recipient.
In practice, rare decoding failures can be detected reliably either by appending a CRC during encryption or by verifying that the Hamming weight of the decoded error vector matches its expected value (see Section 5). Upon detection of a failure, retransmission may be requested.
4. CONSTRUCTION OF SYNDROME TRELLISES
We now describe the construction of a directed graph representing a coset of a CC. The procedure is most easily illustrated by the example introduced in Section 2 with
The corresponding scalar parity-check matrix H, given by Equation (11), is
Let
denote the syndrome vector, and let
denote the error vector. Each syndrome bit is obtained as the modulo-2 sum of the columns of H corresponding to positions where . Suppose first that . The two possible pairs of error bits that generate this syndrome bit are
These error pairs determine not only the syndrome bit , but also contribute to the subsequent syndrome bits and through the corresponding submatrix
shown in bold in above. We refer to the linear combinations of the columns of as the states of the syndrome trellis. For the pair , the resulting state is , whereas for , it is . Similarly, when the admissible error pairs become
yielding the states and , respectively. Thus, the syndrome trellis has two possible initial configurations, depending on the value of the syndrome bit. For , the trellis begins as

while for it begins as

Consider now the -thsyndrome bit . Its value depends not only on the corresponding pair of error bits , but also on the source state from which the trellis transition originates. The syndrome-trellis segments corresponding to for each of the four possible source states, are shown in Fig.1.

(a)
(b)
(c)
(d)
Figure 1. Syndrome trellis segments corresponding to and source states: (a) , (b) , (c) and (d) .
Similarly, the syndrome-trellis segments corresponding to , for each of the four possible source states, are shown in Fig.2.

(a) (b) (c) (d)
Figure 2. Syndrome trellis segments corresponding to and source states: (a) , (b) , (c) and (d) .
These segments define two building blocks of the syndrome trellis: one corresponds to and the other to , as illustrated in Fig. 3

(a)

(b)
Figure 3. Syndrome-trellisbuilding blocks corresponding to: (a) , (b) .
Since both building blocks share the same state space, they can be interconnected through their common states, allowing the syndrome trellis for any coset of the CC to be generated dynamically according to the syndrome values. The trellis always starts from the state and terminates at a unique state determined by the tail syndrome bits. In the present example, .
Branch Metrics of Syndrome Trellises: The metric assigned to each trellis branch is simply its Hamming weight, namely the number of ones in the corresponding pair of error bits.
Maximum-Likelihood Decoding of Syndrome Trellises:
Decoding consists of searching the syndrome trellis for the minimum-Hamming-weight path. The procedure is as follows.
-
Initialization: At time 0, the state[00...0]Tis assigned metric 0, while all other states are assigned a sufficiently large positive value to prevent their selected during the search.
-
Branch Metric Assignment: Assign each trellis branch a metric equal to the Hamming weight of the corresponding error vector segment.
-
State Metric Computation: For each state, compute the accumulated metric of the minimum-weight path terminating at that state.
-
Survivor Selection: For each state, retain only the incoming branch belonging to the minimum-weight path determined in Step 3 and discard the others. The retained branch is referred to as the survivor branch.
-
Trace back: Starting from the terminal state, trace back through the survivor branches to the initial state, thereby reconstructing the minimum-weight error vector .
5. DECRYPTION BY THE RECIPIENT
The recipient possesses the public and private keys together with the received cipher text:
Decryption proceeds as follows.
Step 1—Inversion of the Non-singular transformation
The inverse transformation is applied to the received syndrome
Step 2—Unmasking
The transformed syndrome can be written as
Since has the same column span as , the masking contribution belongs to . Although and are known to the recipient, the particular masking vector is unknown and may assume any of the values in . Consequently, the set of candidate unmasked syndromes is
Step 3—Division by the High-Memory Polynomial
The memory of the CC is then reduced by dividing each candidate unmasked syndrome in by the high-memory polynomial , yielding the set of “low-memory” candidate syndromes
If no transmission errors have occurred and the correct masking was removed at Step 2, the division by produces zero remainder.
Step 4—Parallel Syndrome-Trellis Decoding
The objective is to determine the most likely value of by decoding all members of D. Since each member of D defines a distinct coset of the CC, it also defines a distinct syndrome trellis. because
all candidate trellises may be decoded in parallel. The estimated error vector is then selected as the minimum-weight solution among the decoded candidates.
A key distinction exists between the candidate low-memory syndromes. If the correct masking vector was removed in Step 2, decoding yields an error vector satisfying
In contrast, removing an incorrect masking vector effectively injects random errors into the syndrome, shifting the corresponding coset to an essentially arbitrary one. Consequently, the decoded error vectors associated with incorrect candidates typically exhibit substantially larger weight,
where is the typical nearest-neighbor distance defined by Equation (19). This separation in Hamming weight enables reliable identification of the correct plaintext.
Step 5 - Plaintext Recovery
Since s a permutation matrix,
The plaintext is therefore recovered as
If a CRC was appended to the plaintext during encryption, it is verified at this stage. If the CRC check fails, the next most likely decoded candidate is examined. The process continues until a valid plaintext is identified or all candidates have been exhausted, in which case retransmission may be requested.
The complete encryption and decryption procedures are summarized in the block diagram shown in Fig. 4.

Figure 4. Encryption and Decryption block diagram.
6. WORKED EXAMPLE
Consider the CC defined by
and select the high-memory polynomial
The resulting high-memory parity-check matrix is
Assume aplaintext of length 16, with no CRC appended. The corresponding finite-dimensional matrix is of size
We now construct the masking matrix by selecting its columns randomly from the linear spanLS( ), where is a set of random vectors of length 13. Although may contain arbitrary random vectors of length 13, for simplicity we choose two alternating patterns with Hamming weight approximately equal to , thereby ensuring statistical balance:
The corresponding linear span is therefore
where 0 and 1 denote the all-zero and all-one vectors, respectively. A dense masking matrix is then formed by selecting each of its columns independently from LS( )
The masked parity-check matrix is obtained as
The resulting matrix is dense, with approximately half of its entries are equal to 1, while the row and column weights are concentrated around and , respectively. Consequently, the original diagonal structure of His effectively concealed.
Next, a random column permutation is applied using a permutation matrix
Applying this permutation to the masked matrix produces
The permutation destroys the remaining positional ordering of the columns, further concealing the original convolutional structure. We then select a nonsingular matrix S, together with its inverse
and construct the final public matrix
The resulting matrix is dense and exhibits strong random-like statistical properties, with no visible diagonal or convolutional structure remaining. Since is non-singular and is a permutation matrix, both transformations preserve matrix rank. Consequently, if has full rank, then the public matrix also has full rank.
Encryption:
Consider the plain text error vector
which is a unique coset leader due to its low weight and error distribution. The cipher text syndrome is computed as
Decryption:
Step1- Inverse Row Operations
Apply the inverse row transformation to the received syndrome:
Step 2 - Unmasking
For the selected LS(L), the set D' of candidate unmasked syndromes is
Step 3–Division by
The set of low-memory candidate syndromes is obtained by dividing each member of by . This yields four low-memory candidate syndromes, of which only one is guaranteed to be exactly divisible by .
Thus, not all divisions yield zero remainder. Assuming no transmission errors have occurred, only candidates with zero remainder are consistent with exact division by and may therefore be retained for syndrome-trellis decoding. In the general case, however, all candidates must be considered, since transmission errors may perturb the syndrome and produce nonzero remainders even for the correct masking vector.
Step 4- Parallel Syndrome-Trellis Decoding
The candidate syndrome trellises are decoded in parallel to determine the most likely error vector . In this example, the CC has a free distance , allowing reliable correction of up to two errors within a sliding window of six bits. If three or more errors occur within a window, decoding may fail.
The syndrome trellis corresponding to is illustrated in Fig. 5. Since , the final two syndrome bits uniquely determine the terminal state of the syndrome trellis.

Figure 5. Syndrome trellis corresponding to
Fig. 6 shows the trellis of Fig. 5 after enforcing unique initial and terminal states. The highlighted path corresponds to the minimum-weight path, yielding
The selected path has Hamming weight 1. By contrast, the minimum-weight paths in all remaining candidate syndrome trellises have weights greater than 1.

Figure 6. Minimum-weight path through the syndrome trellis of Fig. 5
Step 5- Plaintext Recovery
The plaintext is recovered by applying the inverse permutation:
The recovered vector matches original plaintext.
7. CRYPTANALYSIS RESISTANCE AND PERFORMANCE
Threat Model: We consider a passive adversary (eavesdropper) who has full knowledge of the public key , the encryption algorithm, and all system parameters except the private key. The adversary observes the intercepted ciphertext (syndrome) s and seeks either to recover the plaintext error vector e or to recover the hidden structure of the public key. Direct recovery of e by inverting is computationally infeasible because the corresponding syndrome defines a coset containing an astronomically large number of candidate error vectors.
We further assume that, for the selected parameters, the public matrix is computationally indistinguishable from the parity-check matrix of a random binary linear code. As in the Classic McEliece cryptosystem, this assumption is not supported by a formal proof but by the absence of any known efficient structural attacks against appropriately chosen parameter sets. Under these assumptions, the adversary is effectively limited to three classes of attacks:
Plaintext-recovery attacks, which attempt to recover the transmitted error vector by solving the syndrome decoding problem. The complexity of these attacks grows exponentially with the error weight, which is itself unknown in the proposed framework because only the error probability is public.
Structure-recovery attacks, which attempt to recover the hidden structured matrix H, together with the masking and transformation operations, from the public matrix
Distinguishing attacks, whose objective is to determine whether can be distinguished from the parity-check matrix of a random linear code.
As in the Classic McEliece cryptosystem, this assumption is not supported by a formal proof but rather by the absence of any known efficient structural attack against appropriately chosen parameter sets.
The second and third attack classes are hindered by three complementary obfuscation mechanisms:
-
Dense masking. The memory of the CCis substantially increased by multiplication with a high-degree polynomial, followed by masking with , whose columns are statistically balanced random vectors with Hamming weight close to . This process effectively conceals the underlying algebraic structure.
-
Random row operations. A nonsingular matrix Srandomizes the basis of the masked parity-check matrix through invertible linear combinations of its rows.
-
Random column permutation. A permutation matrixP uniformly permutes the coordinate positions, eliminating any remaining positional or diagonal patterns.
Additional analytical evidence that the resulting public matrix exhibits the statistical properties expected of a random full-rank binary code is presented in [8].
Although the syndrome s contains no explicitly injected errors, the decryption problem associated with the proposed masked parity-check matrices still appears to reduce to the classical syndrome decoding problem, which is NP-hard. Daniel J. Bernstein [17] analyzed quantum speedups for information-set decoding (ISD) attacks. His analysis addresses the decoding problem itself, independently of whether the public code is represented by a generator matrix or a parity-check matrix. Consequently, provided that ISD remains the best-known generic attack against the proposed framework, Bernstein's complexity estimates apply directly using the effective code parameters defined by the public parity-check matrix.
In the proposed framework, given a finite-dimensional masked parity-check matrix and syndrome s, and assuming that exactly errors occurred, the attacker must recover an error vector satisfying
The cryptanalytic complexity is estimated using the best-known information-set decoding (ISD) algorithms, including those of Prange, Lee–Brickell, and BJMM [14–16], which measure security primarily in terms of bit operations and typically do not account for memory requirements or large-scale parallelization. As with other code-based cryptosystems, the proposed construction relies on sufficiently large parameter sets; smaller parameters may permit exhaustive search or structural attacks and are therefore not intended to provide cryptographic security. Accordingly, we consider only parameter ranges for which generic ISD attacks are believed to dominate.
The analyses in [14–16] generally assume that the Hamming weight wt(e) is known a priori. In the proposed framework, however, the exact number of errors is not fixed but is determined probabilistically by the publicly known error probability . This additional uncertainty further complicates generic decoding attacks. Moreover, since the error vector e is generated as a statistically random binary vector, it contains no intentional algebraic or combinatorial structure that could be exploited to reduce decoding complexity.
In the context of quantum computing, ISD complexity estimates are typically derived from classical attack models. Although quantum algorithms such as Grover's search algorithm [17] provide a quadratic speedup, no exponential quantum speedup for ISD is currently known. Consequently, code-based cryptography generally assumes that ISD, with at most quadratic quantum acceleration, remains the most efficient generic attack.
To compare the proposed framework with other code-based cryptosystems, we adopt the complexity measure of [17]. Specifically, for a classical attack on an code, the ISD complexity, denoted by , is proportional to the number of iterations required by the ISD algorithm. In the present work, the classical ISD complexity is approximated by
For quantum computing, the corresponding complexity, denoted by , becomes
Each quantum iteration requires a function evaluation requiring qubit operations.
We now apply Equation (31) to estimate the ISD complexity of a Goppa-code-based cryptosystem, using the widely adopted parameter set as a reference, and compare it with the proposed MPC framework at a comparable key size( 50 Mbits). Public-key size is measured as the total number of stored bits required to represent the dense binary parity-check matrix without compression. Although the parameter is publicly known, the actual number of errors in the plaintext vector is not revealed. For a conservative comparison, however, we assume that the effective number of errors in the MPC scheme is fixed at . Substituting the parameters of the (8192, 6528, 128) Goppa code into Equation (31) yields
For an MPC construction with a comparable key size (~35 Mbits), we may choose N = 8200 and N - K = 4300. Selecting the degree-14 CC polynomials
(34) expressed in octal form, yields a code with . Choosing of degree 186 gives . For these parameters, selecting produces approximately 574 errors in an 8200-bit error vector. This error rate lies well within the correction capability of the selected CC, which corrects up to 9 errors in a 30-bit window, making decoding failures highly unlikely.
By contrast, incorrectly unmasked candidates are decoded, as discussed in Section 2, to vectors lying at a Hamming distance of approximately
from the received vector. This distance is substantially larger than the expected 574-error radius of the valid plaintext, placing such candidates well outside the decoder's effective decoding radius. This separation enables reliable discrimination between the correct plaintext and incorrect candidates. Consequently, the valid plaintext is identified with overwhelming probability, while incorrect candidates are systematically rejected.
Under these assumptions, the estimated ISD complexity of the proposed MPC cryptosystem is
This corresponds to an estimated increase in ISD attack complexity by a factor of approximately
relative to the Niederreiter and Classic McEliece parameter set considered in Equation (33). For quantum ISD (QISD), the improvement is approximately , consistent with the square-root speedup provided by Grover-type quantum search.
The probability of decoding failure, and hence the need for retransmission, can also be estimated directly. For example, the decoder fails if more than 9 errors occur within a 30-bit window. At an error probability of , the probability of this event is approximately
Over 274 windows, corresponding to a ciphertext length of approximately 8,200 bits, the probability of successful decoding is therefore
This demonstrates that the proposed MPC cryptosystem maintains a very high probability of successful decryption even for ciphertexts spanning thousands of bits under fully random error injection.
We note that low-rate public codes can correct a larger fraction of errors than high-rate codes. However, their increased redundancy may adversely affect both efficiency and security in code-based cryptosystems, as indicated by (31). When , the large number of parity constraints, , may be exploited to accelerate decoding attacks [18]. Consequently, the code rate is an important design parameter in selecting the underlying CC. In practice, a code rate close to 1/2, i.e., , provides a good balance between security and implementation efficiency.
Finally, we examine the computational complexity of decryption. Schöffel et al. [19] presented a hardware/software co-design implementation of the Hamming Quasi-Cyclic (HQC) cryptosystem for IoT edge devices, demonstrating that code-based cryptography can provide a practical alternative to lattice-based schemes in resource-constrained environments. Similarly, [20] introduced an FPGA-based hardware accelerator for HQC post-quantum cryptography, implementing key generation, encapsulation, and decapsulation with substantial performance gains through tight integration with a RISC-V core.
In the proposed MPC cryptosystem, the dominant contribution to the decryption complexity arises from syndrome-trellis decoding. Other operations, such as polynomial division and syndrome unmasking, are performed on the entire ciphertext but incur negligible computational cost compared with the per-bit processing carried out by the syndrome-trellis decoders. To quantify the decoding complexity, we evaluate the number of Add-Compare-Select (ACS) operations required per decrypted ciphertext bit. These operations are highly amenable to efficient hardware and software implementation, enabling scalable high-throughput realizations.
Assume that the MPC cryptosystem employs a CC with memory together with a rank- masking matrix. The decryption process then requires parallel syndrome-trellis decoders, each operating with ACS units per bit. Consequently, the total ACS complexity per ciphertext bit is . This complexity is independent of the plaintext length and therefore scales linearly with the ciphertext size, ensuring predictable performance for arbitrarily long messages.
For example, using the CC defined by (34) with l=6 and memory p=14, the total number of ACS operations per decrypted ciphertext bit is
which remains well within the capabilities of modern commercial processors and dedicated hardware accelerators, including those integrated into contemporary mobile devices.
8. CONCLUSION
This work introduced a novel post-quantum cryptographic framework based on high-memory masked parity-check matrices of convolutional codes, addressing several inherent limitations of traditional block-code-based cryptosystems. Security is enhanced through random error injection into the plaintext, combined with dense random masking and invertible linear transformations that produce dense, random-like parity-check matrices, thereby mitigating vulnerabilities associated with low-density or structurally distinguishable codes.
A principal novelty of this work is the introduction of directed-graph decoders as the practical decryption mechanism for masked code-based crypto systems. Decoding is performed by an array of syndrome trellises, dynamically constructed by the legitimate recipient from predefined building blocks. While authorized users resolve the resulting decryption ambiguity in polynomial time, an adversary appears to be limited to exponential-time decoding attacks.
The analysis presented in this work indicates that, for the parameter sets considered, the proposed framework can achieve substantially higher estimated security margins than Niederreiter or Classic McEliece, with estimated ISD attack-complexity improvements exceeding factors of against quantum adversaries and against classical adversaries, while maintaining practical decoding complexity for legitimate users.
Beyond its security properties, the proposed construction supports arbitrary plaintext lengths, linear overall decoding complexity with message length, and efficient high-throughput implementation in both software and hardware. Collectively, these characteristics make the proposed MPC framework a promising candidate for robust, scalable, and practically deployable post-quantum public-key cryptography.
REFERENCES
[1] McEliece, R.J., (1978) “A Public-Key Cryptosystem Based on Algebraic Coding Theory”, DSN Progress Report.
[2] Bernstein, D.J.; Lange, T.; Peters, C., (2008) “Attacking and defending the McEliece cryptosystem”, Post-Quantum Cryptography, pp. 31–46.
[3] Misoczki, R.; Tillich, J.-P.; Sendrier, N.; Barreto, P.S.L.M., (2013) “New McEliece Variants from Moderate Density Parity-Check Codes”, Proceedings of the IEEE International Symposium on Information Theory (ISIT), pp. 2069–2073.
[4] National Institute of Standards and Technology (NIST), “Post-Quantum Cryptography Standardization, (2023), https://csrc.nist.gov
[5] Weger, V.; Barelli, E.; Beullens, W.; Couvreur, A.; Debris-Alazard, T.; Galvez, L.; Gauthier-Umaña, V.; Misoczki, R.; Puchinger, S.; Sárközy, G.; Sendrier, N., (2022) “A Survey on Code-Based Cryptography”, IACR Cryptology ePrint Archive, Report 2022/005. Updated July 2024, https://eprint.iacr.org/2022/005
[6] Cayrel, P.L.; Gaborit, P.; Misoczki, R.; Puchinger, S.; Weger, V. (eds.), (2024) Code-Based Cryptography, Proceedings of CBCrypto 2024, Vol. 14699, Springer, Cham.
[7] Ariel, M., (2025) “High-Memory Masked Convolutional Codes for Post-Quantum Cryptography”, CS & IT Conference Proceedings, vol. 15, no. 17, pp. 1–22, 2025.
[8] Ariel, M., (2025) “Decryption Through Polynomial Ambiguity: Noise-Enhanced High-Memory Convolutional Codes for Post-Quantum Cryptography”, International Journal on Cryptography and Information Security (IJCIS), Vol. 15, Nos.1-4, Dec. 2025, pp. 1–23.
[9] Baldi, M.; Chiaraluce, F.; Garello, R.; Mininni, F., (2007) “Quasi-cyclic Low-Density Parity-Check Codes in the McEliece Cryptosystem”, Proceedings of the IEEE International Conference on Communications (ICC), pp. 951–956.
[10] Niederreiter, H., (1986) “Knapsack-Type Cryptosystems and Algebraic Coding Theory”, Problems of Control and Information Theory, 15, pp. 159–166.
[11] Canteaut, A.; Sendrier, N., (1998) “Cryptanalysis of the Original McEliece Cryptosystem”, ASIACRYPT '98, LNCS 1514, pp. 187-199.
[12] Ariel, M.; Snyder, J., (1998) “Error-Trellises for Convolutional Codes – Part I: Construction”, IEEE Transactions on Communications, Vol. 46, No. 12, pp. 1592–1601.
[13] Ariel, M.; Meidan, R., (1999) “Soft-Decision Syndrome-Based Decoder for Convolutional Codes”, U.S. Patent 6,009,552
[14] Becker, A.; Joux, A.; May, A.; Meurer, A., (2012) “Decoding Random Binary Linear Codes in ”, Advances in Cryptology – EUROCRYPT 2012, Lecture Notes in Computer Science Vol. 7237, pp. 520–536.
[15] Prange, E., (1962) “The Use of Information Sets in Decoding Cyclic Codes”, IRE Transactions on Information Theory, Vol. 8, No. 5, pp. 5–9.
[16] Lee, P.J.; Brickell, E.F., (1988) “An Observation on the Security of McEliece’s Public-Key Cryptosystem”, Advances in Cryptology – EUROCRYPT 88, LNCS Vol. 330, pp. 275–280.
[17] Bernstein, D.J., (2010) “Grover vs. McEliece”, in N. Sendrier(Ed.), Post-Quantum Cryptography, PQCrypto 2010, Vol. 6061, pp. 73–80. Springer, Heidelberg.
[18] Carrier, N.; Espitau, T.; Gaborit, P.; Géraud, A.; Kachigar, G., (2024) “Reduction from Sparse LPN to LPN, Dual Attack 3.0”, Advances in Cryptology – EUROCRYPT 2024, Vol. 14655, pp. 735–765. Springer, Cham.
[19] Schöffel, P.; Feldmann, A.; Wehn, N., “Code-Based Cryptography in IoT: A HW/SW Co-Design of HQC”, Proceedings of the Design, Automation and Test in Europe Conference(2023), pp. 368–373.
[20] Di Matteo, A.; Marrone, M.; Valenzano, A., (2025) “TYRCA: A RISC-V Tightly Coupled Accelerator for Code-Based Cryptography”, Proceedings of the 62nd Design Automation Conference (DAC 2025), pp. 1–6.
AUTHOR
Meir Ariel received the B.Sc. and M.Sc. degrees (with honors) in Electrical Engineering and the Ph.D. degree in Algebraic Group Theory from Tel Aviv University, Israel. He has more than 30 years of research and development experience in signal processing, wireless communications, information theory, cryptography, and space technologies, holding leadership positions in both industry and the public sector. From 1999 to 2013, he served as Chief Executive Officer of several technology companies specializing in computer vision, Voice over IP (VoIP), and financial technologies (FinTech). Since 2013, he has been the Director General of the Herzliya Science Center. In 2018, he founded the Space Engineering Center at Tel Aviv University, where he currently serves as its Head. Under his leadership, the Center has developed and launched 24 nanosatellites for scientific research and experimental space communications. He holds 15 patents in information theory and signal processing and has served on national advisory committees in science and education. His honors include the Marco Polo Society Award (2018) and recognition by Israel's Ministry of Science and Technology as one of the country's 60 pioneering inventors (2016).

©2026 By AIRCC Publishing Corporation. This article is published under the Creative Commons Attribution (CC BY) license.