Towards Generation of Secure Pseudorandom Prime Dataset Using Generative Adversarial Networks and The Learning Parity with Noise Problem

At present, prime numbers are an essential part of online security for secure key generation and digital signatures due to their unpredictabil-‎ity and resistance to factorization attacks, which has led to considerable interest in research on distributions of primes, especially prime gaps ‎and hidden patterns. Traditional prime analytical methods lack structural insight at the scale of cryptographic systems. This has led to greater ‎interest in applying machine learning (ML) techniques to prime analysis. However, due to a lack of publicly available high-quality datasets, ‎the evaluation of prime behavior using ML is often impeded. Furthermore, current prime generation techniques tend to become computa‎tionally inefficient when scaled to produce large quantities of high-bit-length prime numbers. In response, this paper proposes a novel generative pipeline, GANLPN, that leverages Generative Adversarial Networks (GANs) combined with the Learning Parity with Noise (LPN) ‎problem to generate bulk primes that are cryptographically secure. In this way, a publicly accessible dataset of 1,115,000 1024-bit primes ‎has been generated. The generated sequences passed all NIST SP800-22 statistical randomness tests with better inference time and throughput. The present work outlines a path for future ML-assisted studies of prime patterns, gaps, distributions, and the presence of weak keys in ‎cryptography.

Authors

Institutions

Publication Details

Journal
International Journal of Basic and Applied Sciences
Published
2025-12-17
DOI
https://doi.org/10.14419/9bppfw31
Primary Topic
Chaos-based Image/Signal Encryption
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Generation of Secure Pseudorandom Prime Dataset Using Generative Adversarial Networks and The Learning Parity with Noise Problem

Patrick Kwabena Mensah, Peter Nimbe, Peter Appiahene, Daniel Asiedu
International Journal of Basic and Applied Sciences
Chaos-based Image/Signal Encryption
article

Towards Generation of Secure Pseudorandom Prime Dataset Using Generative Adversarial Networks and The Learning Parity with Noise Problem

Patrick Kwabena Mensah, Peter Nimbe, Peter Appiahene, Daniel Asiedu
article en

Abstract

At present, prime numbers are an essential part of online security for secure key generation and digital signatures due to their unpredictabil-‎ity and resistance to factorization attacks, which has led to considerable interest in research on distributions of primes, especially prime gaps ‎and hidden patterns. Traditional prime analytical methods lack structural insight at the scale of cryptographic systems. This has led to greater ‎interest in applying machine learning (ML) techniques to prime analysis. However, due to a lack of publicly available high-quality datasets, ‎the evaluation of prime behavior using ML is often impeded. Furthermore, current prime generation techniques tend to become computa‎tionally inefficient when scaled to produce large quantities of high-bit-length prime numbers. In response, this paper proposes a novel generative pipeline, GANLPN, that leverages Generative Adversarial Networks (GANs) combined with the Learning Parity with Noise (LPN) ‎problem to generate bulk primes that are cryptographically secure. In this way, a publicly accessible dataset of 1,115,000 1024-bit primes ‎has been generated. The generated sequences passed all NIST SP800-22 statistical randomness tests with better inference time and throughput. The present work outlines a path for future ML-assisted studies of prime patterns, gaps, distributions, and the presence of weak keys in ‎cryptography.

International Journal of Basic and Applied SciencesVol. 14(8)
University of Energy and Natural Resources (GH)
Openalex Percentile: Top 58%
Chaos-based Image/Signal Encryption
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.