Evaluating Genetic-Algorithm Key Generation for OTP Encryption Against AEAD Standards

One-Time Pad (OTP) encryption offers perfect secrecy, but only if its key is truly random, as long as the message, and never reused. Prior studies proposed heuristic key generators for OTP, such as genetic algorithms (GA), linear congruential generators (LCG) and neural networks, usually without a unified comparison against the authenticated-encryption (AEAD) standards used in practice. This paper presents a reproducible benchmark of five methods: OTP-OS, LCG-XOR, GA-XOR, AES-GCM and ChaCha20-Poly1305. The main experiment contains 1,200 randomized observations over four message sizes (4 KiB to 5 MiB) with 30 replicated blocks, complemented by tamperdetection, keystream-diagnostic and GA-isolation experiments. AES-GCM was the fastest method from 64 KiB upward (6.90 ms at 5 MiB), whereas GA-XOR was 17.4 to 1,554.9 times slower than the fastest method depending on size. Each AEAD cipher rejected all 90 tampered packages, while each of the three XOR-based methods accepted all 90 modifications silently. LCG-XOR reached an ideal entropy of 8.000000 bit/byte yet repeated its keystream every 256 bytes. Finally, GA improved its own fitness function over a single seed but not over random search with an equal budget of 156 evaluations, nor on held-out data. Heuristic key generation therefore showed no demonstrated security benefit over standard AEAD.

Authors

Institutions

Publication Details

Journal
International Journal of Innovative Science and Research Technology (IJISRT)
Published
2026-11-02
DOI
https://doi.org/10.38124/ijisrt/26oct012
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating Genetic-Algorithm Key Generation for OTP Encryption Against AEAD Standards

Mohamad Mostafa Haajjouz, Ahmad Salah Aljalikh
International Journal of Innovative Science and Research Technology (IJISRT)
Cryptographic Implementations and Security
article

Evaluating Genetic-Algorithm Key Generation for OTP Encryption Against AEAD Standards

Mohamad Mostafa Haajjouz, Ahmad Salah Aljalikh
article en

Abstract

One-Time Pad (OTP) encryption offers perfect secrecy, but only if its key is truly random, as long as the message, and never reused. Prior studies proposed heuristic key generators for OTP, such as genetic algorithms (GA), linear congruential generators (LCG) and neural networks, usually without a unified comparison against the authenticated-encryption (AEAD) standards used in practice. This paper presents a reproducible benchmark of five methods: OTP-OS, LCG-XOR, GA-XOR, AES-GCM and ChaCha20-Poly1305. The main experiment contains 1,200 randomized observations over four message sizes (4 KiB to 5 MiB) with 30 replicated blocks, complemented by tamperdetection, keystream-diagnostic and GA-isolation experiments. AES-GCM was the fastest method from 64 KiB upward (6.90 ms at 5 MiB), whereas GA-XOR was 17.4 to 1,554.9 times slower than the fastest method depending on size. Each AEAD cipher rejected all 90 tampered packages, while each of the three XOR-based methods accepted all 90 modifications silently. LCG-XOR reached an ideal entropy of 8.000000 bit/byte yet repeated its keystream every 256 bytes. Finally, GA improved its own fitness function over a single seed but not over random search with an equal budget of 156 evaluations, nor on held-out data. Heuristic key generation therefore showed no demonstrated security benefit over standard AEAD.

International Journal of Innovative Science and Research Technology (IJISRT)Vol. 11(10)
Homs University (SY), Syrian Virtual University (SY)
Openalex Percentile: Top 17%
Cryptographic Implementations and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon