View Single Post
Old Today, 05:02   #128
RichardCoulter
cf.mega poster
 
Join Date: Jan 2008
Posts: 11,269
RichardCoulter has a spectacular aura about themRichardCoulter has a spectacular aura about themRichardCoulter has a spectacular aura about themRichardCoulter has a spectacular aura about them
Re: AI - it’s the future?

Quote:
Originally Posted by Anonymouse View Post
Oh, hell, we're in trouble now. AI has allegedly proved the Riemann Hypothesis. Once mathematicians understand its work, prime number encryption will suddenly be useless - because even 60-digit primes will now be predictable...and we haven't got quantum encryption to replace it yet!

It might seem that proving a hypothesis wouldn't be that big a deal. But with Riemann, an algorithm to obtain prime numbers directly will be derivable from the proof. ATM the only way to determine primality is to divide the suspected prime by all smaller prime factors up to the square root.

E.g. 97 - try to divide by 3, 7 (no number ending in 5 is prime - trust me on that - but this means you needn't bother with 5, because if the number does end in 5 it will divide, and if the number doesn't end in 5, it won't. This, I assure you, is guaranteed.), 11. Oops, gone over the square root. Oh well. None of the numbers divide into 97, therefore it's prime. No need to check further because the remainder will always be smaller than the divisor.

Primes can only end in 1, 3, 7 or 9 - if a number ends in 0, 2, 4, 5, 6 or 8, it is not prime. Even then, primality is not guaranteed - 27 ends in 7, but is divisible by 3. Hence the apparent randomness of primes...except the Hypothesis implies they aren't random.

Granted, a number of important proofs begin with 'assume the Riemann Hypothesis is true' - so it damn well better be true or maths is in serious trouble!

For the 60-digit primes used in commercial encryption, the same process is possible, but not practical, because it would take the entire world's computing power untold years to do it.

But if the pattern of prime number distribution becomes known, even a single PC could do it. This is why we need quantum encryption, intrinsically secure as opposed to practically secure (because by the nature of quantum physics, any attempt to access the codes illicitly will change them and hence make them useless. The observer alters the observed by the process of observation).

Like I said, we're in trouble.
This is what Claude had to say in response:

Don't panic, Anonymouse, this one's been blown out of proportion. Proving the Riemann Hypothesis tells us how primes are spread out on average, but it doesn't give anyone a way to pick out or predict specific huge primes. Encryption like RSA relies on how hard it is to factor a big number back into its two primes, and the proof doesn't make that any easier. Primality testing was already quick too, with no need to divide by every smaller number. The real long-term threat is quantum computers, and new quantum-resistant standards were already published in 2024.
RichardCoulter is offline   Reply With Quote