![]() |
|
|
#518 | |
|
Sep 2010
Scandinavia
3·5·41 Posts |
Quote:
Also, while I realize there are software more suited for tasks requiring B1>4e9; will that limit be removed? |
|
|
|
|
|
|
#519 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
3×5×719 Posts |
Quote:
I'm interested in why you think the limit on B1 is an issue right now. Setting B1 to 4G is optimal for finding factors around 72 digits in size and each factor is expected to take 300K curves for a (1-1/e) probability of it being found on the assumption that one exists to be found. That's actually rather a lot of computation, for each curve and for each factor. There are rather few outfits who can manage that intensity of computation right now. Personally, I would not like to see an implementation slowed down significantly so that computations which are hardly every performed become possible. The better approach, IMO, would be to have two implementations, one with the present 32-bit limitation and another which is not so limited. Paul |
|
|
|
|
|
|
#520 | ||
|
Sep 2010
Scandinavia
61510 Posts |
That made me laugh. For real.
Quote:
It's mostly just the "arbitrary limit" thing. But... Quote:
I'm not nearly familiar enough with programming to understand the implications here... On the subject; where the 73-digit factors lucky finds under 32-bit? If not, then what is the highest B1 doable at the moment? |
||
|
|
|
|
|
#521 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
2A2116 Posts |
|
|
|
|
|
|
#522 |
|
Sep 2010
Scandinavia
3·5·41 Posts |
So what's the next step?
Going by the pattern.... B1= 2^64 could split a 1536bit RSA key with about 2e12 curves.... I'm just gonna assume that's not actually the next step. |
|
|
|
|
|
#523 | |
|
"Ben"
Feb 2007
352110 Posts |
Quote:
As to removing the B1 limitation, its not hard to do, but it's not high on my priority list. A single curve with B1=4e9 would take 6-8 hours on a fast machine. Not many people work at that level. |
|
|
|
|
|
|
#524 |
|
Mar 2006
479 Posts |
Hello Ben, I just downloaded Yafu and it works great! I was looking for a couple of features, but couldn't find them. Can you let me know if these features exist in some form, or if they could be implemented in future versions of yafu?
1) Set a flag to have factor() stop after finding just 1 factor 2) Somehow have factor() work on a range of numbers maybe like: factor(10^101+x;x,1,1000), or a new function name like factor_range(10^101+x,1,1000) 3) Set an upper limit on work to do, like tell factor to only do ecm up to B1=50K (or 250K) ie, it will still trial divide, fermat, rho, pp1, pm1, and then stop searching for a factor if it can't find one after searching through all of its recommended curves for a B1 4) Somehow have factor() append numbers to a file that it thinks is prime/prp maybe a command line of -op <filename> or ini file value op=<filename> 5) Somehow have factor() append numbers to a file that is has factored maybe a command line of -oc <filename> or ini file value oc=<filename> 6) Somehow have factor() append numbers to a file if it hasn't found any factors (because of #3 above) maybe a command line of -ou <filename> or ini file value ou=<filename> 7) When outputting these numbers to files, can we output their functional forms and not their expanded decimal form? Hmmm, that seems like a lot. If you'd like I can look at implementing some of these myself. I just looked at the source, would factor_common.c probably be the right place to make some of these changes? I don't know if I can compile all of yafu, has anyone done this with mingw-64? If I can't compile, could I post modified source here and see if it works for you? Thanks for the great program. Looking forward to see what you think of the above. |
|
|
|
|
|
#525 | ||
|
"Ben"
Feb 2007
1101110000012 Posts |
Quote:
Also thanks for the requests... here are my initial reactions: 1) Yes, this should be easy. 2) I've considered things like this before, but every time I do I balk at the thought of writing a robust scripting language parser. It seems like this could be accomplished in a line of perl or two. If you or anyone else wanted to write quick "helper scripts" like this, it might be a nice thing to add to yafu's SVN repository and include in the download package. 3) This should also be easy to do, but I've been kicking around a few other ideas for making factor() much more tailorable as well. Not sure yet what direction to take. 4) - 6) This info is all accessible in factor.log, but I take it you don't want to comb through all that baggage to get what you want, which I can understand. This could also probably be accomplished with helper scripts. Anyone else have input on this? 7) I've also considered things like this before: a command line switch which causes all screen/log output to be functional form (-f), or mixed form (-m). mixed form would be functional form followed by a shortened decimal form, i.e, (123...789). Maybe it's time to implement that. Quote:
Thanks again for your feedback! |
||
|
|
|
|
|
#526 |
|
Sep 2010
Scandinavia
61510 Posts |
Now this isn't supposed to happen, is it?
Some really nice suggestions by WraithX, btw. All of them really. |
|
|
|
|
|
#527 |
|
"Ben"
Feb 2007
7×503 Posts |
|
|
|
|
|
|
#528 |
|
"Ben"
Feb 2007
67018 Posts |
I just updated version 1.22 binaries with fixes for several issues:
+ remove B2 cap in ecm + factor() now properly ignores user defined B2 flags for ecm, pp1, and pm1 + fixed the issue seen here + merged in code from wraithx implementing a new switch, -one, causing factor() to stop after finding at least one factor. cheers, - ben. |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running YAFU via Aliqueit doesn't find yafu.ini | EdH | YAFU | 8 | 2018-03-14 17:22 |
| YAFU-1.34 | bsquared | YAFU | 119 | 2015-11-05 16:24 |
| Yafu bug. | storflyt32 | YAFU | 2 | 2015-06-29 05:19 |
| yafu-1.33 | bsquared | YAFU | 12 | 2012-11-08 04:12 |
| yafu-1.32.1 | bsquared | YAFU | 21 | 2012-09-04 19:44 |