ARTÍCULO
TITULO

Using random search and brute force algorithm in factoring the RSA modulus

Mohammad Andri Budiman    
Dian Rachmawati    

Resumen

Abstract. The security of the RSA cryptosystem is directly proportional to the size of its modulus, n. The modulus n is a multiplication of two very large prime numbers, notated as p and q. Since modulus n is public, a cryptanalyst can use factorization algorithms such as Euler?s and Pollard?s algorithms to derive the private keys, p and q. Brute force is an algorithm that searches a solution to a problem by generating all the possible candidate solutions and testing those candidates one by one in order to get the most relevant solution. Random search is a numerical optimization algorithm that starts its search by generating one candidate solution randomly and iteratively compares it with other random candidate solution in order to get the most suitable solution. This work aims to compare the performance of brute force algorithm and random search in factoring the RSA modulus into its two prime factors by experimental means in Python programming language. The primality test is done by Fermat algorithm and the sieve of Eratosthenes.

 Artículos similares

       
 
M. Domaneschi, R. Cucuzza, L. Sardone, S. Londoño Lopez, M. Movahedi and G. C. Marano    
Random vibration analysis is a mathematical tool that offers great advantages in predicting the mechanical response of structural systems subjected to external dynamic loads whose nature is intrinsically stochastic, as in cases of sea waves, wind pressur... ver más
Revista: Computation

 
Esra?a Alkafaween, Ahmad Hassanat, Ehab Essa and Samir Elmougy    
The genetic algorithm (GA) is a well-known metaheuristic approach for dealing with complex problems with a wide search space. In genetic algorithms (GAs), the quality of individuals in the initial population is important in determining the final optimal ... ver más
Revista: Applied Sciences

 
Ahmed Yosri, Maysara Ghaith, Mohamed Ismaiel Ahmed and Wael El-Dakhakhni    
The efficient management and remediation of contaminated fractured aquifers necessitate an accurate prediction of the spatial distribution of contaminant concentration within the system. Related existing analytical solutions are only applicable to single... ver más
Revista: Water

 
Hosang Han and Jangwon Suh    
The accurate prediction of soil contamination in abandoned mining areas is necessary to address their environmental risks. This study employed a combined model of machine learning and geostatistics to predict the spatial distribution of soil contaminatio... ver más
Revista: Applied Sciences

 
Jih-Jeng Huang and Chin-Yi Chen    
The Analytic Hierarchy Process (AHP) has been a widely used multi-criteria decision-making (MCDM) method since the 1980s because of its simplicity and rationality. However, the conventional AHP assumes criteria independence, which is not always accurate ... ver más
Revista: Algorithms