2

Of course this is a question with an answer that is due to evolve.

A 2002 paper about TWIRL stated that the cost would be around 10M\$ and an other 10M\$ to manufacture the device. A later 2007 paper claimed to have improved the design and created an actual FPGA, though at that time they were still used special bus rather than PCIe.

After that, RSA laboratories stopped their bounties, and research slowed, and no serious paper later seems to have explored the cost of factoring a 1024‒bits RSA modulus in the last 15 years.

Even if you can today rent 500,000 PCIe Xilinx on AWS, I’m noticing all the latest records for RSA numbers were performed on pure CPU implementations with the latest 1 being on CADO-NFS. Their creators stated that GPUs wouldn’t be of help in any parts because it would break it’s capacities to abort early on unnecessary cases.

Question :

What would be the price to factor something like

0xdc4e445b69fe9483216d0fa85492b4656287bfb2fb4da5b65f0b86cc2c073f3ee24a038d3d0e88c78b722b466c5ca1c89792c368ed182a5a13df919cac7fe335173cd04f23769d5ef027290f34a86e8fcab014f1a19d395b0662c5c52424a38796dd6f2394047d716abb6f48cc46abee6e2be3168348b456d5878cbec0b57d0f

today in order to forge signatures without considering labor designs costs outside the case of the ASIC ?

And with which setup (pure CPU or FPGA or ASIC) would be the less costly to achieve it if rented ?

Disclaimer :

I was just offered a 10% of damage bounty that I agree to share by a casino should I prove with details the feasibility to break the modulus above in the span of a few months.

user2284570
  • 324
  • 4
  • 19

1 Answers1

2

No serious paper later seems to have explored the cost of factoring a 1024‒bits RSA modulus in the last 15 years.

There are at least two things you would probably be interested in.

The Factoring as a Service paper explores your exact question, but for 512-bit RSA keys. In particular, they found in 2015 that this could be done in 4 hours using \$75 worth of cloud compute. Importantly, this paper includes code, that you could perhaps tinker with to try to get some estimate for 1024-bit RSA.

The second is the factorization of RSA-250. This is only 829 bits, and was performed in 2700 core years (on Intel Xeon Gold 6130 CPUs). Some set (potentially all, I have not checked) of the participants of that distributed computation wrote this paper. Section 1.4 is probably of interest to you. I'll (selectively) quote

it is widely accepted that 1024-bit factoring and discrete logarithm are feasible now, with hardware and software that currently exist. A ballpark estimate is that factoring a 1024-bit key would be about 200 times harder than RSA-250, or around 500,000 core-years of computation.

Nobody has done such a computation yet in public, since academic research teams don’t have access to that much computing power. From an academic standpoint, carrying out such a computation would not surprise the research community.

I'll leave for you to optimize the following estimate, but applying the above ballpark to the cost of rental of Xeon Gold 6130's from this random site gives me an estimate of $\approx$ $\\\$3.5$ billion to do the factorization. So well within the capabilities of a nation state, but much larger than the (conjectural) cost of a few dozen tens of millions for Twirl. That being said, the above estimate (and progress on integer factorization records) has been relative to hardware that actually exists, so may be a more reliable estimate. I'm the wrong person to say though.

Mark Schultz-Wu
  • 15,089
  • 1
  • 22
  • 53