Slashdot Mirror


The End of Encryption?

An anonymous reader writes "The encryption algorithms that make virtually all electronic commerce possible work only because certain mathematical problems are very, very hard to solve. But some mathematicians are trying to prove that there's really no difference between 'hard' and 'not hard' problems--known in the math biz as P and NP. In an article on TechnologyReview.com, Simson Garfinkel spells out the real-world consequences of this mathematical conundrum."

17 of 633 comments (clear)

  1. Nope, wrong, invalid.. nothing to see here. by Ckwop · · Score: 5, Insightful

    No no no no no. How many more times? Cryptography has absolutely nothing to do with the question of P?=NP.

    P?=NP refers to the asymptotic complexity as the problem. i.e. as the input size goes to infinity. It quite possible to have a problem whos complexity is approximately linear at the 100-1000-bit range and still NP-Complete. Conversely, it's possible to have a p-time algorithm for solving a problem that has a O(n^100) so it's still difficult to solve. While resolving P?=NP might bring new tricks to the table it's difficult to legislate for these tricks. There might not even be any we don't already know.

    Another point, p?=np has no bearing on the security proof of the one-time pad or quantum mechanical key exchange. The latter will become practical over large distances to enable the former long before p?np is resolved. Cryptography will die when the last human draws its breath.

    Simon.

    1. Re:Nope, wrong, invalid.. nothing to see here. by Geiger581 · · Score: 5, Insightful

      What you say is very true, but there are two big exceptions to note:
      1) 1TP/QKE require as much storage/bandwidth for the key as for the message, and the key can never be resused. These are both severe drawbacks.
      2) Crypto is useful for more than just hiding information. Digital signatures/integrity hashes are both very important and impossible to achieve -reuseably- with either of the schemes mentioned above.

  2. Who needs it? by romper · · Score: 5, Funny

    Guvf jbexf whfg svar sbe zr!

    --
    Right is wrong when left is right.
    1. Re:Who needs it? by Anonymous Coward · · Score: 5, Funny

      That's not encrypted. That's in German!

      w00t

  3. Easy killer... by danielrm26 · · Score: 5, Interesting

    This is really quite simple - the type of machine that can render Prime-based and Discrete Log-based encryption "useless" has not been invented yet. Furthermore, as the article points out, most (including Adelman) belive it'll be a long time before one is.

    The problem (P vs. NP) is still just as difficult, and we aren't really much closer to solving it than 10 or 20 years ago.

    --
    dmiessler.com -- grep understanding knowledge
  4. More than Just P=NP by SparafucileMan · · Score: 5, Insightful
    "For more than 30 years, mathematicians have sought in vain the answer to a simple problem in theoretical computer science. The problem is what's known as an open question --it's a simple equation that is either true or false. It can't be both."

    Which is not exactly true. It could be true but not provable. It could be false but not provable. It could be provably true, or provably false. Or, it could be neither true nor false.

  5. It's still a "what if" piece... by bersl2 · · Score: 5, Insightful

    So far as we know, P != NP.

    And that's it. And I haven't seen a shred of evidence to the contrary.

    Yes, the article is somewhat truthful, in that if P == NP, the world will have been turned on its head, but the same thing is true about thousands of scientific and/or mathematical assertions, each of which is more likely to be overturned than P != NP.

  6. All he does is explain P and NP by GillBates0 · · Score: 5, Interesting
    and ponders over whether the recent MD5 news from the Mathematics conference (in an earlier /. story today) will lead to any discoveries that may help answer whether P=NP.

    Ignoring the fact that the answer to P?=NP has little to do with breaking encryption for a moment, even if an NP computer is conceived and developed, it'll just lay down a *huge* plethora of computing possibilities at our disposal, including new encryption techniques.

    Encryption cannot die, algorithms can.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
  7. Re:Quantum Computers / Shor's Algorithm by wwest4 · · Score: 5, Informative

    > Or a quantum computer is made that can break all these passwords.

    No. To put in plain language: there are forms of encryption more advanced than those that employ difficult math problems. Quantum computing does not pose a threat to a OTP system that employs quantum key exchange. Sorry.

  8. "last human draws its breath" by aristus · · Score: 5, Funny

    Cryptography will die when the last human draws its breath. Er.... shouldn't that be third-to-last human?

    --
    Sometimes seventeen/Syllables aren't enough to/Express a complete
    1. Re:"last human draws its breath" by Issue9mm · · Score: 5, Funny

      Actually, I'm thinking second-to-last really. As the third-to-last person on the earth, I may choose to encrypt a document entitled "How to kill Fred and Bill" so that that the other two may not access it.

      -9mm-

  9. Re:Could be argued by Christopher+Thomas · · Score: 5, Insightful

    It can well be argued that absolutely nothing is in fact random. From coin flips to roulette anything can eventually be learned and predicted on some level.

    Even in a purely classical universe, sensitivity to starting conditions makes things like coin tosses and die rolls impossible to predict if set up carefully. This is that whole "chaos" topic you may have heard about in the press in the 1980s. You'd have to have excruciatingly accurate knowledge of the state of everything in the past light-cone of the event you're trying to predict, as of the time of prediction, for it to work with perfect reliability.

    In our quantum universe, the uncertainty principle makes it impossible even in principle to measure starting state to the required precision, for the schemes that are used for true random number generation in electronic systems. Additionally, if quantum processes are accepted as truly random, they inject enough noise to taint macroscopic events with true randomness if the consequences of the noise are given enough time to propagate.

    In summary, true randomness exists as a very fundamental result of the laws of nature, and won't go away no matter how good our measurements get.

  10. Re:It's not "the end of encryption" at all by Control+Group · · Score: 5, Informative
    True, but OTPs aren't reusable, and the key needs to have as much information as the message, so they're not an answer to digital signatures or secure transactions online. Or at least, not an answer that's easy enough for me to comprehend.

    Since those are the areas in which most people encounter encryption, that's what the author was focusing on.

    On the other hand, the author also didn't give any reason to think that P?=NP is even coming closer to being resolved, and certainly no reason to think that it will end up being P=NP...so I don't see how PKE is threatened, either.

    It's a non-story, if you ask me. Not that anyone did.

    --

    Reality has a conservative bias: it conserves mass, energy, momentum...
  11. My favorite Simson Garfinkel work by Anonymous Coward · · Score: 5, Funny

    "50 Ways to Break Encryption"...
    just calculate the key, Lee
    hack the algorithm, Jim
    reverse-engineer, Samir

    sleep, what's that?

  12. Re:It's not "the end of encryption" at all by OdinHuntr · · Score: 5, Funny
    True, but OTPs aren't reusable

    OH MY GOD, THEY'RE NOT???

  13. Re:As I thought I understood it... by RWerp · · Score: 5, Informative

    by having a plaintext and cyphertext, a quantum computer can make it very trivial to find the key using certain iterative attacks on the algorithm. I mean, isn't the quantum computer "instantly" backtracking up until the substitution step of each round, as the operations would be reversible up until that point? I would think the complexity to crack is only dependant on the number of rounds.

    There is no possibility to use a quantum computer to make simultaneous dictionary attack (guessing the key by trying all possible keys at the same time), because, contrary to what most people think, you can do only one usable computation at the same time on a quantum computer. The difference between classical and quantum computer is that you can 'tune' the quantum computer into doing this one computation which is important -- like the one needed to break the key. If you can do that, you've cracked the cipher. But it requires an algorithm specific to the cipher in question. A good defense before such attack would be to change the cipher in such a way as to make the corresponding quantum algorithm useless, and make attacker think really hard before coming up with another one. A bit more challenging than just increasing the key length.

    IANAQCE (I Am Not A Quantum Computing Expert), but that's what I gathered from listening to seminars delivered by people from the field.

    --
    "Long run is a misleading guide to current affairs. In the long run we are all dead." (John Maynard Keynes)
  14. Re:Quantum Computers / Shor's Algorithm by swillden · · Score: 5, Informative

    I thought that all the public key (etc) systems relied on a "hard math problem" to produce the public-key secret-key pair.

    Sort of. Actually, they rely on the hard math problem to make it so someone who knows the secret key can do something that someone who knows the public key cannot, and, potentially, vice versa. Generation of keys is simpler.

    When I generate my DES and AES keys I go through that "mostly prime" exercise.

    Umm, no. DES and AES don't care about primes, or factoring, etc., at all. The DES and AES keyspaces are (nearly) flat. To pick a DES/AES key, you just choose a random 56-bit/128-bit number. (I said nearly because DES does have some weak keys, so some people choose to avoid those).

    So quantum computing should be able to do the "large nubmer factoring" exercise necessary to crack the key...

    For public-key algorithsm like RSA, DSA, Diffie-Hellman, ECC (well, you don't use factoring to attack ECC, but same notion), etc., yes. For secret-key algorithms like DES, AES, IDEA, RC-4, Twofish, etc., no, there is no number factoring exercise or similar that will help. So probably not, which was my point.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.