Recent factorization of RSA-240 & DLP
Henry Baker <[email protected]> Mon, 06 Jan 2020 12:34:12 -0800
| Newsgroups | gmane.comp.encryption.general |
|---|---|
| Message-ID | <[email protected]> |
FYI --
https://listserv.nodak.edu/cgi-bin/wa.exe?A2=3DNMBRTHRY;fd743373.1912
Subject: 795-bit factoring and discrete logarithms
From: Emmanuel Thom=C3=A9 <[log in to unmask]>
Date: Mon, 2 Dec 2019 13:53:58 +0100
Dear number theorists,
We are pleased to announce the factorization of RSA-240, from RSA's challen=
ge
list, and the computation of a discrete logarithm of the same size (795 bit=
s):
RSA-240 =3D 124620366781718784065835044608106590434820374651678805754818788=
883289666801188210855036039570272508747509864768438458621054865537970253930=
571891217684318286362846948405301614416430468066875699415246993185704183030=
512549594371372159029236099
=3D 509435952285839914555051023580843714132648382024111473186660296=
521821206469746700620316443478873837606252372049619334517
* 24462420883831815056781313902400289665380209257893140145204122133=
6558477095178155258218897735030590669041302045908071447
Let p =3D RSA-240 + 49204 be the first safe prime above RSA-240. We chose
as a target the encoding of the sentence "The magic words are still
Squeamish Ossifrage" (in reference to the factorization of RSA-129 [1]):
target_str=3D"The magic words are still Squeamish Ossifrage"
target_hex=3D`echo -n $target_str | xxd -p -c 256`
target_hex=3D${target_hex^^}
target=3D`echo "ibase=3D16; $target_hex" | BC_LINE_LENGTH=3D0 bc`
target =3D 7743566263439739859666222160060876869267055886499582061663171477=
22421706101723470351970238538755049093424997
we have with generator g =3D 5:
log(target) =3D 92603135928144195363094955331732855502961099191437611616729=
420475898744562365366788100548099072093487548258752802923326447367244150096=
121629264809207598195062213366889859186681126928982506005127728321426751244=
111412371767375547225045851716
which can be checked with 5^926...716 =3D target mod p.
The previous records were RSA-768 (768 bits) in December 2009 [2], and
a 768-bit prime discrete logarithm in June 2016 [3].
It is the first time that two records for integer factorization and discrete
logarithm are broken together, moreover with the same hardware and software.
Both computations were performed with the Number Field Sieve algorithm,
using the open-source CADO-NFS software [4].
The sum of the computation time for both records is roughly 4000
core-years, using Intel Xeon Gold 6130 CPUs as a reference (2.1GHz).
A rough breakdown of the time spent in the main computation steps is as
follows.
RSA-240 sieving: 800 physical core-years
RSA-240 matrix: 100 physical core-years
DLP-240 sieving: 2400 physical core-years
DLP-240 matrix: 700 physical core-years
The computation times above are well below the time that was spent with
the previous 768-bit records. To measure how much of this can be
attributed to Moore's law, we ran our software on machines that are
identical to those cited in the 768-bit DLP computation [3], and reach
the conclusion that sieving for our new record size on these old machines
would have taken 25% less time than the reported sieving time of the
768-bit DLP computation.
Another estimation can be made with the rough complexity ratio given by
the L_N(1/3,(64/9)^(1/3)) formula that, up to (1+o(1)) factors in the
exponent, is customarily taken as an estimation of the expected hardness
increase from one computation to the next. This would suggest that
795-bit computations should be 2.25 times harder than 768-bit
computations. Taking this into account, and still using identical
hardware, our computation was 3 times faster than the expected time that
would have been extrapolated from previous records.
The acceleration can be attributed to various algorithmic improvements
that were implemented for these computations. The CADO-NFS
implementation was also vastly improved.
We used computer resources of the Grid'5000 experimental testbed in
France (INRIA, CNRS, and partner institutions) [5], of the EXPLOR
computing center at Universit=C3=83=C2=A9 de Lorraine, Nancy, France [6], an
allocation of computing hours on the PRACE research infrastructure using
resources at the Juelich supercomputing center in Germany [7], as well as
computer equipment gifted by Cisco Systems, Inc. to the University of
Pennsylvania.
More details will be given in a forthcoming scientific publication.
Fabrice Boudot, =C3=83=E2=80=B0ducation Nationale and Universit=C3=83=C2=A9=
de Limoges, France
Pierrick Gaudry, CNRS, Nancy, France
Aurore Guillevic, INRIA, Nancy, France
Nadia Heninger, University of Pennsylvania and University of California, Sa=
n Diego, United States
Emmanuel Thom=C3=83=C2=A9, INRIA, Nancy, France
Paul Zimmermann, INRIA, Nancy, France
[1] https://en.wikipedia.org/wiki/The_Magic_Words_are_Squeamish_Ossifrage
[2] https://documents.epfl.ch/users/l/le/lenstra/public/papers/rsa768.txt
[3] https://listserv.nodak.edu/cgi-bin/wa.exe?A2=3DNMBRTHRY;a0c66b63.1606
[4] http://cado-nfs.gforge.inria.fr/
[5] https://www.grid5000.fr
[6] http://explor.univ-lorraine.fr/
[7] http://www.prace-ri.eu/prace-in-a-few-words/
[8] https://caramba.inria.fr/dlp240-rsa240.txt
----------------------------------------------------
Re discrete logs:
This recent email describes the recent attack on the discrete
log problem.
Q: this descrete log solution uses a 'safe' prime; does a 'safe'
prime make the DLP harder or easier ??
_______________________________________________
The cryptography mailing list
[email protected]
https://www.metzdowd.com/mailman/listinfo/cryptography