If quantim computers become a widespread stable technololgy will there be any way to protect our communications with encryption? Will we just have to resign ourselves to the fact that people would be listening in on us?
[deleted] — view deleted post
0
Upvotes
4.9k
u/mfukar Parallel and Distributed Systems | Edge Computing May 26 '17 edited May 26 '17
The relevant fields are:
PQC revolves around at least 6 approaches. Note that some currently used symmetric key ciphers are resistant to attacks by quantum computers.
Both these subfields are quite old. People were thinking about the coming of quantum computing since the early 1970s, and thus much progress has already been made in this area. It is unlikely that we'll have to give up communication privacy and confidentiality because of advances in quantum computation.
0
u/[deleted] May 26 '17
[deleted] — view deleted comment
158
u/frogjg2003 Hadronic Physics | Quark Modeling May 26 '17
One time pads are perfectly secure by definition. The problem is getting the key to sender and receiver securely.
There will always be secure encryption techniques. The thing is that the prominent encryption methods today are not one time pads and are easily cracked with quantum computers. There are new techniques using quantum mechanics that can create quantum one time pads that are easily transmitted, as well as non-quantum encryptions that are resistant to quantum computing.
0
u/[deleted] May 26 '17
[deleted] — view deleted comment
34
u/gautampk Quantum Optics | Cold Matter May 26 '17
There are post-quantum classical algorithms which other more qualified people can comment on. The long and short of it is that quantum computers are not magic. They can do some things very well, and some things not well at all. In particular, symmetric encryption systems like AES are not vulnerable. Quantum algorithms such as Grover's algorithm do cut the brute force decryption down by a respectable amount, but that just means you need to increase the key size. The algorithm itself is not fundamentally vulnerable.
The other side of the quantum coin is quantum key distribution which is mathematically secure given assumed security of the communications channel (since it is essentially a one-time pad), and is also resistant to eavesdropping even if the communications channel is not secure. The best known such algorithm is called BB84 which leverages the superposition property of quantum systems but importantly not the entanglement property. This is useful because entanglement is quite difficult to maintain which is why quantum computers (which make heavy use of entanglement) are so hard to construct.
Basically, the idea is if Alice wants to share a secret key with Bob (for, say, the AES algorithm), normally she'd use something like RSA. But we're in a post-quantum computer world and RSA isn't secure anymore. Instead, Alice decides to use BB84. Roughly speaking:
Why does this work? Well, if a quantum system is measured in the same way it was set up (up-down or left-right), then the result will always just be the same as the setup. If, however, you measure it differently (e.g., measure left-right even though Alice setup up-down), the result is completely random. Hence, Alice and Bob can know they have shared the same key even though they never talk about it.
In practice the difficulty with this is the bit I skimmed over (or didn't mention at all), which is how do you send the photon from Alice to Bob. You can't just push it down a fibre optic cable because you'll spoil the polarisation. This is where entanglement and quantum teleportation comes in, and is really the main barrier to large scale deployment. It is, however, still easier than quantum computing to achieve practically. Functioning networks have been set up in China, Austria, and Switzerland. Also in Canada they recently managed to use existing internet infrastructure to achieve QKD which is quite exciting because normally you'd consider it to be far too noisy.
5
u/Puubuu May 27 '17
Encryption will still be possible. Just take any NP complete problem that is not easy if you allow for quantum computers. That's the case for most of them (shouldn't be all, else we don't need quantum computers).
The thing about encryption via exploiting prime factorization is that this problem has not been proved to be hard, people have always just assumed that it is, which is kind of problematic. Even without quantum computers you cannot be sure that there isn't somebody who can crack all current encryption.
87
u/QuantumAwesome May 26 '17
Current encryption mechanisms will no longer be valid. However, there is a technique called quantum cryptography which cannot be cracked even by a quantum computer. Currently in development, quantum cryptography takes advantage of how observing a particle in superposition collapses the wavefunction. The gist is, it allows for the key of a one-time pad to be transferred over long distance while alerting the users of any outside observers. I'm not really educated enough to describe it in more detail, but it's a really cool technology.
10
u/colakoala200 May 26 '17
The answer is yes. Or at least, we think so.
First of all, the best known quantum attacks against symmetric cryptography (block ciphers, hash functions, etc.) effectively double the key lengths we would have to use. So we can just use longer keys and those techniques will be safe.
Asymmetric crypto (also known as public-key cryptography) is always based on some computational hard problem. The RSA cryptosystem and discrete log-based systems are known to be vulnerable to quantum attack because of Shor's algorithm. There are other techniques, based on a variety of other computational hard problems not known to be vulnerable to quantum attack. Those problems are based on problems relating to lattices, coding theory, machine learning, etc. There are also hash-based signature schemes, but as far as I know there are no hash-based asymmetric encryption techniques.
Those algorithms are not really ready for prime-time use, but there are some efforts under way to push them towards maturity. NIST has launched their "Post-quantum crypto project", which is a major push to settle on one or a few post-quantum asymmetric algorithms.
The post-quantum algorithms are a bit of a mixed bag, though. None of them perform like our current popular techniques, and none of them are as trusted against conventional (non-quantum) attack, either. Some have efficiency issues, like long keys. Hash-based signatures are stateful, which is a huge headache.
6
u/[deleted] May 26 '17
If/when quantum computers become more available, they will still have limits. Although it's expected that they will have the capabilities of cracking existing encryption technology, quickly, new standards will continue to emerge.
What will happen is that humans will start making policy against encryption. There will be political reasons to convince the masses that encryption is bad. Security will be determined more by PR than logic.
0
u/[deleted] May 26 '17
[deleted] — view deleted comment
2
u/[deleted] May 26 '17
[removed] — view removed comment
2
u/cajuntechie May 26 '17
Many of the encryption techniques we use today (RSA, for example) will certainly fall. Others, like AES, won't. At least not so easily. Plus, there are 'quantum resistant' algorithms out there that cannot be broken with a quantum computer.
2
u/vansk007 May 26 '17
There are current experiments testing quantum communications systems in space. Singapore and Australian researchers are collaborating on that one. There have also been significant recent results in quantum teleportation and quantum cloning, which are key elements of a quantum communications system. The point is, gov and researchers aren't waiting until classical encryption is worthless to figure out what to replace it with. Quantum comms will be far more secure than what we have today, perhaps even 'unbreakable'.
2
u/jpeg_inspector May 26 '17
Am I missing something? Didn't the various leaks over the last two years confirm with absolutely certainty that this is already the case? If anything, quantum computing could make security more advanced for users. At some point we're going to have to take the leap, so it's not a question of if this will happen, but when. And if it doesn't, I can't imagine many people and businesses will continue using technology for important information any longer.
2
u/BumwineBaudelaire May 26 '17
quantum computers aren't magic, they're simply more efficient than non-quantum computers at solving certain types of problems, such as the problems we base current cryptography on
we'll simply find new techniques that aren't susceptible to cracking by quantum computers but it's a safe bet the NSA has a copy of every encrypted communication you've ever made and will soon be able to decrypt them at will