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."

40 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. Re:Nope, wrong, invalid.. nothing to see here. by dmeranda · · Score: 4, Insightful

      Additionally it should be noted that there are many complexity classes other than just P and NP, and there are many X such that X > P and X > NP.

      So even IF the P?=NP question applies, it doen't mean that cryptography itself is doomed. Just that harder problems might need to be used as the basis.

    3. Re:Nope, wrong, invalid.. nothing to see here. by plover · · Score: 2, Insightful
      Perhaps the author expressed the idea poorly by stating it in terms of solving P?=NP, but the ultimate point he was trying to get across is: will the currently difficult* problems that are the basis of modern cryptography remain difficult into the future? And for how long?

      * I'm deliberately leaving 'difficult' undefined to dodge abuse from the language lawyers.

      I've always wondered what would happen if some 15-year-old math wiz who is playing around in Mathematica comes up with a novel approach to factoring; and then what effect that would have on modern cryptography and communications. This article simply inflates that idea into a paranoia for the masses. Which, as you said, is nothing to see here, move along...

      --
      John
    4. Re:Nope, wrong, invalid.. nothing to see here. by John+Courtland · · Score: 2, Insightful
      So if you have a channel secure enough to send the one time pad, you may as well sent the message instead.
      I wouldn't go so far as to say that. The pad has no bearing on the message sent aside from the ability to decrypt it, so you send the OTP via quantum-encrypted channels and verify its integrity at the recipient end. If the pad has not been comprimised *then* you send an OK (via the same quantum-encrypted channel, just in case) to recieve the encrypted message. This gives you one extra layer of security that pretty much defeats any monkey in the middle style attacks, because you need not send data unless the recipient is sure the pad is secure.
      --
      Slashdot is proof that Sturgeon's Law applies to mankind.
    5. Re:Nope, wrong, invalid.. nothing to see here. by RWerp · · Score: 2, Insightful

      I've always wondered what would happen if some 15-year-old math wiz who is playing around in Mathematica comes up with a novel approach to factoring

      If anybody does something about factoring, he will do it with pencil and paper (or blackboard and chalk), not with Mathematica. Mathematica is only as good as the mathematicians are, it's not a magic box sent from heaven.

      --
      "Long run is a misleading guide to current affairs. In the long run we are all dead." (John Maynard Keynes)
    6. Re:Nope, wrong, invalid.. nothing to see here. by Coryoth · · Score: 2, Insightful

      Factoring is overrated. A good solution to factoring will only really kill RSA. What you really want is a fast solution to the discrete Log Problem for arbitrary groups. Solve that and Diffie-Hellman, El-Gamal systems (pretty much all public key crypto, including elliptic curve crypto) are out the window, and serious problems result.

      Jedidiah

    7. Re:Nope, wrong, invalid.. nothing to see here. by EveryTroll · · Score: 0, Insightful

      Except, of course, that this only protects against eavesdropping, not against a true man-in-the-middle attack.

      If the quantum data stream (or any data stream, ever) is received by the man-in-the-middle, then a new data stream is transmitted to the original destination, there is still vulnerability. You only get link security, not end-to-end security.

      There's a *lot* you can do with that to make communication more secure, but it's not omnipotent. In particular, it's vulnerable to the insider with unlimited access to the communications infrastructure, which is -- humorously enough -- where it's being marketed to. For long range military applications I'd say it's pretty darn good (hard to intercept satellite communications without being detected) but it's still not perfect.

      --
      I am here to protect you from the terrible secret of goatse! Do not trust the Giver Robot!
  2. 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.

    1. Re:More than Just P=NP by sploo22 · · Score: 4, Insightful

      Well, it could be proven to be theoretically undecidable like the halting problem, couldn't it? Then I guess it would be true or false, but nobody would ever know so it's all semantics.

      --
      Karma: Segmentation fault (tried to dereference a null post)
    2. Re:More than Just P=NP by AJWM · · Score: 2, Insightful

      Firstly, the halting problem is trivially decidable for any particular program, the program either halts or it doesn't.

      Okay, suppose you're given a program that computes successive digits of, say, pi. Trivially we can say that it won't halt (not counting physical or architectural limitations of the computer), by definition.

      Suppose we now add a test wherein the program halts if it detects a particular sequence of digits. Will it halt or not?

      Show the trivial method by which you decide your answer.

      --
      -- Alastair
    3. Re:More than Just P=NP by Anonymous Coward · · Score: 2, Insightful

      You really have no fucking idea, do you?

  3. Re:Sound of Silence by baylanger · · Score: 2, Insightful

    In other words, cryptography is dust in the air?

  4. There's always OTP by ikewillis · · Score: 4, Insightful

    OTP will always remain a viable means of private key cryptography. When you interleave signal with noise, the result will always have the properties of noise.

    1. Re:There's always OTP by gweihir · · Score: 2, Insightful

      OTP will always remain a viable means of private key cryptography.

      Theoretiocal OTP: yes.

      However the existence of randomness in nature if a pure observation and may be an oversimplification. There is not much indication this may be so, but when I look at what quantum physicists currently believe, I am pretty much convinced we don't understand this universe yet.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  5. Ha! by chill · · Score: 2, Insightful

    For 90% of the public, ALL math problems more complex than 2+2 are hard!

    --
    Learning HOW to think is more important than learning WHAT to think.
  6. Music and mathmatics from one person? by Spokehedz · · Score: 2, Insightful

    In an article on TechnologyReview.com, Simson Garfinkel spells out the real-world consequences of this mathematical conundrum.

    Who else read that as Simon Garfunkle? Come on... I couldn't be the only person here, could I?

    And besides... if you want real security, just do double encryption. use two common, off-the-shelf encryption methods, one encrypting the other's data and your data is now as safe as it can get. further encryptions in encryptions will only add to bloat and time to decrypt.

  7. 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.

  8. Another magical no more secrets box by syousef · · Score: 2, Insightful

    When will people learn that as long as people have secrets to keep they'll find ways of keeping them? There may be advances in technology which will render certain methods of keeping the secret obsolete, but this search for a magic algorithm is silly.

    I imagine one day there may be an advance that will mean a total security overhaul will be required though, and that could provide a window of chaos in the most extreme circumstances. However every advance in decryption tends to quickly lead to an advance in encryption that can beat it. At least historically that's been the way it is.

    Until they can literally read the contents of my brain, I'm not too worried.

    --
    These posts express my own personal views, not those of my employer
  9. Get with the times! by Otter · · Score: 4, Insightful

    Ask Slashdot dealt with this issue three years ago! When it comes to uninformed, idle speculation, this site is way ahead of MIT!

  10. The article sums it up best by GreenCrackBaby · · Score: 4, Insightful
    Adelman thinks that we'll be waiting for the solution for a long time. Resolving the question of P and NP, he says, "would require new and brilliant ideas and not routine incremental progress. From my perspective, we are no nearer to solving the problem now that we were when bell-bottom pants were cool."


    The whole thing is a bunch of alarmist speculation.

    --

    "The market alone cannot provide sufficient constraints on corporation's penchant to cause harm." -- Joel Bakan
  11. It's not "the end of encryption" at all by Bruce+Perens · · Score: 4, Insightful
    You mean public-key encryption . I fail to see how the one-time pad would be effected by new ways to solve NP-hard problems.

    Bruce

  12. 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.

  13. Re:Could be argued by captnitro · · Score: 2, Insightful

    Mathematics is a 'human thought construct', man. The interesting part about it is that these ideas reliably correspond to real things. There's nothing inherent in the universe to say that three apples can't be described some other way, but mathematics describes it as '3' and if I add '2' more, I get '5'.

    Realistically, I could argue "what constitutes an apple?" or "are these apples really '1' each?", but as far as mathematics goes, it's the ideals of the numbers matter.

    "Random" isn't random when you're talking about coin tosses or roulette, just a very complex and physical "pseudo-random". "Random" is a mathematical ideal, just like "2" apples. While we can't generate truly random, we can get damn close, and certainly close enough to use. (Example: Via's C3 'Padlock' encryption engine takes electrical noise off the chip. Not truly random, but good enough to keep people from reading your e-mail.)

    For that reason, when we're talking about one-time pads and the like, the proof of uncrackability has to do with the ideal, not the fact that we're getting our random data set from a monkey at the zoo. Obviously if your "random" data set was a monkey who sat on the "A" key for twenty minutes, that's a factor. But the ideal is what we're talking about, and if we can get close *enough*, we should be fine.

  14. Factoring is another NP problem -- NO! by Randym · · Score: 4, Insightful
    Factoring is another NP problem.

    I'm surprised that Simson made this elementary mistake.

    Factoring has *not* been proved to belong to either P or NP. It's an "open problem".

    --
    DNA is a Turing machine. You, however, being dynamic and emergent, are not.
    1. Re:Factoring is another NP problem -- NO! by mrtroy · · Score: 2, Insightful

      Factoring is another NP problem. I'm surprised that Simson made this elementary mistake.
      Factoring has *not* been proved to belong to either P or NP. It's an "open problem".


      Exactly. RSA will not die...factoring still will take a long period of time, with larger keys.

      --
      [I can picture a world without war, without hate. I can picture us attacking that world, because they'd never expect it]
  15. Re:"last human draws its breath" by Anonymous Coward · · Score: 0, Insightful

    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.


    But as you'll be dead I don't think it matters to Bill and Fred anymore.

  16. Hard and tedious are different things by GoClick · · Score: 2, Insightful

    Adding 2 numbers and 25 billion numbers is really not that dissimilar in ways of difficulty, however it still takes a lot longer to do one than the other. The strength of cryptography doesn't come from how hard something is so much as how long it takes to do all that simple math.

  17. Re:Eventually by chill · · Score: 4, Insightful

    Digital Fortress was a complete piece of shit. Please don't base anything off that rag. It was written with the express purpose of capitalizing off of Dan Brown's momentum being made into a movie. The "visuals" described fit Hollywood nicely -- meaning they have no basis in reality.

    It is easy for a person to come up with an algorithm that THEY can't crack. Most are painfully obvious to outsiders with any experience.

    Other than proper implementation of a one-time pad, you'll probably find any encryption will eventually fall.

    --
    Learning HOW to think is more important than learning WHAT to think.
  18. Re:Could be argued by gweihir · · Score: 4, Insightful

    Randomness is not a human construct, I am not sure where you are getting this idea from. There are certain events that are PROVABLY unpredictable, e.g. radioactive decay and certain quantum effects.

    Wrong. Sorry. Physics cannot prove things. They can only show that things are very likely and they can have theories that predict things. Often this works, but from time to time it fails. All physical deductions relating to reality are derived from experiments. Experiments are allways imprecise and frequently deliver wrong results.

    Ask any physicist. They know that they just have a best guess, but no hard facts.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  19. Re:Keeping the honest people honest by DylanQuixote · · Score: 2, Insightful

    Well, "enough CPU cycles" is usually so high a number that it isn't possible to compute before the end of the universe.

  20. Re:Could be argued by DarkMan · · Score: 2, Insightful

    The problem is, however, that the random nature of quantised states exerts some influcence on macroscopic states. It's not very big. In fact, it's posivtly tiny (other wise the quantum nature of things would have explored sooner). Let me give an example.

    Light has momentum. The solar sail is the most direct application of this.

    Consider a coin toss. In the average place where it takes place, there is uneven illumination. That is, as the coin is spinning, there will be time where the illumination on one side is different to the other. So far this is still accontable for.

    However, some of the incoming light will be absorbed by the material of the 'coin', which will enter an excited state, and then later re-emit that light. There is a hugh amount of photochemistry which relies on this sort of behaviour.

    So, as the coin is spining in the air, the momentum from reflected light is calculable. Let's ignore the effect of absorbing the light, and focus on the re-emmision which will apply some momentum. In what direction is the light re-emited?

    Well, that's a tough question. Most importantly, as the coin is spinning in the air, it depends on the time between absorbtion and re-emmision. That's a quantum phenonema, and is randomly distributed in a Gaussian disribution about some mean.

    So, to calculated the effect of the coin toss exactly, you need to account for all those quantum effects. Which is impossible, because they are random.

    I accept my example is a little contrived, in that the effect of the differential momentum transfer by photonic processes is negligable for any real coin, compared to other factors. It is, however, not zero, and is a solid example of how the randomness of quantum events effects macroscopic observables.

    Given enough time, the fuzzyness of the quantum states gradually takes over. For most things that's a long time - it is, however, non zero.

  21. Re:Quantum Computers / Shor's Algorithm by swillden · · Score: 2, Insightful

    Thank you for making my point. Quantitative changes occur incrementally over time, like memory requirements. Qualitative changes, however, like the fundamental difference between quantum computers and Von Neumann computers, and the algorithms that can be executed on each, don't.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  22. Re:Could be argued by iwadasn · · Score: 3, Insightful


    By "prove" we mean to some disgusting (like 20) number of sigma. The odds of us all dying of a stroke on the same day is greater than the odds of us being wrong about that.

    The odds aren't ever zero, but they're usually close enough.

  23. You arrogant jerk by M.C.+Hampster · · Score: 1, Insightful

    Only on Slashdot would such a comment be moderated "Insightful". I guess the reason that any comment that insults the majority of the populace gets modded up on Slashdot is the social insecurity felt by the moderators. Does it make you feel good to insult a huge portion of the populace? Does it make everyone feel so much smarter and better than all those evil "jocks" that picked on you in high school?

    Grow up. Nerds, geeks, computer experts are not the only intelligent people out there.

    Yeah, mod me as flamebait, whatever.

    --
    Forget the whales - save the babies.
  24. Re:I saw this movie by ErikTheRed · · Score: 2, Insightful
    The one way to tell for sure if the good guys win, is if the Republican National Committee goes bankrupt
    Yes, I know this is funny, but keep in mind that a few years ago on the Clipper Chip issue it was also Kerry vs. Ashcroft - but it was Kerry pushing for the Clipper Chip and then Senator Ashcroft pushing for individual privacy. Ashcroft has since done a post-9/11 180-degree flip on his views here, but nothing suggests that Kerry has done the same (insert Kerry flip-flop joke here if you want, but no one really knows what he really thinks right now - maybe not even Kerry).

    The bottom line - no political party can be trusted to secure your privacy, civil liberties, etc. Pick your candidates on their individual stances on the issues important to you. Depressingly, most of the time the only difference between the parties (and candidates) is how much lubrication they'll use when fucking you in the ass.
    --

    Help save the critically endangered Blue Iguana
  25. Re:"last human draws its breath" by Chandon+Seldon · · Score: 2, Insightful

    If the only humans left are you, Britney, and Christina, we might as well give up on the continuation of the human race anyway...

    --
    -- The act of censorship is always worse than whatever is being censored. Always.
  26. MOD PARENT UP by finkployd · · Score: 2, Insightful

    Few people know that Ashcroft was once a crusader for personal freedom and privacy and took a stance against the Clipper Chip. Oh course, NOW he is a total fucktard who wipes various parts of his body with the bill of rights, I guess prolonged exposure to government does that to people.

    Incidently most of the geeks I know (myself included) who voted for Bush did so because at the time he appeared to be the lesser of two evils. Al "Mr Clipper Chip" Gore certainly was no friend of the technology industry or anyone interested in privacy while he was VP.

    Of course now we know that there are no lesser of two evils. Kerry and Bush will both screw over the country hard. Let's face it, nobody likes either of these two failures. They just hate the other guy enough to pretend to like one of them. It is a sad say in the US when these two are the best options we have.

    Finkployd

  27. Factoring is not known to be NP-complete by JoeBuck · · Score: 4, Insightful

    Because factoring is not known to be NP-complete, there might turn out to be a polynomial-time algorithm for factoring, but no polynomial-time algorithm for NP-complete problems. If this were true, RSA might be broken, but other public-key algorithms might still be strong enough.

  28. Re:As I thought I understood it... by Minna+Kirai · · Score: 2, Insightful

    Today we use the same approach:

    No. It's not the same. Holes in DES or AES arise only because of human error in creating the cipher. (And if you wanted better security, you'd be using Diffie-Hellman anyhow). They are not expected, anticipated, or unavoidable.

    But in a hypothetical future with quantum computing, breaking the encryption doesn't rely on discovering a flaw, just going through the work. Fundamentally so much easier.