Growing Random Strings in CA
Pith reviewed 2026-05-24 10:28 UTC · model grok-4.3
The pith
Cellular automata can produce long pseudo-random strings from short seeds using diffusion and confusion.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
We discuss a class of cellular automata able to produce long random strings, starting from short seed strings. The approach uses two principles borrowed from cryptography: diffusion and confusion. We show numerically that the strings are pseudo-random using three approaches based on: Fourier transform, entropy estimation, and compression. An application to cryptography is also included with the corresponding Python code.
What carries the argument
Cellular automata rules that apply diffusion and confusion to short seed strings to generate longer sequences.
If this is right
- The outputs pass the Fourier, entropy, and compression checks for pseudo-random behavior.
- Short seeds can be deterministically expanded into long strings via the automata rules.
- The method supplies a concrete cryptographic application with accompanying Python code.
- The strings are positioned as usable in cryptographic contexts on the basis of the numerical evidence.
Where Pith is reading between the lines
- Hardware circuits built from the same local rules could generate the strings at high speed.
- The same expansion technique might be tested on other cellular automaton neighborhoods or lattice dimensions.
- Links to other deterministic systems that produce apparent randomness from simple rules could be examined.
Load-bearing premise
The chosen cellular automaton rules and the three numerical tests suffice to establish that the strings behave as pseudo-random for cryptographic purposes.
What would settle it
A demonstration that the generated strings fail an additional standard randomness test or admit a successful cryptanalytic attack not covered by the three tests used.
Figures
read the original abstract
We discuss a class of cellular automata (CA) able to produce long random strings, starting from short "seed" strings. The approach uses two principles borrowed from cryptography: diffusion and confusion. We show numerically that the strings are pseudo-random using three approaches based on: Fourier transform, entropy estimation, and compression. An application to cryptography is also included with the corresponding Python code.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript introduces a class of cellular automata that generate long strings from short seeds by applying diffusion and confusion. It claims these strings are pseudo-random on the basis of numerical evidence from Fourier transform, entropy estimation, and compression tests, and presents a cryptographic application together with Python code.
Significance. If the central numerical claim can be placed on firmer ground, the construction would supply a lightweight, rule-based mechanism for expanding short seeds into long strings while inheriting two standard cryptographic design principles. The provision of executable code is a clear strength for reproducibility.
major comments (2)
- [§4] §4 (Numerical validation): the central claim that the generated strings are pseudo-random for cryptographic use rests on only the three listed tests. These tests omit standard components of cryptographic randomness batteries (linear-complexity, serial, runs, and approximate-entropy tests) and supply no justification for their sufficiency or controls for false-positive rates; the abstract and main text give no sequence lengths, trial counts, or rule-parameter details.
- [§5] §5 (Cryptographic application): the security argument assumes that passing the three tests implies suitability for cryptographic use, yet no formal security reduction or indistinguishability argument is provided; the claim is therefore load-bearing and unsupported by the evidence presented.
minor comments (2)
- [§3] The precise definition of the cellular-automaton update rules and the mapping from diffusion/confusion principles to the local function are stated only informally; explicit pseudocode or a small example table would improve clarity.
- Figure captions and axis labels in the Fourier and entropy plots do not indicate the number of independent runs or the exact string lengths used, hindering direct comparison with other generators.
Simulated Author's Rebuttal
We thank the referee for the constructive comments. We address each major comment below and indicate the revisions we will make.
read point-by-point responses
-
Referee: [§4] §4 (Numerical validation): the central claim that the generated strings are pseudo-random for cryptographic use rests on only the three listed tests. These tests omit standard components of cryptographic randomness batteries (linear-complexity, serial, runs, and approximate-entropy tests) and supply no justification for their sufficiency or controls for false-positive rates; the abstract and main text give no sequence lengths, trial counts, or rule-parameter details.
Authors: We agree that explicit values for sequence lengths, trial counts, and rule parameters are required for reproducibility and will add them to §4 and the abstract in the revision. The three tests were selected to directly probe the diffusion (Fourier) and confusion (entropy, compression) properties that the construction inherits from cryptographic design principles. We will insert a short justification for this choice and a limitations paragraph noting that these tests do not constitute a full NIST-style battery. Because the manuscript is primarily a numerical demonstration rather than a comprehensive statistical study, we will not add the full set of omitted tests but will make the existing evidence more transparent. revision: partial
-
Referee: [§5] §5 (Cryptographic application): the security argument assumes that passing the three tests implies suitability for cryptographic use, yet no formal security reduction or indistinguishability argument is provided; the claim is therefore load-bearing and unsupported by the evidence presented.
Authors: We accept that the manuscript does not contain a formal security reduction or indistinguishability argument. The cryptographic application is offered only as an illustrative example that re-uses the diffusion and confusion mechanisms already validated numerically. We will revise §5 and the abstract to state explicitly that the construction provides a lightweight, rule-based expander whose empirical randomness properties are supported by the reported tests, while making clear that formal cryptographic security remains an open question requiring separate analysis. revision: yes
Circularity Check
No circularity: empirical validation via direct numerical tests
full rationale
The paper generates strings via CA evolution under diffusion/confusion rules and validates pseudo-randomness through independent numerical tests (Fourier transform, entropy, compression). No derivation chain exists that reduces predictions or results to inputs by construction, no fitted parameters are relabeled as predictions, and no self-citations or uniqueness theorems are invoked as load-bearing. The results are outputs of explicit simulation, not tautological redefinitions.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
Wolfram,A New Kind of Science , Wolfram Media (2002)
S. Wolfram,A New Kind of Science , Wolfram Media (2002)
work page 2002
-
[2]
S. Wolfram, Random sequence generation by cellular automata , Advances in applied mathematics, 7(2):123-169 (1986)
work page 1986
- [3]
-
[4]
Golomb, Shift-Register Sequences (revised edition), Aegean Press (1982)
S. Golomb, Shift-Register Sequences (revised edition), Aegean Press (1982)
work page 1982
-
[5]
A. Fuster-Sabater, P. Caballero-Gil,On the Use of Cellular Automata in Symmetric Cryptography, Acta Appl. Math 93, 215-236 (2006)
work page 2006
-
[6]
R., Cryptography Theory and Practice , 3rd ed., CRC Press, Boca Raton, 2006
Stinson D. R., Cryptography Theory and Practice , 3rd ed., CRC Press, Boca Raton, 2006
work page 2006
-
[7]
Katz J., Lindell Y., Introduction to modern cryptography , CRC Press, Boca Raton, 2008
work page 2008
-
[8]
C.Shannon, Communication Theory of Secrecy Systems, BellSystemTechnicalJournal, 28(4), 656 (1949)
work page 1949
-
[9]
https://docs.python.org/3/library/bz2.html 9
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.