[Paper Review] Pseudorandom number generation by $p$-adic ergodic transformations
This paper introduces a novel class of counter-dependent pseudorandom number generators based on $p$-adic ergodic transformations, particularly modulo $2^n$, that achieve maximum period length, uniform distribution of $k$-tuples, high linear complexity, and strong cryptographic security. The generators use key-dependent, composition-based state and output functions derived from standard machine instructions, and the scheme is provably secure against known-plaintext attacks under a plausible one-way function conjecture.
The paper study counter-dependent pseudorandom generators; the latter are generators such that their state transition function (and output function) is being modified dynamically while working: For such a generator the recurrence sequence of states satisfies a congruence $x_{i+1}\equiv f_i(x_i)\pmod{2^n}$, while its output sequence is of the form $z_{i}=F_i(u_i)$. The paper introduces techniques and constructions that enable one to compose generators that output uniformly distributed sequences of a maximum period length and with high linear and 2-adic spans. The corresponding stream chipher is provably strong against a known plaintext attack (up to a plausible conjecture). Both state transition function and output function could be key-dependent, so the only information available to a cryptanalyst is that these functions belong to some (exponentially large) class. These functions are compositions of standard machine instructions (such as addition, multiplication, bitwise logical operations, etc.) The compositions should satisfy rather loose conditions; so the corresponding generators are flexible enough and could be easily implemented as computer programs.
Motivation & Objective
- To design counter-dependent pseudorandom generators with dynamically changing state and output functions that maintain maximum period and uniform distribution.
- To ensure high linear and $2$-adic span for cryptographic robustness.
- To construct a stream cipher provably secure against known-plaintext attacks under a plausible one-way function conjecture.
- To enable flexible, efficient implementation using standard machine instructions (addition, XOR, shifts, etc.) while preserving security and statistical properties.
- To demonstrate that key-dependent compositions of simple operations can yield generators with predictable, optimal statistical parameters regardless of key choice.
Proposed method
- The generator uses a recurrence $x_{i+1} \equiv f_i(x_i) \pmod{2^n}$, where $f_i$ is a composition of machine instructions and depends on the step index $i$, enabling dynamic state transition.
- The output sequence is defined as $z_i = F_i(u_i)$, where $F_i$ is also $i$-dependent and constructed via Boolean polynomials and $p$-adic lifting techniques.
- State transition functions are built using $p$-adic ergodic mappings derived from Boolean functions via binomial coefficient representations and Lucas' congruence.
- The output function $F$ is modeled as a composition $f_F(x) = (1+x) \oplus (2^{n+1}\Psi_0(x) + \cdots + 2^{n+k}\Psi_{k-1}(x))$, ensuring compatibility and ergodicity over $\mathbb{Z}_2$.
- The system uses a truncated output function $g(x) = \lfloor x / 2^{n+1} \rfloor \mod 2^k$, extracting $k$ bits from the higher-order part of the state.
- Security is based on the conjecture that inverting the function $F(z) = \Psi_0(z) + 2\Psi_1(z) + \cdots + 2^{k-1}\Psi_{k-1}(z)$ is computationally infeasible, making key recovery hard.
Experimental results
Research questions
- RQ1Can counter-dependent generators using $p$-adic ergodic transformations achieve maximum period length and uniform distribution of $k$-tuples?
- RQ2What are the exact values of linear complexity and $2$-adic span for such generators?
- RQ3Can a stream cipher be constructed using these generators that is provably secure against known-plaintext attacks?
- RQ4How can key-dependent compositions of basic machine instructions preserve optimal statistical properties?
- RQ5Under what conditions is the output function $F$ one-way, ensuring cryptographic security?
Key findings
- The state sequence $\{x_i\}$ is purely periodic with period length exactly $2^n m$, where $m \equiv 3 \pmod{4}$, and each $n$-bit value appears exactly $m$ times in the period.
- The distribution of $k$-tuples in the binary expansion of $\{x_i\}$ is uniform, with each $k$-tuple occurring exactly $2^{n}m / 2^k$ times for $k \leq n$.
- The output sequence $\{z_i\}$ is also purely periodic with period length $2^n m$, and each value in $\{0,1,\ldots,2^n-1\}$ occurs exactly $m$ times.
- The linear complexity of the output sequence is high, approaching $2^n m$, indicating strong resistance to linear cryptanalysis.
- The $2$-adic span of the output sequence is exactly $2^n m$, confirming strong nonlinearity and resistance to $2$-adic analysis.
- The scheme is provably secure against known-plaintext attacks under the assumption that the function $F(z) = \sum_{j=0}^{k-1} 2^j \Psi_j(z)$ is one-way, which is plausible given the difficulty of solving systems of Boolean equations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.