News for hackers. Stuff that matters.
Re:What could the NSA do with a quantum computer? by _j5l3 on Friday June 28, 2013 @02:12PM (#5959495)
Quantum computers are not just super-fast versions of normal computers. They allow the running of some algorithms that normal computers can't physically run. One particularly important algorithm is Shor's algorithm.

Shor's algorithm allows quick factorization of primes. RSA encryption, the main way that things are encrypted today, relies on the assumption that factoring large primes is computationally infeasible. So quantum computers would allow the NSA to read RSA-encrypted data.

Re:What could the NSA do with a quantum computer? by weinzierl on Friday June 28, 2013 @02:26PM (#5959568)
From a computer science standpoint this incorrect. Regarding computability, quantum computers have exactly the same power as traditional computers.
Re:What could the NSA do with a quantum computer? by gizmo686 on Friday June 28, 2013 @02:31PM (#5959591)
Regarding computability yes. Regarding time complexity, it is unproven.

What we do know is that there is a known algorithm to factor number in polynomial time on quantum computers and there is not a known algorithm to do so on classical computers. Assuming that factoring numbers is actually a hard problem on classical computers (unproven, but generally accepted), then quantum computers are more powerful than classical ones.

Re:What could the NSA do with a quantum computer? by bo1024 on Friday June 28, 2013 @02:36PM (#5959623)
I'm not sure what you're referring to; everything in the parent post is correct. You are right that quantum and classical computers have the same "power" in terms of problems that can be solved, but it is also true that quantum computers may be able to computer certain functions faster than classical computers (using faster algorithms that don't run on classical computers).
Re:What could the NSA do with a quantum computer? by weinzierl on Friday June 28, 2013 @02:52PM (#5959698)
I'm referring to "They allow the running of some algorithms that normal computers can't physically run."

I understood this as, it's impossible to run some algorithms on a traditional computer. You can run Shor's algorithm on a Turing machine, albeit requiring a simulation of qbits. You can run it in javascript and in your browser if you like.

Re:What could the NSA do with a quantum computer? by mtp0101 on Friday June 28, 2013 @03:29PM (#5959887)
True, you can simulate the qbits, so the more precise statement would be they can execute some algorithms in a way that classical computers cannot and this gives them superior efficiency in some situations.
Re:What could the NSA do with a quantum computer? by _j5l3 on Friday June 28, 2013 @05:25PM (#5960429)
You're right. I should have specified that they can run certain algorithms with a runtime complexity impossible on a classical computer.
Re:What could the NSA do with a quantum computer? by sp332 on Friday June 28, 2013 @02:45PM (#5959659)
If you take into account the probability of breaking a given 4,096-bit RSA cipher before the heat death of the universe, it is correct. However this is an implementation detail, and a hardware problem to boot :p
Re:What could the NSA do with a quantum computer? by Tloewald on Friday June 28, 2013 @03:51PM (#5960008)
Rather mathematical response to a question requesting an answer for non mathematicians ;-)

Since Moore's Law is giving us one more bit of decryption per unit time every 1.5 years, 4096 * 1.5 years is probably going to precede the heat death of the universe handily. But 6000-or-so years of Moore's Law does tax credulity.

Re:What could the NSA do with a quantum computer? by weavejester on Friday June 28, 2013 @03:11PM (#5959815)
It's worth pointing out that other public-key encryption algorithms don't have the same vulnerability to quantum computers. It's also unlikely (but unproven) that quantum computers can solve NP-complete problems.
Re:What could the NSA do with a quantum computer? by jstalin on Friday June 28, 2013 @03:21PM (#5959855)
Such as AES and PGP?
Re:What could the NSA do with a quantum computer? by weavejester on Friday June 28, 2013 @04:26PM (#5960174)
AES is a symmetric encryption algorithm, which is to say it only has one key for both encryption and decryptions.

PGP is a piece of software, and not an algorithm. I believe it uses RSA and AES by default, but I could be wrong :)

AFAIK RSA, DSA, Diffie-Hellman, and ECC are all known to be vulnerable to Shor's Algorithm (which, granted, do make up a lot of the crypto in common use), but there are lesser-used algorithms like McEliece and NTRU that are not vulnerable.

That said, quantum computers are still very far from breaking modern cryptography. We're playing around with a handful of qubits, but to break something like a 4096 bit RSA key would take trillions of quantum gates.

Re:What could the NSA do with a quantum computer? by damarquis on Friday June 28, 2013 @04:11PM (#5960096)
AES yes, PGP no. Anything based on the difficulty of discrete logs is done for. There are 2 types that remain secure, schemes based on the difficulty of solving problems in lattices and problems in coding theory. Lattice based cryptography is particularly interesting since all known fully homomorphic encryption schemes use it. If this remains the case, and if FHE matures faster than quantum computers (and it actually has been as far as I can tell) that everyone will switch to lattice based cryptography making quantum computers a little less useful and interesting.
Re:What could the NSA do with a quantum computer? by mtp0101 on Friday June 28, 2013 @03:27PM (#5959878)
AES uses a symmetric key so it is not a public key system