The Pseudorandom Key Sequences Generator Based on IV-Sets of Quaternary Bent-Sequences

Elena Bakunina, Artem SokolovCMIS 2022

Introduction

Modern cryptography relies heavily on Pseudorandom Key Sequence Generators (PRKSGs) to ensure data confidentiality. A robust generator must balance speed with high levels of diffusion and confusion. While Linear Feedback Shift Registers (LFSRs) provide excellent diffusion and hardware efficiency, their inherent linearity makes them vulnerable to algebraic attacks. To counter this, nonlinear elements—typically bent functions—are introduced to provide the necessary complexity.

General structure of a PRKSG combining linear registers with a nonlinear element to provide confusion and diffusion.

However, traditional binary bent functions face significant challenges: they only exist for specific lengths and are often "unbalanced," leading to statistical biases in the output. This paper presents a novel PRKSG architecture that utilizes quaternary (4-valued) logic and "IV-sets" of quaternary bent-sequences to overcome these limitations.

The Quaternary Approach

As computing moves toward many-valued logic systems, there is a growing need for generators that operate natively in non-binary alphabets. The proposed system works with the set {0, 1, 2, 3}. By using quaternary logic, the generator can process two bits of information per cycle, leading to significant hardware optimizations.

The core innovation lies in the use of IV-sets of quaternary bent-sequences. While individual bent functions are inherently unbalanced, an IV-set is a specific collection of sequences that, when combined, achieve perfect balance—meaning an equal distribution of all four possible values. This ensures the output meets the rigorous statistical standards required for cryptographic security without sacrificing nonlinearity.

Architecture and Methodology

The proposed generator employs a hybrid architecture that leverages the strengths of both binary and quaternary components.

The proposed quaternary PRKSG architecture using six binary LFSRs, multiplexers, and a quaternary bent-sequence block (H1).

Key components of the architecture include:

  • Binary LFSRs: Multiple standard binary LFSRs provide the necessary diffusion and stochastic quality.
  • Multiplexing and Quaternary Conversion: The outputs of these registers are paired via multiplexers (MUX) to form quaternary digits.
  • Nonlinear Processing (H1): The quaternary signals are processed through a block based on a quaternary bent-sequence.
  • Algorithmic Optimization: To minimize memory usage, the authors developed a method to generate the entire IV-set from a single base sequence ($H_1$) by applying modulo 4 addition. This "shortcut" avoids the need to store multiple large sequences in hardware, significantly reducing the memory footprint.

Results and Security Analysis

The generator was evaluated using the NIST SP 800-22 statistical test suite, the industry benchmark for randomness. The system passed all 15 tests, including Monobit, Runs, and Spectral tests, confirming that its output is statistically indistinguishable from true random noise.

From a security perspective, the generator offers massive keyspaces that exceed current standards. A configuration using sequences of length $N=16$ provides a protection level of approximately $2^{173.6}$, while increasing the length to $N=64$ pushes the complexity to $2^{287}$. Both configurations exceed the security requirements of the AES-256 block cipher. Furthermore, the quaternary design achieved these results with 40% fewer LFSR components than comparable binary-only systems, representing a major leap in hardware efficiency.

Conclusion and Future Work

By integrating quaternary logic with balanced IV-sets of bent-sequences, this research provides a path forward for high-performance, hardware-efficient cryptography. While the synthesis of complete classes of bent-sequences for very large lengths remains a challenge, the current results demonstrate a viable and highly secure alternative to traditional binary generators. Future work will focus on synthesizing larger classes of sequences and exploring applications in frequency-hopping spread spectrum (FHSS) communications.

Summary updated

BibTeX
@inproceedings{bakunina2022pseudorandom,
  author = {Elena Bakunina and Artem Sokolov},
  title = {{The Pseudorandom Key Sequences Generator Based on IV-Sets of Quaternary Bent-Sequences}},
  booktitle = {CMIS},
  year = {2022},
}
Figure