![]() |
|
|
#133 | |
|
May 2010
Prime hunting commission.
110100100002 Posts |
Quote:
|
|
|
|
|
|
|
#134 |
|
Aug 2006
3×1,993 Posts |
If you look at the link I gave when I explained how Pari generates random numbers, you'll see there's a description of the battery of tests passed by it (e.g., Crush). This is a better comparison then you'd be able to throw together in a few minutes (or days!).
Last fiddled with by CRGreathouse on 2010-07-19 at 23:05 |
|
|
|
|
|
#135 | ||
|
May 2010
Prime hunting commission.
168010 Posts |
Quote:
Its warning on the random primes generator: Warning: It is strongly discouraged to use this tool for the need of cryptology in real situations. Primes having travelled through the Internet have no confidentiality. Quote:
P.S: Congrats on having a prime-numbered- No wait, that's 17 * 61.. Last fiddled with by 3.14159 on 2010-07-19 at 23:07 |
||
|
|
|
|
|
#136 |
|
Aug 2006
3×1,993 Posts |
Strictly, that's not relevant here: that speaks to the possibility of a side-channel attack (reading the numbers as they're passed through TCP) rather than the weakness of the PRNG itself. But the same warning (with different reasoning) could be applied to the PRNG since it's not designed to be cryptographically secure.
Huh? The problem is that someone can read them, not that they're wrong. But sure, prove primality if you like. Actually, for practical cryptographic algorithms, primality is almost never proven -- random tests like Miller-Rabin are used instead. Last fiddled with by CRGreathouse on 2010-07-19 at 23:09 |
|
|
|
|
|
#137 | ||
|
May 2010
Prime hunting commission.
168010 Posts |
Quote:
Easier than the math-based attacks (Impossible to do.) Quote:
Last fiddled with by 3.14159 on 2010-07-19 at 23:12 |
||
|
|
|
|
|
#138 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#139 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
@CRG: Do you know a simple program that can be written to check for an SPRP pseudoprime list for bases 2, 3, and 5?
|
|
|
|
|
|
#140 |
|
Aug 2006
3·1,993 Posts |
|
|
|
|
|
|
#141 | ||
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
1078610 Posts |
Quote:
Quote:
Paul |
||
|
|
|
|
|
#142 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
2·5,393 Posts |
Quote:
To see why, assume that the generator proves its output is prime before it is sent to you. The point of the warning is that, in principle, anyone between the generator and you can read and record the primes which you receive. After that it's game over. Paul |
|
|
|
|
|
|
#143 | ||
|
May 2010
Prime hunting commission.
110100100002 Posts |
Quote:
Quote:
Last fiddled with by 3.14159 on 2010-07-20 at 11:58 |
||
|
|
|
![]() |
| Thread Tools | |
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 |