Fermat factorization using a multi-core system

Bahig, Hazem; Kotb, Yasser;

Abstract


Factoring a composite odd integer into its prime factors is one of the security problems for some public-key cryptosystems such as the Rivest-Shamir-Adleman cryptosystem. Many strategies have been proposed to solve factorization problem in a fast running time. However, the main drawback of the algorithms used in such strategies is the high computational time needed to find prime factors. Therefore, in this study, we focus on one of the factorization algorithms that is used when the two prime factors are of the same size, namely, the Fermat factorization (FF) algorithm. We investigate the performance of the FF method using three parameters: (1) the number of bits for the composite odd integer, (2) size of the difference between the two prime factors, and (3) number of threads used. The results of our experiments in which we used different parameters values indicate that the running time of the parallel FF algorithm is faster than that of the sequential FF algorithm. The maximum speed up achieved by the parallel FF algorithm is 6.7 times that of the sequential FF algorithm using 12 cores. Moreover, the parallel FF algorithm has near-linear scalability.


Other data

Title Fermat factorization using a multi-core system
Authors Bahig, Hazem ; Kotb, Yasser
Keywords Fermat factorization;Integer factorization;Multi-core;Parallel algorithm
Issue Date 1-Jan-2020
Journal International Journal of Advanced Computer Science and Applications 
Volume 11
Issue 4
ISSN 2158107X
DOI 10.14569/IJACSA.2020.0110444
Scopus ID 2-s2.0-85085563325

Recommend this item

Similar Items from Core Recommender Database

Google ScholarTM

Check

Citations 7 in scopus


Items in Ain Shams Scholar are protected by copyright, with all rights reserved, unless otherwise indicated.