RSAttack576 project

Status
Not open for further replies.
orkblutt
welcome to ARS!
I would imagine that some people will join this project, but our forces are spread very thin among many projects already (including very similar ones like RC5 & in some respects ECCp).
I personally doubt the creation of yet another ARS team in a near future, best chance will be when SETI finishes and a lot of people will be looking for a project to run. Maybe TBR will "Adopt" this project like TPR adopted SOB...
 

VJS

Ars Scholae Palatinae
1,154
I think we are doing alot of RSA style projects already, this is yet another.

Perhaps after ecc and a few others complete we may take it on.

Couple problems it's not open source, doesn't speculate how long it will take to crack, probs, etc, no benchmark sections, the stats don't look great, etc.

Maybe you might get more people for the 640 key after everyone sees how well these guys do with 576.
 

Xyzzy

Ars Tribunus Angusticlavius
9,827
Moderator
Here is a key to crack... I'll have to think of a prize...

<code>30820122 300d0609 2a864886 f70d0101 01050003 82010f00 3082010a 02820101
00a8de2e df54b0ad 42ec04aa 5ec16813 dcddfc6d 58d25fdd 0134695e 47aa3d60
5a530df0 152b578f edf9cc23 e5496ec5 2f119a68 8dbe54ae 9fcadac0 c369ed13
2a5818f4 faf5d0ab 9ee67935 5ae6cd01 04ff747d 95b7b6c4 53acc8b7 328855b4
db0e5772 3a165547 a1fcf1dc 4f1abffd dab64c1a 3c321c57 627db474 7e373afc
1ff41332 f3754c13 8e13d4c3 35f036cb b2017e76 4e1e0126 bfa71c5e 2501f631
fe209309 1e4610cf 27e2dd9f f2656cd1 e5cf8cc5 a93d621e c3acd511 c86f646d
438bee0d f1b4fc77 678f3f63 599a9864 352fa64a e991932f 75ee45fb 39da806f
6e192d4d 639e11f0 25428439 7d709e12 c838d014 ecb400cb 22be7792 a7421cac
bb020301 0001
</code>

Cracking this key proves exactly what cracking that 576-bit one does... (Hint: Not much!)

-- :p -- -- View image here: http://arstechnica.infopop.net/OpenTopic/ws/images/judge.gif --
 

trif

Ars Scholae Palatinae
1,072
You estimate that 10^16 packets would exhaust the search space, I believe. And you have ~10^7 packets already completed. So if you continue at your present rate, you would need 10^9 (or one billion) times as long to exhaust the space. According to statistics on the forum a 1GHz Athlon can complete a packet in 96 seconds, or 900 packets per day. SETI presently has about 300,000 1 GHz Athlon equivalents per day in work. So a SETI sized project (and SETI is the largest) would require between 10^7 and 10^8 (between 10 million and 100 million) days to exhaust the search space. Even taking into account that on average you will only need to search half, this seems to me to be a darn near hopeless project.

You present your "all primes > or = 5 are in format 6*n-1 or 6*n+1 with natural integer (>=0)" as "faster than all brute force method with primality testing", and that's just bunk.
 

trif

Ars Scholae Palatinae
1,072
Originally posted by hanser:
What's with all this "it has to be open source" wankery? Is Folding@Home open source? SETI@Home? Etc.?

Well, that is a criteria for some, and I suppose they don't run anything but ECC2K. Or it might be that they can run non-opensource projects with known supporting institutions, but otherwise they have to have source.
 
When one decides these large crypto projects are "hopeless" one has to take Moore's Law into account. Since it is an informal observation, it isn't clear from Moore or, perhaps, from the historical record exactly what is meant: Does power simply double every two years or is it the exponential formula that fits that for the first couple of points?

Which you pick makes a big difference.

But, the last time this came up (RC 72), I simply plotted both sets of assumptions. It brought in the endpoint by many centuries -- :) -- but still left the project with a rather large running time. I don't have the inclination to do this for this proposal, but someone could do it in an ordinary spreadsheet.

I suspect the running time is still several decades.

More to the cruel point -- you can wait about 10 years and still end up with just about the same score starting from then as if you start today.

So, if one wishes to maximize their position in as many projects as possible, one could wait 10 years with little harm even if one liked the project.
 

trif

Ars Scholae Palatinae
1,072
Well, RSA576 itself isn't hopeless. It could be attacked in reasonable time (depending on your definition of reasonable) with the horsepower that SETI or d.net have. However, the naive implementation that this project is using is fairly hopeless. If they go long enough, continuing improvements in computing power will make it easier and easier to do with the result that someone (could even be the RSAttack576 folks themselves wising up) will do it with a much moe efficient algorithm, and then all the work that has been put in place using this naive method will have been wasted.
 
trif -- could you elaborate a bit.

I didn't slog through everything, but the main problem seems to be that the GNU multi-precision code under Windows is apparently a bit inferior. There is also supposed to be some sort of P4 specific improvement.

Are your objections largely based on using a general library code instead of something more focussed to do the math? Or is it that the Windows version is particularly bad?

While I haven't done it to death in the spreadsheets, I doubt if a couple of binary orders of magnitude matters here. The difference between 100 years and 400 years is seldom exciting in these sorts of calculations. (I don't know what the magnitudes really are, but let's just suggest that for talking points).

I assume what's wanted is a 10 or 100 fold improvement to make the end date (even with Moore's law) come in a ways. Yes, 100 is better than 400, but it won't exactly motivate much added participation. Reducing 400 to 40 or 4 is another story.


Where would it come from?
 

trif

Ars Scholae Palatinae
1,072
They're using trial division. A packet consists of a range. The client appears to eliminate trial factors that are divisible by 2, 3, or 5, and then checks to see if the factors that remain divide the number under consideration. To exhaust the search space with this method with a SETI sized effort would be somewhere between 27 and 270 centuries.

It has nothing to do with the libraries or specific OS implementations. It has to do with the basic underlying math. There are much faster algorithms for finding factors of very large numbers that would bring such a project in under a decade for a SETI sized effort.
 
It has to do with the basic underlying math

Ah! A design-related issue. This makes sense because otherwise, there'd be no realistic hope for improvement of the degree you cite.

Isn't the fastest known method some sort of modified sieve technique?

What is Seventeen or Bust using? Is that special case or general stuff? (He asked, not remembering). The reason I ask is that there is possibly already precedent for such code and our friends in France may even be able to make use of it.

It would be nice if we could point the way to a major improvement, here.
 
That is correct. If one had started early in GIMPS the standard P90 cpu, one 33M test would be finished by now. Obviously, upgrading would have happened, but this wouldn't have changed the picture much, at least until the PIII's cumine started its ramp. The big event was the step change in production rate with SSE2 and the faster northwoods that take advantage of the code. Effectively, your production prior to 2001 would be insignificant.

GIMPS is one of those run for decades affairs. Even the fastest P4's are going to spend nearly a year on the tests at the end of the number space. But, the big step change due to P4 wasn't expected (with SSE2, we're talking about cpus running at an effective 7 - 8 GHz) and if one had said, late in 2000, that GIMPS would burn through from 10M to 20M in three years - some serious laughter would have ensued ...

Originally posted by Larry Loen:
More to the cruel point -- you can wait about 10 years and still end up with just about the same score starting from then as if you start today.

So, if one wishes to maximize their position in as many projects as possible, one could wait 10 years with little harm even if one liked the project.
 
You estimate that 10^16 packets would exhaust the search space. . .According to statistics on the forum a 1GHz Athlon can complete a packet in 96 seconds, or 900 packets per day. SETI presently has about 300,000 1 GHz Athlon equivalents per day in work.

I had some time to apply one form of Moore's Law to the above calculations.

Assuming I got it right, I took trif's numbers and I get about 101,000 years worth of calculations (I ignored work already done -- that's rounding error (!)).

Applying Moore's Law is a bit of art as it is not a strict law of anything, but an informal observation. Here's one way that gives a feel for all this.

Now, since current SETI inventory going for a year is "1" year of that 100,000, then the second year would actually do 1.5 years worth of the current inventory, the third year would do 2 years' worth and so on. So, the 101,000 years would be done much faster because the revised inventory does some multiple of "this" year's inventory.

By year fourteen, I have 317 years' worth of total work done (as today's inventory would do it) and it escalates rapidly after that. That is to say, if we upgrade today's inventory assuming that people continue to replace machines at the same rate as Moore's Law improves, we get more "years" of today's inventory done per year as we move into the future. Eventually, many more.

However, it also assumes a nice, exponential Moore's law which is not a "law" like gravity we can count on forever. But, if we do, one gets the answer somewhere around the 30th year. That's less hopeless than it looks when you do the raw calculation, but not pretty. Moreover, if you assume 1/10 of SETI's inventory, you get the answer around year 37 or 38.

In the second, more realistic case, about half of the total work is done in the last year. So, you're financially better off buying twice as many machines as usual 37 years from now and you get the same score in the project.

I think many of the current crypto projects suffer from this fate. I did a similar calculation for RC 72.

This won't stop people from trying, but it does suggest that you need massive improvements in the client to make this remotely feasible. Since the Moore's Law is exponential, even 100 fold improvements in the client don't mean it comes down from 30 or 38 years to 3 or 4. But, it does move it under 20 years.

Now, depending on how Moore's Law works in actual fact, these values can move around quite a bit (this is an exponential calculation, in the end). But, it sure looks like decades on any calculation of it.
 

trif

Ars Scholae Palatinae
1,072
Originally posted by Larry Loen:
Isn't the fastest known method some sort of modified sieve technique?

Either ECM or GNFS, yes. There is a breakpoint at which one is better than the other (plus GNFS requires a real supercomputer to compute the final solution), and I'm not a mathematician, so I can't say which would be better for this particular problem.

Over at mersenneforum.org, there is a thread in the NFSNET forum where they discuss doing RSA576. They estimate that RSA576 is about 50 times as difficult as the numbers they are handling now, and they do several of these a year. They estimate at least two years of sieving with the computers that are presently devoted to NFSNET, and there would be several months work after that. So you can see that it is doable, but they have no particular interest in doing it, given that they can knock off many more interesting factorizations in the same time, and there is no prize money to be fought over.
 

Hinton

Ars Legatus Legionis
16,989
Subscriptor
Is there any purpose for wanting to break this code?

Proving that the code is breakable is not a valid answer, since we allready know it is, and we allready know how long it will take given X computing power with the given method.


I guess winning a prize would be an incentive, and if I still was at H I would ask you to piss off.

Thats if there even is a prize?
 
Is there any purpose for wanting to break this code?

"To show the pointy-haired bosses that it can be done" is usually the excuse.

But, after the first RSA project or RC 56 project or whatever completes, that rationale really kind of disappears. Bosses with heads pointy enough to insist on RC 64 after RC 56 are basically unconvincable about anything.

I think the answer is, some people will sign up for anything provided it has some kind of rationale, a good client, and good comraderie.

Since they are the sovereign of their own machines, one can't make a principled objection. Even Project Dolphin found some kind of following.

But, as I had long predicted, we're starting to see some mediocre and even poor projects, especially in the math/crypto arena where anyone with a web address can put up a server, thanks to what usually is low bandwidth requirements.

This doesn't seem to stop them from attracting some kind of following.

I just hope that Ars doesn't go after the weaker fish.
 
Status
Not open for further replies.