Slashdot Mirror


Time Running Out for Public Key Encryption

holy_calamity writes "Two research teams have independently made quantum computers that run the prime-number-factorising Shor's algorithm — a significant step towards breaking public key cryptography. Most of the article is sadly behind a pay-wall, but a blog post at the New Scientist site nicely explains how the algorithm works. From the blurb: 'The advent of quantum computers that can run a routine called Shor's algorithm could have profound consequences. It means the most dangerous threat posed by quantum computing - the ability to break the codes that protect our banking, business and e-commerce data - is now a step nearer reality. Adding to the worry is the fact that this feat has been performed by not one but two research groups, independently of each other. One team is led by Andrew White at the University of Queensland in Brisbane, Australia, and the other by Chao-Yang Lu of the University of Science and Technology of China, in Hefei.'"

72 of 300 comments (clear)

  1. That is nothing by MyLongNickName · · Score: 4, Funny

    I have developed an algorithm to efficiently decrypt ROT-26. You will need to use it to read this encrypted message.

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    1. Re:That is nothing by syrinx · · Score: 4, Funny

      I have developed an algorithm to efficiently decrypt ROT-26. You will need to use it to read this encrypted message.

      The joke is on you: I've already upgraded all my encryption to ROT-52.

      --
      Quidquid latine dictum sit, altum sonatur.
    2. Re:That is nothing by ookabooka · · Score: 4, Funny

      ROT52 is radically different than ROT26 and has its own problems, triple ROT26 (3ROT26) is much more feasible with today's technology and far easier to implement.

      --
      If you are about to mod me down, keep in mind that this post was most likely sarcastic.
    3. Re:That is nothing by Hyperspite · · Score: 2, Funny

      Obviously you've missed the point. ROT26 is the most remarkable algorithm to date for they are HIDING IN PLAIN SIGHT!

  2. Well... by morgan_greywolf · · Score: 4, Insightful

    It doesn't necessarily mean the end of public key cryptography, it just means we'll have to come up with something other than prime factoring to compute the keys.

    What this does mean is that there's going to be a lot of money to be made replacing public-key cryptograhy in custom code ala Y2K.

  3. Re:I'm not sure how big of a deal this is. by jellomizer · · Score: 2, Insightful

    Well Students of colleges (Perhaps undgrads, or people pretending to be an actual student) can have access to such systems. 10-20 years down the line when such systems become obsolete they get in the hands of the public. Or engineering Quantum Computers becomes more feasable then everyone may have one.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  4. Non-subscription link by Anonymous Coward · · Score: 4, Informative

    http://www.huliq.com/34160/qubits-poised-to-reveal-our-secrets seems to be a copypasta of the article.

  5. Re:I'm not sure how big of a deal this is. by MarkovianChained · · Score: 3, Funny

    "In other news, man with quantum computer reported missing...."

  6. Re:how hard is it to build a quantum computer? by pclminion · · Score: 2, Interesting

    it's a bit like nuclear weapons, in that you can pretty much "know" how a bomb works, but even if you had detailed plans, it's pretty much only governments who can build them.

    I'm actually somewhat surprised that governments haven't passed laws banning the construction of quantum computers except under very tightly controlled circumstances. Kind of like how the ciphers themselves used to be classified as "munitions" in the United States.

  7. Re:More like the Chinese gov by multisync · · Score: 4, Insightful

    More like the Chinese government wants to break the encryption so they can more easily hack other governments data. They just post it under "Research".


    Yeah, the Chinese government is the only government that would like to do that.
    --
    I don't care why you're posting AC
  8. Re:bigger keys? by brunascle · · Score: 3, Insightful

    not really. they can still use the same algorithm, it'll just take longer. it might work for a while, but it's not a long term solution.

    plus, cryptography is very resource-intensive, growing exponentially with key size. there comes a point when it's just not practical to use a key that large, as it will take too long to encrypt/decrypt/generate the key.

  9. Not the end by drabgah · · Score: 5, Insightful

    The quantum computer referenced in the summary managed the immense feat of finding the factors of the number 15. While it is true that factoring numbers of the magnitude used in cryptography is now a "matter of engineering", there are profound difficulties involved in scaling quantum computing. The fundamental problem is called "decoherence" and describes the tendency of quantum systems to become entangled with their environment, and the consequent loss of pure quantum states. The issues involved in quantum computation connect to deep issues of thermodynamics and entropy, and research on quantum computation has potentially great significance for fundamental physics. Cryptography may have to develop and implement new, extended standards as computational techniques evolve, but the encryption sky is not yet falling.

    1. Re:Not the end by Anonymous Coward · · Score: 4, Funny

      The quantum computer referenced in the summary managed the immense feat of finding the factors of the number 15. ...well come on then, tell us, what are they?
    2. Re:Not the end by blueg3 · · Score: 3, Insightful

      Factoring a four-bit number on a quantum computer requires quite a lot of qbits. You require 20 qbits just to store a four-bit number, and more just to execute the algorithm. This is a big improvement on the few-qbit machines previously made. At this point, while decoherence is still a large barrier, it's solely an engineering barrier, and one should expect it to last for too long. (Where "too long" is in physics terms. You'll probably be okay for 20 years or so.)

    3. Re:Not the end by StikyPad · · Score: 2, Interesting

      So, just like with classic attacks, can't we just increase the keyspace to stay ahead of the quantum curve indefinately? The only real problem I see is that passwords will eventually be obsolete, but that's essentially the case already. Passphrases will help to some extent, but again, it's just a matter of time before the computational ability outstrips the capacity to remember (and patience to enter) a sufficiently long and/or incoherent passphrase.

  10. Re:I'm not sure how big of a deal this is. by zippthorne · · Score: 5, Funny

    ...His velocity, however, is known precisely.

    --
    Can you be Even More Awesome?!
  11. post-quantum cryptography by Spy+der+Mann · · Score: 4, Informative
    I googled (surprise!) and found this result:

    "PQCrypto 2006: International Workshop on Post-Quantum Cryptography"
    http://postquantum.cr.yp.to/

    From The link:

    Will large quantum computers be built? If so, what will they do to the cryptographic landscape?

    Anyone who can build a large quantum computer can break today's most popular public-key cryptosystems: e.g., RSA, DSA, and ECDSA. But there are several other cryptosystems that are conjectured to resist quantum computers: e.g., the Diffie-Lamport-Merkle signature system, the NTRU encryption system, the McEliece encryption system, and the HFE signature system. Exactly which of these systems are secure? How efficient are they, in theory and in practice?

    PQCrypto 2006, the International Workshop on Post-Quantum Cryptography, will look ahead to a possible future of quantum computers, and will begin preparing the cryptographic world for that future.
    1. Re:post-quantum cryptography by Intron · · Score: 2, Funny

      They have also left out the One Time Pad system - still unbreakable.

      I will be passing all my public keys through two slits and keeping one of them under observation at all times from now on. That should keep me safe from quantum computers.

      --
      Intron: the portion of DNA which expresses nothing useful.
  12. Re:I'm not sure how big of a deal this is. by brunascle · · Score: 2, Interesting

    Nobody is going to spend millions of dollars to build a working quantum computer just so they can steal your credit card number.
    with a universal cryptography-breaking-device, there are much bigger targets than individuals. if you find the right target, it could be very profitable.
  13. Elliptic curve cryptography by 4of11 · · Score: 5, Informative

    Elliptic curve public crypto does not rely on the difficulty of factorization, so this specific attack wouldn't affect it, but I don't know if there are applicable quantum computing attacks. Too bad software patents are such an issue for it in the US.

    1. Re:Elliptic curve cryptography by Anonymous Coward · · Score: 2, Informative

      Elliptic Curve encryption relies on the hardness of the discrete logarithm in an elliptic curve group. Unfortunately, I believe Shor's algorithm can also be used to solve discrete logarithms in arbitrary groups, so this method is no better than RSA when quantum computing becomes sufficiently advanced.

    2. Re:Elliptic curve cryptography by elandqui · · Score: 4, Informative

      Actually, quantum computing attacks do exist for elliptic curve crypto, which relies on the elliptic curve discrete log problem (ECDLP), as Bernstein mentioned in the Post-Quantum Crypto conference list. As that blog post noted, Shor's Algorithm essentially boils down to finding the order of a subgroup of the multiplicative group (Z/(nZ))^*, where n is the number to factor, and the rest is easy. That is precisely what you need to do in the ECDLP: find the order of the subgroup generated by a point on the curve. It's a little different in practice of course, since you need to implement elliptic curve arithmetic, but the idea is the same.

  14. new decryption methods == new encryption methods by jgarra23 · · Score: 2, Insightful

    This means that people will come up with new encryption methods that I couldn't possibly imagine (not much of a stretch). Based off these newly powerful methods people will find new impregnable methods. Sort of like how when people came up with the idea of wooden shields, someone came up with a way to pierce them so someone came up with metallic armor and then someone came up with the idea of a combustion-powered missile (gun) and someone came up with Kevlar and so on...

  15. not quite... by dollargonzo · · Score: 2, Informative

    Encryption/decryption grows linearly in the length of the key, and cracking is [considered] exponential in the length of the key. the problem is that shor's algorithm on a quantum computer is also (IMHO) linear in the length of the key. Hell, even if it was a decent order polynomial in the length of the key you could never be "faster" (in the tractable vs. intractable sense). so, no, you can't even do it for now

    --
    BSD is for people who love UNIX. Linux is for those who hate Microsoft.
    1. Re:not quite... by snowgirl · · Score: 2, Informative

      The calculation space is O(log N), so it grows even less than linear. You would have to double the bit size just to double the processing time to crack it. That fits fairly neatly into your "it doesn't meet intractable standards."

      Fortunately, symetric keys are still fine, Quantum Computers can calculation square roots faster, but this only halves the execution time, which is easily accounted for by double the key size. Even with a Quantum Computer cracking AES 512, or 2048 is intractable.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    2. Re:not quite... by cperciva · · Score: 4, Informative

      Encryption/decryption grows linearly in the length of the key

      No. With classical algorithms, RSA encryption and signature verification are O(n^2), while RSA decryption and signing are O(n^3).

      and cracking is [considered] exponential in the length of the key

      No. All modern factorization algorithms are subexponential; this is why a 1024 bit RSA key is roughly as secure as an 80 bit symmetric encryption key.

    3. Re:not quite... by smallfries · · Score: 5, Informative

      Although you are theoretically correct what you have said is wrong in practice. If I want to run a classical algorithm on a larger piece of data then I can just simulate a larger computer (to the extent that I page things in or out of memory, implement 64bit operations in 32bit etc). For a quantum computer I need a bigger computer. I can't simulate a 8-qubit machine on a 4-qubit machine with just a polynomial slowdown.

      I can't read the actual article at home so I don't know how large their machine is. Shor's algorithm has actually been run on a 4-qubit machine before so the summary is incorrect. I believe that the number they factored was 15. The point being that I need a quantum machine large enough to factor the RSA number. As building a 8-qubit machine is not as simple as slapping two 4-qubit machines together (because of problems with quantum coherence) there will always be a state-of-the-art for how large a Quantum Computer can be, and public crypto with keys significantly larger than that will be safe until a larger machine is developed. Sort of a faster version of the battle between cryptographers and cryptoanalysts that we see at the moment.

      You'll notice that nobody made the same claims when EPFL sieved a 1024-bit number recently - instead everyone said use larger keys. The situation is likely to be the same as Quantum Computers increase in size. Lastly, not all public key crypto is shafted, only things that rely on factorisation as a problem. ECC will be quite safe until (if?) somebody develops a quantum algorithm for discrete logs.

      Disclaimer: I don't do research in quantum - I work in cryptography, but the quantum guys have an office down the corridor and occasionally I understand what they are talking about. Ashley, don't beat me around the head for getting the details wrong :)

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    4. Re:not quite... by E++99 · · Score: 3, Interesting

      Lastly, not all public key crypto is shafted, only things that rely on factorisation as a problem. ECC will be quite safe until (if?) somebody develops a quantum algorithm for discrete logs.

      Factoring and discrete logs are codependent on each other being hard problems. Either one can solve the other. I'm not familiar enough with ECC to know if being able to solve regular discrete logs necessary breaks it; but if so, then factoring breaks it too.
    5. Re:not quite... by delt0r · · Score: 2, Informative

      Not quite. Given a discrete log algorithms I can always use it to factorize (This is shor's method by the way). The Opposite is not true, that is, a fast factoring algo does not let you solve the discrete log problem faster. Some suspect that it may be true (ie goes both ways), but there is no proof at this stage.

      ECC with correctly chosen parameters cannot be mapped/isomorphic/whatever to the appropriate finite field. However that doesn't mean that someone might develop a technique to do so with currently secure ECC parameters in the future.

      --
      If information wants to be free, why does my internet connection cost so much?
  16. Re:Tor like oatmeals! by Anonymous Coward · · Score: 5, Interesting
  17. Re:I'm not sure how big of a deal this is. by Vellmont · · Score: 2, Insightful


    This poses a big threat to governments, and possibly financial institutions, but not individuals.

    As an individual, I consider threats to governments and financial institutions "a big deal".

    --
    AccountKiller
  18. No big deal by jd · · Score: 3, Insightful

    RSA uses primes. This leaves the ones that don't: HFE, NTRU, ECC, XTR, Paillier, ElGamal, ....

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  19. Re:Yeah, but... by Selfbain · · Score: 5, Funny

    Depends on the observer.

    --
    Well, it has never been successfully tested.
  20. Not PK encryption per se, the RSA implementation by ishmalius · · Score: 3, Insightful

    The general handshaking mechanism itself is not in danger. It is the prime factor-based RSA algorithm. There might be other key algorithms in danger as well, but this doesn't reflect on the PK framework.

  21. Re:More like the Chinese gov by Nos. · · Score: 4, Interesting

    The thing I worry about, is, regardless of which government or group is working on it is this, if this is what they're releasing to the public, how much farther ahead are they behind closed doors.

  22. I work in the field and i have to comment, by drolli · · Score: 5, Informative

    that it will be a really long time before QC are cheaper in terms of factorizing numbers than the equivalent classical machine. If they work at all. The common beliefs about the different QC other implementations in the field usually are said to be

    -NMR: Most advanced no decoherence, but severe scalability problems. Nobody knows if they can ever put more than 10 qubits (
    -Quantum Dots: Nice but Semiconductors have a hell of excitaions and decoherence
    -Spintronics: Interesting, but it will take a time until it is under control
    -Ions: well advanced, good control, some scalability problem (not necessarily IMHO)
    -Atoms: advancing (-> Atom Chip), could be fine
    -Superconducting qubits: Right now decoherence problems, which may be solved.

  23. Re:bigger keys? by CastrTroy · · Score: 2, Interesting

    They mention this is a threat to public key cryptography, but what about private key (aka symmetric) encryption? How is that affected by quantum computers, and these algorithms?

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  24. Re:More like the Chinese gov by koh · · Score: 4, Funny

    Chinese secret services are so secret they don't even have a name. Actually, they don't even need one.

    --
    Karma cannot be described by words alone.
  25. Re:how hard is it to build a quantum computer? by Tanman · · Score: 2, Insightful

    It is illegal. You just aren't allowed to see the law because the government has classified it "secret." If people were allowed to read the law, the justice department believes it would provide insight to enemies of the state on a possible exploitable vulnerability.

    by the way, I'm just making this up, but I bet you believed me. Sad state of affairs we're in.

  26. sigh by Ant+P. · · Score: 4, Funny

    I finally went and figured out gpg just this week and it's already about to be obsoleted...

  27. What Codes? by segedunum · · Score: 2, Insightful

    It means the most dangerous threat posed by quantum computing - the ability to break the codes that protect our banking, business and e-commerce data - is now a step nearer reality.
    It might just show how sadly cynical I am regarding many companies' attitudes towards security, but I looked at that sentence and and thought "This would actually make a difference?"
  28. I'm skeptical by Fnkmaster · · Score: 4, Informative

    This sounds like some serious breathless bullshit to me.

    There have been quite a few different methods of quantum computing developed that take advantage of several types of quantum processes in nature. I worked on bulk-spin-resonance QC as a research assistant at MIT.

    To the best of my knowledge, every method so far developed runs into coherence and noise limitations that make it very difficult to scale them up. It's usually not too hard to build a 3- or 4- qubit quantum computer, but scaling up the size seems to itself have an exponential characteristic to the problem. Basically, it's very hard to build a practical quantum computer that works on the scale necessary to factor even modest sized numbers. The engineering challenges to make any of these methods at all practical are bafflingly hard - the underlying science and math are pretty straightforward on the other hand, and the algorithms are undoubtedly cool as hell.

    I understand these days the interesting work is on trapped-ion approaches and semi-conductor approaches.

    Anyway, Shor's algorithm has been around for years. The theory behind QCs is fairly well understood, the experimental difficulties are huge.

    Basically, unless this represents a real breakthrough, i.e. a technique that is not just scalable in theory but can be demonstrated practically to be linearly more difficult to scale up the number of qubits, then it's not a breakthrough that anybody needs to worry about yet.

    Without seeing this article's full text though, it's hard to really know, but I gather optical approaches have been tried before and haven't gotten any further than anybody else has.

  29. Re:bigger keys? by geekgirlandrea · · Score: 2, Insightful

    No, the problem is that Shor's algorithm can factor in polynomial time. To make keys big enough to be impractical to factor with it, they'd also have to be too big to practically use. Public-key cryptosystems depend on the ratio of the time to break the key to the time to use it scaling exponentially with key size.

  30. Re:Tor like oatmeals! by julesh · · Score: 3, Informative

    To moderators who marked this offtopic, you may wish to read the linked article first.

  31. Re:I'm not sure how big of a deal this is. by Maximum+Prophet · · Score: 4, Informative

    Governments still use one-time pads for the really sensitive stuff.

    See http://en.wikipedia.org/wiki/Numbers_station

    The one-time pad is in no danger of being broken by quantum computers or anything else because it's provably unbreakable. (Unless there is operator error, and sometimes that's the case)
    The Good Guys(tm) want to have this so that they know what The Bad Guys(tm) might have, and that way they can change their systems before they are cracked. I could imagine some crime syndicate paying the millions for a working quantum computer and the PhD talent to run it so that they could break into international banking systems.
    On the flip side, pressing exactly two HD-DVDs with random data, and distributing these to your bankings sites for the most sensitive information is getting more and more cost effective.

    --
    All ideas^H^H^H^H^Hprocesses in this post are Patent Pending. (as well as the process of patenting all postings)
  32. Re:I'm not sure how big of a deal this is. by russ1337 · · Score: 2, Funny

    >>> ""In other news, man with quantum computer reported missing....""

    From the account of witnesses, Police believe the man may be traveling inside a box and there is a possibility he is now dead, and alive.

  33. Re:More like the Chinese gov by Anonymous Coward · · Score: 5, Funny

    Does anyone know the name of the Chinese equivalent of the CIA, KGB and MI6?

    Jet Li.

  34. Therefore... Quantum Computing Illegal in US? by zrgn · · Score: 2, Insightful

    So can I guess an American university has not been able to do this because they would be put in jail (DMCA). "I'm sorry we can't cure your cancer because the technology used to do this could circumvent digital property rights and encryption algorithms."

  35. the inverse? by j00r0m4nc3r · · Score: 2, Interesting

    Can quantum computers be used to create encryption keys that other quantum computers cannot solve in linear time? Perhaps computers will someday each include a QPU (quantum processing unit) that would be dedicated to performing such tasks.

  36. Re:More like the Chinese gov by Roofus · · Score: 4, Funny

    Right! Well, them and a former college age hacker turned Mob IT manager turned world saviour.

    Think of it Marty. No more rich people, no more poor people, everybody's the same

  37. Just RSA, actually by geekgirlandrea · · Score: 5, Interesting

    *sigh*

    This doesn't break "public-key cryptography". Even if you could build a Shor-factorization machine big enough to use against real-world keys (and that's a *big* if), it's only good against RSA. Elliptic-curve cryptosystems, for example, would be entirely unaffected. In general, the question of whether general-purpose quantum computers would break all public-key cryptography is a really hard one. It's equivalent to whether there are any trapdoor one-way functions which are in P but with inverses not in BQP. Even the existence of non-trapdoor one-way functions is still an open question; they would have to have inverses in , and proving that would also imply P != NP. All the existence of Shor's algorithm really shows about that problem is that there is at least one problem, integer factorization, which is in BQP but (probably) not in P.

    Anyway, it's a long way from running Shor's algorithm to factor 15 to being able to factor a 4096-bit RSA key. Remember that because of the no-cloning theorem you can't build a flip-flop for qubits, so quantum circuits are all combinatorial logic. Applying Shor's algorithm to real-world RSA keys would require building a complete modular exponentiator combinatorially out of quantum logic gates, wide enough to deal with the biggest key sizes practical for anyone to use (and the cost of RSA encryption/decryption only scales linearly with the key size). We couldn't even build that out of regular non-quantum logic.

    1. Re:Just RSA, actually by geekgirlandrea · · Score: 5, Informative

      Well, put briefly, the existence of secure public-key cryptography is equivalent to the existence of trap-door one-way functions. Suppose we have a public-key cryptosystem consisting of an encryption function E and a decryption function D, with a secret key Ks and a public key Kp. Let p be the plaintext and c be the ciphertext. Then, c=E(p,Kp) (we encrypt the plaintext with the public key to get the ciphertext), and p=D(c,Ks) (we decrypt the ciphertext with the secret key to get the plaintext back). Now, the public key Kp is known to an attacker, and so are the functions E and D, so in principle the attacker could do a brute-force search of the keyspace to find the secret key Ks corresponding to a given Kp using them. Thus, there exists another decryption function Dp using the public key rather than the secret key: p=Dp(c,Kp). To prove the cryptosystem is secure, we have to prove there's no way to compute Dp efficiently.

      Now, a one-way function is exactly what we need. A one-way function o is a function that is easy to compute (can be done in polynomial time), but its inverse is hard (can't be done in polynomial time). It's fairly easy to prove that if a function is in P, then it's inverse must be at most NP. Well, strictly speaking P and NP are for decision problems, so we should refer to FP and FNP. If it's in FP, then the output can be at most polynomially large in the input length, so we can invert by doing a brute-force search of all possible inputs shorter than that bound, and a nondeterministic Turing machine can check them all in parallel. Thus, one-way functions exist only if P != NP (which is equivalent to FP != FNP). Otherwise anything we could compute efficiently we could also invert efficiently. Actually, it turns out that the inverses of one-way functions must be UP (unambiguous polynomial time). That is, there exists a nondeterministic Turing machine to compute them such that for any accepting input, exactly one path accepts (general NP problems can have more than one accepting path). It's believed, but not proven, that UP is smaller than NP; no NP-complete problems are known to be in UP. Thus, the existence of one-way functions is stronger than P != NP, since it also implies UP is strictly larger than P.

      Of course, we need to be able to decrypt efficiently if we know the secret key, so we need something more specific than a one-way function: a trap-door one-way function, for which there is an algorithm to compute the inverse in FP if we have some additional piece of information, the trap-door. In complexity-theoretic terms, what we need for public-key cryptography is a family of trap-door one-way functions (functions in P with inverses in UP) parametrized by the public keys, and the secret keys are the corresponding trap doors (inverses in P if we also have the secret key as an input). A few functions, like RSA or discrete logarithms, really look like what we want, but none have ever been proved to be, and a proof that they are would necessarily include P vs. NP as a special case as describe above.

      Anyway, BQP is the complexity class of problems tractable on quantum computers, analogous to P for Turing machines. It's a bounded error probability class, like BPP. BQP is the set of all decision problems which have an algorithm on a quantum computer that computes them in polynomial time with an error probability less than one-third (this bound is an arbitrary choice, we can reduce the error probability exponentially with a linear number of repetitions, and the class would be identical for any probability less than one-half). BQP is necessarily at least as large as P, and the existence of Shor's algorithm shows that factorization is in BQP, so BQP is probably strictly larger than P (although it hasn't been proven that you can't factor in P). NP probably contains problems that are not in BQP (no NP-complete problem is known to be in BQP), but proving this is equivalent to proving P != NP. So, if we assume quantum computers are feasible to build on a practical scale

    2. Re:Just RSA, actually by rjh · · Score: 3, Insightful

      Superpositional computation works very nicely against ECC and the discrete logarithm problem.

      SC doesn't work against things in class NP-COMPLETE, but it's quite effective against many problems that are in NP but less than NP-COMPLETE. In fact, I'm scratching my head trying to find one that SC doesn't work against.

      Also, the total number of qubits required is twice the number of bits in the key. While nontrivial, it is not as ridiculous as you're making it out to be. It's possible we'll have this in twenty years. Less, if engineering breakthroughs go our way; more, if they don't.

  38. Brain's Alzheimer disease algorithm. by Neanderthal+Ninny · · Score: 2, Funny

    I'm going to use my brain's Alzheimer disease algorithm to encrypt everything since in a few years I won't able to remember anything and therefore no one would be able to get it, ever. Now where the heck I put my car keys at...

  39. Re:bigger keys? by forkazoo · · Score: 4, Informative

    IMO, not directly affected. One-time pads are still useful.

    The only catch might exist if there is an algorithm for a quantum computer to find a [secret, shared] key that produces a plaintext in a human language. That's probably the only way to break the OTP (aside from stealing the key.) However this is also easy to obscure - roughly speaking, create a ZIP file and apply a OTP to it. If the OTP's plaintext is not recognizable as such there is no way to accept the key and start working on the second layer of encryption.


    The whole point of a One time Pad is that there is no such thing as an algorithm to crack it without quite some information in addition to the ciphertext. The beauty of a One Time Pad is that you can crank through every possible key, but that doesn't get you anything. Sure, you may wind up with some keys that take the ciphertext and make perfectly intelligible English out of it, but there are an enourmous number of messages of a given length, and any of them could be an equally valid. So, cracking a message properly encrypted with a OTP basically amounts to creanking through every possible bit combination the same length as the message, and then guessing arbitrarily which one is the "solution."

    In practice, the only time OTP's get broken is when they are used wrong. For example, a message is enciphered with a particular pad, transmitted, and then through a beaurocratic fuckup, the same message also gets transmitted as plaintext. Then, somebody fucks up and uses the same OTP (now a TTP!) on another message. the cryptanalyst gives the old captured OTP a whirl and gets lucky. The OTP is only vulnerable to the CHF algorithm. (Cascading Human Fuckups.)
  40. Re:bigger keys? by Solra+Bizna · · Score: 2, Insightful

    Properly applied, one-time pad encryption is not crackable. Ever. Using any amount of technology or resources.

    Unless you already know the key, any message of the proper length could be the plaintext you're looking for. Even a huge quantum computer wouldn't be able to tell that the ciphertext "VPx\PztI-H&jAL" decrypts to "attack at dawn" and not "attack at dusk" or "retreating now". (or even "yay ice cream!") It might seem like this would break down with degenerate plaintext (such as signed messages), but as long as no key bits are reused and the key is not compromised, it holds up.

    "If it's so perfect, why doesn't everyone use it," you ask? "Proper" OTP requires the key to be as big as (or bigger than) the message, and requires the entire key to be shared between both parties, securely, beforehand. Not exactly something eBay can roll out tomorrow.

    -:sigma.SB

    --
    WARN
    THERE IS ANOTHER SYSTEM
  41. SO what if they break the encryption? by rucs_hack · · Score: 2, Interesting

    Know how many keys there are out there in use? Unless they have a method that can break keys in real time while messages are being sent they're screwed.

    Take this example. Person A sends a message to person B. Every tenth character person A switches to a new key. Person B, who knows what keys are in use, but not the order for today, collects the message, and runs their key 'recipes' on it until one makes sense of the first ten blocks, being enough to identify which sequence of keys is in use. Person B then decrypts the whole message.

    Anyone snooping on that may have to crack thousands of keys just to extract one coherent message. Good luck on that one.

    1. Re:SO what if they break the encryption? by CajunArson · · Score: 4, Insightful

      That might be theoretically true, but in practice public keys are in use for YEARS (if not decades).

      Example, vising gmail and checking out the certificate Google (which is pretty security conscious) has a key valid from 05/03/2007 through 05/14/2008 (over a year).
      In order to trivially look at EVERY session encrypted over gmail an attack would need to crack that key ONCE. Google is pretty good by the way, there are certs in existence for far longer than 1 year out on the intraweb.

      It is true that every session uses a symmetric cypher with a different session key... but how do you think the keys are exchanged? Once the PKI encryption is broken, the attacker will be able to read the session key in plaintext and decrypt the entire session. And this is for every single person using Google's certificate. That is why cracking PKI is so profitable, the long-term nature of the keys means once it is cracked, you have free reign for a long time.

      --
      AntiFA: An abbreviation for Anti First Amendment.
    2. Re:SO what if they break the encryption? by Sique · · Score: 4, Insightful

      Generating the assymmetric keys takes time, that's why you use symmetric keys for real time encryption. So changing the assymmetric keys too often is unfeasible right now. You want them to be valid for a longer time than just a few seconds.

      --
      .sig: Sique *sigh*
  42. Re:bigger keys? by imbaczek · · Score: 2, Insightful

    There's a problem with quantum computers: decoherence - the bigger the the key, the more qubits are needed and decoherence is more likely. Of course, that's a technical issue.

  43. Re:bigger keys? by wurp · · Score: 4, Informative

    Remember it's quantum computers we're talking about. Quantum computers solve this kind of problems instantly. That's not true at all. However, Shor's algorithm runs in polynomial time in the number of bits of the key, so making keys twice as long doesn't make the time to crack the key go up fast enough to be worth it.

    For the best known classical factoring algorithms, doubling the key length will basically multiply the number of operations required to factor by itself. For Shor's algorithm, doubling the key length might multiply the time to factor by four, but given how quickly computers get faster, that's basically worthless.
  44. trapdoor one-way permutation candidates by 0ptix · · Score: 5, Informative

    There seems to me some (a lot?) of FUD mixed up in this article. (surprise surprise...)

    It starts out with the fact that public key encryption relies on the existence of one trapdoor one-way functions. Now in practice we mainly instantiate these functions with the RSA function (f_e(x):=x^e mod n with trapdoor p,q such that pq=n). But there is no reason to believe this is the only possible example of trapdoor OWF! Admitedly in the 80s when this concept was first being explored there were quite a few failures when trying to base implementations on NP-Complete and/or NP-Hard problems (think knapsack for example). But since we already had RSA with all it's nice properties (efficiency, elegance and simplicity) the research community was not overly motivated to find others.

    There have been and to this day still are other lines of research. Take Ajtai and Dwork's work in the direction of basing PKE on worst-case hardness of the shortest vector problem (SVP) or Micciancio's work on generalizing the knapsack problem such that average-case hardness of approximating the answer can be reduced to worst-case hardness of certain lattice based problems.

    Another general direction has been to come up with groups and fields over which solving the DLP is difficult. (For example torus-based crypto and generalized Jacobian groups). AFAIK for most of these candidates there are no (known efficient) reductions from the DLP problem over Z_p or elliptic curves to the DLP in these new groups. Thus it is not immediately clear how or if Schorr's algorithm would break such systems.

    In any case there is reason to believe that there can not be (or that we can't find) good candidates for trapdoor OWFs in the quantum computational model. After all there is such a thing as Quantum P and Quantum NP. Though the inequality of these set's of problems doesn't directly imply the existence of quantum trapdoor OWFs it is a good indication there of.

    So basically the message is : Relax! The PKE world is by no means on the brink of an apocalypse. At most (and best in my opinion) we're in for a bout of some serious foundations research. to me that just sounds like more funding for applied mathematicians and complexity theorists from various corners and a WHOLE bunch of new candidates and interesting results. :-) i'm down with that.

  45. Storage will beat Crypto by DanielMarkham · · Score: 4, Interesting

    Cheap storage will eventually destroy any kind of crypto/anti-crypto technology.

    What are the new DVD formats getting? 50GB of data RW? Will options up to 250GB or so of RW storage?

    How much information do you really, really need to hide, anyway? Maybe a couple of megabytes of financial-related data per day? A one-time pad on a DVD should provide you with centuries of totally secure communications.

    So you sign up for your bank account. The bank snail mails you a 10GB random noise memory stick. You add it to your 10TB secure random storage system and you and the bank can talk for the rest of your life without anybody else being able to listen in.

  46. Re:bigger keys? by owlstead · · Score: 2, Insightful

    Normally we refer to keys used in symmetric encryption as secret keys, not as private keys. For asymmetric encryption, where two mutually dependent keys are used it's private and public keys.

    Anywho, it is said that AES-256 should be strong enough to withstand attacks by quantum computing. Of course, by definition, one time pads are resistant against every attack, as long as the keys are really kept safe. The reason why they are not commonly used is the size of the keys (as long as the plain text) and key distribution & memory issues.

    So symmetric encryption is still rather safe, and as long as they aren't able to build a rather large quantum computer, I presume that asymmetric encryption is still safe as well.

  47. Re:why? by TheRaven64 · · Score: 3, Funny
    Yes they can, all you need is a separate, point-to-point, 100% secure, path with the same data rate as your Internet connection to send the OTP.

    Hmm. I see what you mean.

    --
    I am TheRaven on Soylent News
  48. Re:bigger keys? by TheRaven64 · · Score: 4, Interesting

    It's been a while since I looked at Shor's algorithm, but I was under the impression that you needed a quantum computer with a number of qbits greater than or equal to the key length in order to get that kind of scalability with the algorithm. Due to entanglement problems, building a quantum computer with a sufficiently large capacity to run Shor's algorithm on keys of a useful length is still very hard. We've had quantum computers that can use it to quickly factorise trivial keys for a while now, but making bigger ones is very hard.

    --
    I am TheRaven on Soylent News
  49. Re:One time pads people, why is it so hard? by John+Sokol · · Score: 2, Interesting

    I agree, this is normally the case. But Public key had turned into a hammer and everything looks like a nail. Meaning it's over used and not the best approach for many applications. I guess it's great if your some deep pocket government with cracking machines set up for it.

    Someone you need a shared secret to be passed the first time. If there is alway someone listening it will not work.
    But I am assuming your moving around and no one can intercept all conversation, but more like the case of a Credit card where or SSL
    where someone can intercept a a single transaction, record it and giving enough time crack it. With credit cards this time = 0 since it's in clear text 16 digits.

    But once you have your shared "key" I don't like to call it a key, but pad or shared secret, and your mobile (like in wifi/bluetooth) no short term transaction interception will give away any information giving any computing power unlike SSL.

    You have to read my patent, but I am using it in combination with SSL/SSH Public key encryption.
    But this is just for transmission, not storage, it's also layered with onetime pad and one use numbers.

    I also had an idea for public pad encryption using really really large pads, based on the premise that memory is more of a bottleneck then computing power.

    --
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
  50. Re:bigger keys? by wurp · · Score: 2, Informative

    That is very true.

    I was trying to address the specific point of the parent poster (that quantum computers gave instant results), not the difficulties of using Shor's algorithm in a practical setting to break cryptography.

    There seems to be a general belief that quantum computing can try an algorithm against all possible inputs and give you the best/correct input in one iteration, which is just absolutely not true.

  51. Re:More like the Chinese gov by FuzzyFox · · Score: 3, Funny

    Ancient Chinese Secret, huh?

    --
    splunge (n) -- A good idea.. but it could be lousy... and I'm not being indecisive!
  52. Re:More like the Chinese gov by AHuxley · · Score: 2, Informative
    KGB is now the FSB, Federalnaya Sluzhba Bezopasnosti, Federal Security Service.


    China just sends out science like "Ph.D flash mobs" if they are interested.
    ie. informants in the Chinese diaspora.
    No need for fancy, expensive legends ect.
    1000's of students reporting back around the world.
    Or they get you to set up in China and clone your work down the street.

    --
    Domestic spying is now "Benign Information Gathering"
  53. FACTS about quantum and public-key crypto by cpeikert · · Score: 4, Informative

    I am a professional research cryptographer. There are many misstatements in the comments so far (what else should one expect, it's Slashdot.....)

    Here are some facts to fix the clutter:

    1. Shor's algorithm works on quantum computers and can factor integers in polynomial time. This breaks all public-key systems that depend on the hardness of factoring, including RSA, Rabin, Paillier, and XTR.

    2. A different version of Shor's algorithm also computes discrete logarithms (again, in poly time). This breaks all public-key systems that depend on the hardness of discrete log, over *any* cyclic group. This includes ElGamal, even over "exotic" groups like those associated with elliptic curves.

    3. Nevertheless, factoring and discrete log are different beasts and are not known to be equivalent to each other. Still, Shor's algorithm (in different versions) solves them both.

    4. Shor's algorithm does not yet break all known public-key cryptosystems. Systems based on lattices, for example, do not appear to be affected as of yet. These include Ajtai-Dwork and a couple systems by Regev. NTRU is based on lattices, but is based on some not-so-natural assumptions (i.e, the assumption that "NTRU is secure").

    5. Public key encryption is (probably) *not* equivalent to trapdoor permutations (or even trapdoor one-way functions). TDPs are a much stronger notion and are not strictly needed to do secure public-key encryption. For example, ElGamal and lattice-based systems are not based on trapdoor primitives per se.

  54. Shor also has a quantum discrete log algorithm by sidney · · Score: 2, Interesting

    Lastly, not all public key crypto is shafted, only things that rely on factorisation as a problem. ECC will be quite safe until (if?) somebody develops a quantum algorithm for discrete logs
    Shor also describes a quantum algorithm for solving the discrete log problem in polynomial time, although I don't see any references for anyone having implemented it in a physical experiment like this one with quantum factorization.

    See Shor's paper Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer