RUS  ENG
Full version
JOURNALS // Prikladnaya Diskretnaya Matematika. Supplement // Archive

Prikl. Diskr. Mat. Suppl., 2014 Issue 7, Pages 160–162 (Mi pdma193)

Computational methods in discrete mathematics

An algorithm for generating a pair of special primes

K. D. Zhukov, A. S. Rybakov

Moscow

Abstract: In this paper, a modification is described for an algorithm generating the pair of prime integers $p,q$ such that the integers $g=\frac12(p-1,q-1)$ and $h=\frac1{2g}(pq-1)$ are also prime. The primes $p,q$ satisfied this condition are called common primes. In 2006 M. J. Hinek introduced such primes for the variant of RSA cryptosystem resistant to small private exponent attacks. The original algorithm for generating common primes can be optimized with the modification described here. The optimized algorithm is two times faster in worst case and more times in average. It takes 19 seconds to generate a pair of $512$-bit common primes $p,q$ with $384$-bit prime $g$. The modification uses sieving technique which is also mentioned in the paper of M. J. Hinek. Despite the speed up of the algorithm, the generation of common primes still takes much more time than the generation of typical primes used in RSA cryptosystem.

Keywords: special primes, Common Prime RSA.

UDC: 519.6



© Steklov Math. Inst. of RAS, 2024