cs.CROct 22, 2026

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

Authors: Tran Minh Thanh, Vo Hoai Viet

Organizations: Faculty of Information Technology, University of Science, Ho Chi Minh City, Vietnam · Vietnam National University, Ho Chi Minh City, Vietnam

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 clas- sical 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.

Figures & tables

Explore similar work

CardsList
  1. AI-Driven Adaptive Adversaries and the Erosion of Cryptographic Trust in Public Key Systems

    May 23, 2026Petar RadanlievAdversarial AttacksCybersecurity

  2. Prime Fourier Embeddings: A Principled Basis for Modular Arithmetic

    Jun 22, 2026Hyunsang Hwang, Suhyun Bae, Donghun LeeFourier Feature EmbeddingsRepresentation Learning