mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2010-07-23, 15:12   #210
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Classic case of people making unrealistic predictions. Moore's law is a flawed fiction.
What's unrealistic? It said, in 2003, that you should use a 2048-bit key if you want data to remain secure until 2030. 1024 bits seems insufficient for that timescale: another NFS-type discovery in the factoring community would surely be enough to overturn it, and with 27 years that didn't seem implausible.

The guideline is *not* predicting when a keylength will be crackable, but rather a 'safe harbor' of when it should not be crackable.
CRGreathouse is offline   Reply With Quote
Old 2010-07-23, 15:17   #211
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Quote:
What's unrealistic? It said, in 2003, that you should use a 2048-bit key if you want data to remain secure until 2030. 1024 bits seems insufficient for that timescale: another NFS-type discovery in the factoring community would surely be enough to overturn it, and with 27 years that didn't seem implausible.
Persons making predictions. Just look at the RSA-2048. Another classic example of people making unrealistic predictions, and having unrealistic goals.

Random GFN prime: 66401024 + 1 (3914 digits) .. Proth + GFN prime: 286 * 186128+1 (293 digits)

Last fiddled with by 3.14159 on 2010-07-23 at 15:43
3.14159 is offline   Reply With Quote
Old 2010-07-23, 15:22   #212
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

22·32·173 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
I guess it all depends on how long the data needs to stay secure and who you need to protect against. 768-bit keys could still be used, in a pinch, for data that goes stale fast. But if you need the data to be secure for years and think that the NSA wants it... 1024 is clearly inadequate.
But it doesn't depend upon how long you want to keep data secure. The OP said that a 1024 key "might be factored soon enough". So estimating the amount of effort required to do that is entirely appropriate. It doesn't require any additional qualification based upon what the key is protecting.
retina is online now   Reply With Quote
Old 2010-07-23, 15:46   #213
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

290810 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Random GFN prime: 66401024 + 1 (3914 digits)
You know this page?
kar_bon is offline   Reply With Quote
Old 2010-07-23, 15:47   #214
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Quote:
You know this page?
You discouraged my search for GFNs. I'll search for Proth + GFNs instead.. Unless those are taken as well?

Last fiddled with by 3.14159 on 2010-07-23 at 15:49
3.14159 is offline   Reply With Quote
Old 2010-07-23, 15:49   #215
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

1011010111002 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
You discouraged my search for GFNs.
No, I saved you a lot of senseless cycles!
kar_bon is offline   Reply With Quote
Old 2010-07-23, 15:51   #216
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Quote:
No, I saved you a lot of senseless cycles!
No, you discouraged my search completely, for any practical range and any practical exponent. I'll search Proth-GFNs instead. If there's a link for that, any search for GFN-related primes, I give up on entirely. All ranges from 2 to 65536 have been completed. Up to about three million.

Example of a Proth-GFN prime: 7296 * 1296512+1

Last fiddled with by 3.14159 on 2010-07-23 at 16:03
3.14159 is offline   Reply With Quote
Old 2010-07-23, 15:59   #217
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by retina View Post
But it doesn't depend upon how long you want to keep data secure. The OP said that a 1024 key "might be factored soon enough". So estimating the amount of effort required to do that is entirely appropriate. It doesn't require any additional qualification based upon what the key is protecting.
I was pointing out the difference between factoring in the outside world and factoring in secret agencies like the NSA. They discovered differential cryptanalysis decades before its discovery in the outside world (<= 1970s vs. 1990s?); it's not implausible that they have a better factoring algorithm. Even if not, they surely have more hardware and better implementations than that used for academic factorizations.
CRGreathouse is offline   Reply With Quote
Old 2010-07-23, 16:29   #218
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Searching for Proth-GFNs, exponent: 8192, base: 1296. Range of k: 2 to 70000. (This is about 25500 digits, by the way. I need a closer 2nd place.)

Based on that.. There are 5293 candidates.

Out of 69999 candidates: About 1 in 11 should be prime.

Wait, wait, wait: It's actually 1 in 58718. Only one number should be prime in this entire search. Well, the search shall continue on, in that case.

Last fiddled with by 3.14159 on 2010-07-23 at 16:52
3.14159 is offline   Reply With Quote
Old 2010-07-23, 17:22   #219
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Using the approximation P(n is prime) = 1/(log (n) + 1) I get 1.19 expected primes. But adding in the effect of the small prime divisors of the numbers I get 3.97 expected primes instead:

Code:
l=8192*log(1296)+1;sum(k=2,70000,1/(l+log(k)))

stuff(n)={my(f=factor(6*n)[,1]);prod(i=1,#f,f[i]/(f[i]-1))};
l=8192*log(1296)+1;sum(k=2,70000,stuff(k)/(l+log(k)))

Last fiddled with by CRGreathouse on 2010-07-23 at 17:24 Reason: made code easier to follow, though a bit slower
CRGreathouse is offline   Reply With Quote
Old 2010-07-23, 17:41   #220
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

Quote:
Using the approximation P(n is prime) = 1/(log (n) + 1) I get 1.19 expected primes. But adding in the effect of the small prime divisors of the numbers I get 3.97 expected primes instead:
How did you get nearly 4, if the odds are 1 in 58720 ? As of this post, I've tested up to 2223 * 12968192+1

Last fiddled with by 3.14159 on 2010-07-23 at 17:44
3.14159 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wheel Factorization a1call Factoring 11 2017-06-19 14:04
Efficient Test paulunderwood Computer Science & Computational Number Theory 5 2017-06-09 14:02
LL tests more credit-efficient than P-1? ixfd64 Software 3 2011-02-20 16:24
A Wheel storm5510 Puzzles 7 2010-06-25 10:29
Most efficient way to LL hj47 Software 11 2009-01-29 00:45

All times are UTC. The time now is 22:03.


Fri Aug 6 22:03:21 UTC 2021 up 14 days, 16:32, 1 user, load averages: 2.93, 2.80, 2.70

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.