arXiv:2610.30935cs.CROct 2026

Manuscript Offprint

arXiv:2610.30935

Bridging Number-Theoretic Primality Testing And Algorithmic Optimization: An Adaptive Cryptographic Framework

Tran Minh Thanh, Vo Hoai Viet

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

The security of modern public-key cryptographic systems, such as RSA, Diffie-Hellman, and ECC, depends entirely on the computational intractability of the integer factorization and discrete logarithm problems. For these asymmetric algorithms to operate, a core requirement is that the system must be capable of generating, testing, and simultaneously proving the primality of extraordinarily large numbers. To meet those requirements, this study proposes a comprehensive framework, bridging classical number theory with modern machine learning models and optimization algorithms. Specifically, the paper delineates an adaptive, arbitrary-precision architecture dedicated exclusively to primality testing. Concurrently, the research deeply analyzes the theoretical foundations of testing methods (both deterministic and probabilistic), hardware-level optimization techniques, and the application of quantum-secured entropy sources, while providing rigorous mathematical proofs to guarantee security even when the prime distribution is biased.

Keywords Primality Testing · Arbitrary-Precision Arithmetic · Machine Learning · Elliptic Curve Cryptography · Optimization Paradigms · Information Security · Quantum Entropy · QRNG.

1 Introduction

References (21)