Slashdot Mirror


Math Advance Suggest RSA Encryption Could Fall Within 5 Years

holy_calamity writes "The two encryption systems used to secure the most important connections and digital files could become useless within years, reports MIT Technology Review, due to progress towards solving the discrete logarithm problem. Both RSA and Diffie-Hellman encryption rely on there being no efficient algorithm for that problem, but French math professor Antoine Joux has published two papers in the last six months that suggest one could soon be found. Security researchers that noticed Joux's work recommend companies large and small begin planning to move to elliptic curve cryptography, something the NSA has said is best practice for years. Unfortunately, key patents for implementing elliptic curve cryptography are controlled by BlackBerry."

282 comments

  1. We need to keep this secret by BenSchuarmer · · Score: 4, Funny

    otherwise hackers will use it to mess up the internets.

    1. Re:We need to keep this secret by Anonymous Coward · · Score: 0

      https://www.youtube.com/watch?v=F5bAa6gFvLs

    2. Re:We need to keep this secret by buchner.johannes · · Score: 4, Informative

      You mean like SSL is broken and nobody talks about it?

      First there was BEAST in 2011, which was fixed. But the situation in 2013 is not better!
      https://www.globalsign.com/blog/is-ssl-broken.html (and links therein, especially the last two)
      https://www.imperialviolet.org/2013/02/04/luckythirteen.html
      http://blog.cryptographyengineering.com/2013/02/attack-of-week-tls-timing-oracles.html
      List of all attacks: http://armoredbarista.blogspot.de/2013/01/a-brief-chronology-of-ssltls-attacks.html

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    3. Re:We need to keep this secret by Anonymous Coward · · Score: 0

      Great Sense of Humor!
      Now on to the facts, RSA was cracked years ago. The process is pretty simple
      (1) Take the integer square root of the prime key sum and check it by squaring it to make sure that both keys are not the same.
      (2) By algebra formula remember that the P(High) and P(Low) have a number exactly 1/2 way between them which is described
      P(High) = Center + Diff
      P(Low) = Center - Diff
      Reduce the formula that is (Center + Diff) (Center - Diff) = Sum
      --- Problem solves here --- I am leaving out some steps for the fun of math guys but it is a simple computer algorithim and without super computer you can reduce a RSA sum to crack it in about 10 minutes with a modern computer.
      This is a linear solution and not irreversable as the math guys like to say.
      There is only one key which is secure in our modern world. It is a "private key" The problem is exposure of them via OS problems. Most people are unwilling to put up with private key difficulties.

    4. Re:We need to keep this secret by DuckDodgers · · Score: 1

      I know I shouldn't feed the trolls, but I can't help it here.

      Gauss's Prime Number Theorem states that the number of primes below a positive integer X is close to x/ln(x). If you're doing 1024 bit RSA encryption - and most guidelines these days are for 2048 bit RSA or better, then that means your two prime numbers are about 512 bits in length (each roughly half of 1024 bits). 512 bits represents a number between 0 and 2^512 - 1, the natural log (ln) of that number is 355, which means there are very roughly 3.7x10^151 primes in there.

      Now, as you say, it's likely the prime will be "close" to the maximum value of 2^512 -1, it's not probable that p is some prime near 1022 bits in length and q is 5. But even if you knew for sure that the prime number was above 2^400, that still gives your Core i7 more work than it can handle in your lifetime.

      Anyone that knows number theory better than I, feel free to correct me if I screwed this up. I haven't looked at this kind of math since undergrad, 15 years ago.

    5. Re:We need to keep this secret by jonadab · · Score: 1

      It's not SSL as such that's broken.

      HTTPS is broken, not because it uses _SSL_, but rather because of the _way_ it uses it, which was designed wrong.

      But SSL itself is also used in other contexts, some of which are not broken in the same way as HTTPS. (SSH, for instance, uses SSL in a more reasonable way and consequently is a good deal more secure than HTTPS.)

      --
      Cut that out, or I will ship you to Norilsk in a box.
  2. Ah what does it matter... by Anonymous Coward · · Score: 1, Insightful

    ...the NSA will have a backdoor into that epileptic curve whatnot too.

    1. Re:Ah what does it matter... by Bill,+Shooter+of+Bul · · Score: 0, Troll

      I care more about Hackers gaining access to my bank account than the NSA. NSA does lots of messed up stuff, but it hasn't tried moving money out of my account yet.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    2. Re:Ah what does it matter... by Anonymous Coward · · Score: 4, Insightful

      Yeah. They have taxes for that.

    3. Re:Ah what does it matter... by dmbasso · · Score: 3, Insightful

      They do. It is called taxes.
      You pay to be spied on, good deal!

      --
      `echo $[0x853204FA81]|tr 0-9 ionbsdeaml`@gmail.com
    4. Re:Ah what does it matter... by Anonymous Coward · · Score: 1

      I wouldn't worry about that.

      Unless you're a communist. Or a trade-unionist. Or a Jew. Or maybe Catholic.

      I'm sure we're all good on /. for a long time to come.

      No need to say anything, really...

    5. Re:Ah what does it matter... by Quasimodem · · Score: 5, Funny
      You pay a fraction of your income to have someone watching you all the time.

      It's a great deal if you're an exhibitionist!

    6. Re:Ah what does it matter... by multisync · · Score: 2

      I care more about Hackers gaining access to my bank account than the NSA.

      I care more about Thieves gaining access to my bank account than Hackers or the NSA.

      --
      I don't care why you're posting AC
    7. Re:Ah what does it matter... by Anonymous Coward · · Score: 1

      I suspect that it matters that the NSA will be able to decrypt all the TLS/SSL communications they have been collecting for years.

    8. Re:Ah what does it matter... by fast+turtle · · Score: 1

      No we're not all good as I'm not getting my cut of Foreign Aid from Uncle Sam. Damn it's probably because I'm not asking for enough money. Guess I need to rewrite my application and ask for a couple of trillion dollars in aid, to Battalions, an Air Craft Carrier Group along with a half dozen F4's instead of the meager 20 million and farm aid.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    9. Re:Ah what does it matter... by microbox · · Score: 0

      The NSA doesn't raise taxes. (facepalm.)

      --

      Like all pain, suffering is a signal that something isn't right
    10. Re:Ah what does it matter... by pupsocket · · Score: 1

      Is your money the paramount issue? Then let the NSA protect it for you. Just stay out of their way, and they'll let you keep it.

    11. Re:Ah what does it matter... by Anonymous Coward · · Score: 0

      I actually care more about bankers losing all my money AND then asking for a bailout.

      The probability and negative impact of that seem much higher than the other stuff.

    12. Re:Ah what does it matter... by DuckDodgers · · Score: 1

      The cryptologist response to that is that any technology the NSA develops, can be independently developed by someone else. And further, any backdoor put in place for the NSA can likewise be exploited by others. Broken cryptography is not a one way door that only opens for good guys.

    13. Re:Ah what does it matter... by tolkienfan · · Score: 1

      Except that they tried it with Clipper.
      That was a failure because is was publicly known to have a backdoor.
      Who's to say they successor wasn't a success?

    14. Re:Ah what does it matter... by DuckDodgers · · Score: 1

      If the successor has a backdoor and the bad guys found out about it, would they announce it to the world?

    15. Re:Ah what does it matter... by Pseudonym · · Score: 1

      Or a hacker. None of those on Slashdot.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  3. RSA = out of date by girlintraining · · Score: 0, Flamebait

    The RSA encryption has been depreciated for years now. Hell, back in 2000 we were saying that DES was insecure, and triple-DES was just a stop-gap. Everyone's been switching to AES for awhile now. This isn't news.

    Every encryption scheme has to balance performance and security; And we balance it so that in the next 5, 10, 50, or however many years, advances in technology won't render the data vulnerable in the interim. It's basic engineering. It's like building a safe -- you can't stop it from being broken, but you can make it so that it takes time. Hopefully enough time to get additional resources to the site to stop the thieves. There is no such thing as an uncrackable safe... or an encryption scheme.

    The goal is to make sure it takes long enough that by the time they get in, either the men with shotguns have arrived, or whatever it was protecting is now useless to them. If you don't understand this fundamental rule of security, then perhaps this article is newsworthy... but to anyone who works with information security... it's just confirmation of existing methodology.

    --
    #fuckbeta #iamslashdot #dicemustdie
    1. Re:RSA = out of date by EvanED · · Score: 5, Insightful

      The RSA encryption has been depreciated for years now. Hell, back in 2000 we were saying that DES was insecure, and triple-DES was just a stop-gap. Everyone's been switching to AES for awhile now. This isn't news.

      Your first sentence sounds weird to me, and it isn't supported by your second. AES can't be a suitable replacement for RSA because AES is a secret-key system and RSA is a public-key one.

      I'm not a crypto person, but RSA and elliptic-curve systems are the only two public-key systems I can think of. (There are others that allow secure exchange of a secret key, but that's different.)

    2. Re:RSA = out of date by mlts · · Score: 2

      Maybe it might be time for an algorithm challenge, similar to how AES got decided, and the lastest hash algorithm got chosen.

      Of course, asymmetric algorithms are a lot harder to make that are secure than symmetric ones.

      I wonder about, instead of naming one, naming three. That way, if in the future one gets compromised, the broken one would just not be used, or for very sensitive stuff, all three can be cascaded (not for bit length, but to keep things signed or encrypted in case one gets severely weakened.)

    3. Re:RSA = out of date by burne · · Score: 4, Informative

      You need upvotes, but I'm out of modpoints.

      You are very correct. Take for instance OpenVPN. It uses RSA to exchange an random AES session key. RSA and AES/DES/3DES have different uses, and replacing RSA with AES is simply not possible.

    4. Re:RSA = out of date by Anonymous Coward · · Score: 1

      The interesting thing is that I think TFA confuses DSA with RSA. DSA would be useless if the discrete logarithm was solved but is not really threatened by quantum computers. RSA is relatively fine with this development because their major weakness is integer factorization, but would be hosed by quantum computers.

    5. Re:RSA = out of date by Anonymous Coward · · Score: 0

      'deprecated' - have to be careful, not all spell checkers have that word.

      It may actually be possible to build an unbreakable encryption scheme - advances in mathematics are not guaranteed.

    6. Re:RSA = out of date by tlhIngan · · Score: 5, Informative

      The RSA encryption has been depreciated for years now. Hell, back in 2000 we were saying that DES was insecure, and triple-DES was just a stop-gap. Everyone's been switching to AES for awhile now. This isn't news.

      Wow, that is so wrong.

      RSA is an asymmetric (aka publick key) cipher - because it requires two keys - one to encrypt, one to decrypt. AES, DES, 3DES are symmetric ciphers because you use the same key to encrypt and decrypt.

      RSA and EC (elliptic curve) encryption is useful if you want to send data to someone without the hassles of secretly sharing the key ahead of time - e.g., I can encrypt a message using the public key and only the private key can decrypt it. Or I can use my private key to encrypt a message, and the public key can be used to decrypt it (the latter is often used to sign stuff, except the message is typically a hash instead of the original message).

      The reason you use AES, DES, 3DES is because public key encryption is hideously slow. In the case of RSA, you're exponentiating one horrendously large number with other horrendously large numbers. (If your message is long, that horrendously large number Is big).

      That's why what every public key encryption thing does is it encrypts the message with a fast symmetric cipher like AES, then encrypts the key (much shorter) with RSA or EC. If I want to send you a document, I encrypt it with AES, then use your public key to encrypt the AES key I used.

      It's also why signing uses a hash - it's easier to encrypt the hash than the message. And verification just means recomputing the hash, and then decrypting the encrypted hash with the public key, producing the original hash to which can be compared to the just computed one.

      The breakthrough in math would be a way to factor a large number quickly - which is what RSA relies on for security - it's easy to multiply two big numbers, but it's very time consuming to factor it.

    7. Re:RSA = out of date by adam.vany · · Score: 2

      There's a fundamental difference between breaking the algorithm mathematically and the key space being too small. People left DES and 3-DES because the key size was too small and a brute force became feasible. The same is becoming true for RSA, but this is completely different than solving the discrete logarithm problem that underpins RSA and Diffie-Hellman. Solving that would be an amazing feat of mathematics. So please stop trying to show off to /. how you're smarter than everyone else.

    8. Re:RSA = out of date by K.+S.+Kyosuke · · Score: 1

      Wow, that is so wrong.

      How is it wrong? He's not referring to the operating principles, only to the fact that RSA and DES are about equally dated. You've just wasted time and space providing him with information he's already had.

      --
      Ezekiel 23:20
    9. Re:RSA = out of date by EvanED · · Score: 2

      He's not referring to the operating principles, only to the fact that RSA and DES are about equally dated

      Adam Van Ymeren said it well. An algorithm's age doesn't necessarily speak to how secure it is. DES is considered insecure because it has a fixed key size that can be brute-forced, not because it is a fundamentally weak crypto system.

      By contrast, the same objection does not apply to RSA, at least AFAIK: the key size can be scaled arbitrarily, so as computing resources grow so can the difficulty of the problem. I'm not familiar enough with the area to know how the discrete log helps RSA (integer factoring is the usual weakness I associate with that algorithm), but at least what the summary suggests is a fairly fundamental breaking of the algorithm. I didn't read TFA, but possibly key sizes would have to be scaled up prohibitively to remain secure.

      DES vs AES is not the same situation at all as RSA vs EC.

    10. Re:RSA = out of date by Anonymous Coward · · Score: 0

      He's not saying AES is a replacement for RSA, it was a replacement for DES. RSA has been deprecated for years, while people are still using it, just as people were using DES when it was known to be insecure.

      The idea is that encryption standards can quickly become ineffective due to improvements in computing power and cryptanalysis.

    11. Re:RSA = out of date by girlintraining · · Score: 1, Informative

      Your first sentence sounds weird to me, and it isn't supported by your second. AES can't be a suitable replacement for RSA because AES is a secret-key system and RSA is a public-key one.

      Sigh. We're discussing an encryption algorithm that is aging and was designed to run under limited computational resources... and now that resources have increased many-fold since the original, it is no longer secure. I then compared it to other encryption schemes that are less resource-constrained which have been coming into wider use. I said nothing about key exchange systems or anything else... I was making a general comment about encryption schemes; Your confusion is because you are drawing your own conclusions, rather than staying on point: Which is that every encryption algorithm, regardless of type or usage-scenario, has a shelf life.

      --
      #fuckbeta #iamslashdot #dicemustdie
    12. Re:RSA = out of date by K.+S.+Kyosuke · · Score: 1

      AES can't be a suitable replacement for RSA

      True, but he isn't making any such claim.

      --
      Ezekiel 23:20
    13. Re:RSA = out of date by pwizard2 · · Score: 1

      The thing I'm not sure about right now is whether the RSA method itself is becoming insecure or if standard-size keys can simply be brute-forced. If it's a question of key size, then why not use larger keys?

      The last time I checked, it is possible to increase the size of RSA keys quite a bit. Most frontends for PGP/GPG only allow keys up to 4096-bit to be created but several years ago I was able to generate valid key pairs up to 11296-bit. I had to modify the GPG source code and recompile it before it would let me create oversize keys but my 11296-bit key is still compatible with stock GPG.

      --
      "It is a denial of justice not to stretch out a helping hand to the fallen; that is the common right of humanity."
    14. Re:RSA = out of date by Anonymous Coward · · Score: 1

      Sigh. AES requires less resources to implement than DES (in software, anyway). It also happens that it is more secure due to better design and longer keylength (possibly it is less secure than 3DES, that is open to debate).

      The real reason we have replaced DES with AES (and RC4) is neither because resources are constrained or because DES is broken (it's not), it is because the key length is only 56-bit, so while it is secure from a cryptographic standpoint, it can be bruteforced (expensively) and is insecure from a practical standpoint (when dealing with a commited adversary).

      That both AES and RC4 (which is kind of insecure in design, but most widely used in SSL) are much faster than DES is also a huge advantage when you are using them for bulk encyrption as they are used in SSL and OpenSSH.

    15. Re: RSA = out of date by ceoyoyo · · Score: 2

      Deprecated - I don't think that word means what you think it means. RSA can't be deprecated when there isn't a replacement. Elliptic curve cryptography has only really become a realistic replacement fairly recently, and nobody outside of government rushed to give Blackberry lots of money to use it because there wasn't a compelling reason to do so. Governments DID, which suggests to the conspiracy theorist that they might know of such a reason.

      It's been long recommended you don't use short keys with RSA (which were used in the past for speed) but the algorithm itself is secure (as far as we know), no matter how much hardware you throw at it. This story is about the possibility of a mathematical advance (note, the possibility, it hasn't happened yet) that could make the RSA algorithm itself insecure, for any key length.

      A breakthrough in solving the discrete logarithm problem would be a big deal. It could also very well lead to breakthroughs in integer factorisation.

    16. Re:RSA = out of date by ultranova · · Score: 4, Informative

      I said nothing about key exchange systems or anything else... I was making a general comment about encryption schemes; Your confusion is because you are drawing your own conclusions, rather than staying on point: Which is that every encryption algorithm, regardless of type or usage-scenario, has a shelf life.

      You still can't replace an outdated public-key encryption key system with a symmetric system. Because, in real life, usage scenarios and key exchange systems actually matter - in fact, they are the most crucial aspect of the whole thing, otherwise we'd use true random one-time pads and be safe from any attack with any level of computing power forever.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    17. Re:RSA = out of date by EvanED · · Score: 5, Informative

      I didn't say that you said that AES could replace RSA: I said that your AES/DES analogy didn't support your statement that RSA is or should be deprecated. That may sound like I'm nitpicking here, but I'm really not: it's pretty fundamental to my point. And the reason is this:

      Which is that every encryption algorithm, regardless of type or usage-scenario, has a shelf life.

      This absolutely need not be true. RSA for instance is based in part around a hardness assumption: that given a very large number n which is the product of p and q, it is far harder to find p and q from n then it is to find n from p and q. Assume for the sake of argument that this is the only hardness assumption RSA depends on. (If the summary isn't misleading it apparently also depends on the hardness of discrete log, but I don't know how.)

      If the hardness assumption holds, then RSA as such will never be insecure. Why? Suppose you say "here is a computer capable of factoring a number n with b bits." I'll say "OK, fine; I'll use 100*b bits (or something)"; because multiplying is so much easier than factoring, your computer will still be able to carry out that task but it won't be able to crack my key.

      In other words, if the hardness assumption holds, RSA doesn't have a specific difficulty: it can scale with computational power. That's why you see people using 2048-bit keys now instead of 512-bit keys a couple of decades ago.

      The only things that the age of the algorithm has to say about the security of it is (1) if the difficulty cannot scale with computational power (true of DES, not true of RSA) and (2) being out longer gives people more time to find flaws in its assumptions.

      But here's the thing: #2 isn't necessarily bad or speak against the algorithm. It is conceivable that the assumptions just fundamentally hold. If they do, being out longer will not impact the security at all. If anything, being out longer with no one discovering anything should give a higher assurance that an algorithm is secure than a newer one would.

      now that resources have increased many-fold since the original, it is no longer secure.

      I don't think I've ever heard a blanket statement about RSA being insecure -- only things like certain key sizes or certain implementations or PRNGs being insecure. (Wikipedia also lists a couple of side-channel and plain-text attacks, but those are also arguably quality-of-implementation issues, and similar attacks exist for EC systems.) The intro to the Wikipedia article says nothing about RSA being insecure. "Deprecated" and "discouraged" both fail to appear on the page.

      The strongest statement against RSA I've heard is just that EC is better.

      I then compared it to other encryption schemes that are less resource-constrained which have been coming into wider use

      Except that the DES vs AES case is not even close to being the same case, as Adam Van Ymeren said in response to you, and then I elaborated on elsewhere and above.

      The reason it's not even close is that DES does not scale with computational power, because it has a fixed key size.

    18. Re:RSA = out of date by Anonymous Coward · · Score: 0

      By contrast, the same objection does not apply to RSA, at least AFAIK: the key size can be scaled arbitrarily, so as computing resources grow so can the difficulty of the problem.

      This is also true with respect to DES, as in the case of 3DES, and you could easily create 5DES or 10DES or whatever by chaining cipher units with different keys which are each a portion of the combined key. We don't do this for the same reason that we don't normally use RSA8192, it's incredibly slow.

      AES has an advantage over DES in that it has a much faster software implementation (and possibly a simpler hardware implementation, but IANAHD). The primary reason it was developed was because 3DES is slow and people wanted cheap encryption that could deal with fast channels like the internet and hard disks.

      Considering there are some theoretical partial breaks on AES, if I was truly paranoid I would use 3DES or 6DES over AES, but I am a practical man, and the real practical security of AES, especially AES256 is assured for now.

    19. Re: RSA = out of date by Anonymous Coward · · Score: 0

      There already exist unbreakable mathematical ciphers. The problem, invariably, comes down to key exchange - and even this is resolved wi quantum cryptography.

    20. Re: RSA = out of date by ceoyoyo · · Score: 5, Insightful

      The story is talking about the possibility of a mathematical breakthrough that would make solving the discrete logarithm problem (and possibly the integer factorisation problem) much, much easier. RSA relies on it being much easier to raise something to an integer power than to find a discrete logarithm (inverse operations). If you figure out how to make the two operations of similar difficulty then any encryption scheme based on them is hopelessly broken for any key size.

    21. Re:RSA = out of date by Anonymous Coward · · Score: 0

      No, people left DES because the keysize was too small, and left 3DES because DES was too slow.

      You can keep increasing the security of a block cipher by chaining it with additional keys indefinitely*, but DES is already slower than AES and 3DES is 3 times slower than DES.

      * Because there is no way to identify which intermediate ciphertext between each module is correct, you have to solve over the combined keyspace to brute force it. Of course if your individual cipher is vulnerable to DCA, then your composite cipher will likewise be vulnerable to DCA.

    22. Re:RSA = out of date by compro01 · · Score: 2

      If it's a question of key size, then why not use larger keys? The last time I checked, it is possible to increase the size of RSA keys quite a bit.

      Because large RSA keys do unfortunate things to performance. You double the key length, and it takes 6-7 times longer to run the decryption.

      --
      upon the advice of my lawyer, i have no sig at this time
    23. Re:RSA = out of date by kasperd · · Score: 1

      This is also true with respect to DES, as in the case of 3DES, and you could easily create 5DES or 10DES or whatever by chaining cipher units with different keys which are each a portion of the combined key.

      It's not only the key, which is too small. The blocksize is also too small. DES has a blocksize of only 64 bits. Even the 128 bit blocksize of AES is a bit on the short side. My rule of thumb for how many blocks of data you can safely encrypt with with a single key is two raised to one quarter of the blocksize. If the blocksize is 64 bits, that gives you 512KB, if the blocksize is 128 bits you can go all the way to 64GB. With typical full disk encryption schemes using a single AES key for an entire harddisk, which could be a few TB in size, I think this is something to be concerned about.

      It is just a rule of thumb though. It is not like something happens as you cross that boundary. Whether you encrypt 63GB or 65GB with a single AES key doesn't make much of a difference in terms of security. The more data you encrypt with the same key, the larger the risk of collisions is. A collision is when you by chance encrypt the same input block twice, and when does happen the cipher blocks will be identical and leak information about the collision having happened. When you reach 64GB, the probability of such a collision is about 1 in 2^64. Having that probability go any higher than that is unreasonable for a 128 bit cipher, which is why I use the rule of thumb, that I do use.

      If somebody were to encrypt all the information in the world using just a single AES key, it is not unlikely that the probability of a collision would be more than 50%.

      Oh, and 10DES is not something, which would be used by anybody, who knows what they are doing. The number of times you use DES needs to be an odd number. The actual security is equivalent to the number of usages of DES divided by two and rounded up. That means 2DES is no more secure than DES, and 10DES is no more secure than 9DES. So you'd go with either 9DES or 11DES. Moreover you can replace every other DES with a simple XOR with a constant with almost no loss of security, you might even gain a little bit of security that way due the XOR using 64 bit of key material but a DES operation using only 56 bits.

      So rather than using 10DES (with an actual keysize of 560 bits and an effective keysize of 280 bits) you could alternate between XOR and DES such that you have 6 rounds of XOR and 5 rounds of DES (with an actual keysize of 664 and an effective keysize of 360 bits). This approach with 6 rounds of XOR and 5 rounds of DES is almost twice as fast as 10DES and to the best of my knowledge also more secure.

      --

      Do you care about the security of your wireless mouse?
    24. Re:RSA = out of date by dcl · · Score: 5, Interesting

      There is another promising public key encryption method known as NTRUEncrypt (http://en.wikipedia.org/wiki/NTRUEncrypt). It's lattice based, and apparently it will still be effective in a post quantum computing world where RSA/Elliptic curve methods will fail.

    25. Re:RSA = out of date by russotto · · Score: 4, Informative

      The RSA encryption is
      c = m^e (mod n), where m is message, c is ciphertext, e is public exponent, and n is p*q

      Decryption is
      m = c^d (mod n) where d is the private exponent.

      The process of computing d given m,n and c is exactly the discrete logarithm problem. Given n and e, which are public, you can pick an arbitrary m and generate a corresponding c.

    26. Re:RSA = out of date by Anonymous Coward · · Score: 0

      I don't buy your argument about block size, at least in counter mode, as you would have to have sufficiently large known plaintext to figure out what the actual output of the counter was at that point in the cipherstream, otherwise two identical blocks in ciphertext with outstanding probability represent different inputs of plaintext AND different outputs of the counter.

      Though I only vaguely understand the problem with even-order combinations of DES, I will cede that you are probably right on this issue.

      The point I was trying to get at was more that AES was not enabled by advances in computing power as the GP stated, as that is quite illogical, AES is more easily computed than DES (even 56-bit DES), so it is advances in cryptography, and not hardware that we use AES today.

    27. Re: RSA = out of date by statusbar · · Score: 1

      IEEE Std 1363a defines a method to to Elliptic Curve Crypto that is not patent encumbered.

      --
      ipv6 is my vpn
    28. Re:RSA = out of date by smallfries · · Score: 1

      What you have described is true when both parties hold the relevant keys, and they believe that the keys have not been compromised - this is when I can trust that I really have your public key and not one substituted by an adversary. To solve this problem of key distribution the DH key exchange algorithm is normally used, and this relies on the hardness of discrete logs. If the DH problem is weak (which now appears to be the case) then RSA would be borken in the sense that you could not exchange keys to use it.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    29. Re:RSA = out of date by Anonymous Coward · · Score: 0

      what are p and q? Who genegates them, are they send with the message?

    30. Re:RSA = out of date by Anonymous Coward · · Score: 0

      DES is a very good cipher, crippled by an artifically low keyspace of 56 bits. For all we know 3DES (which is essentially a concatenation of DES) is almost as good as AES with 128 bits of keyspace.

      You are either a g-shill or a headless chicken.

    31. Re:RSA = out of date by Anonymous Coward · · Score: 0

      The process of computing d given m,n and c is exactly the discrete logarithm problem.

      But m is the secret message. A third party would only now c (the cypher text), e (the public exponent) and n. From that you would want to compute m or d (the private exponent).

      This exposes RSA as a cryptographic signature method, but not as an encryption method. I'm wrong?

    32. Re:RSA = out of date by kasperd · · Score: 1

      I don't buy your argument about block size, at least in counter mode, as you would have to have sufficiently large known plaintext to figure out what the actual output of the counter was at that point in the cipherstream

      The value of the counter is not expected to be secret. Additionally, I don't think CTR mode is suitable for full disk encryption (which tend to be the case where the largest amount of data is encrypted using a single key).

      The point I was trying to get at was more that AES was not enabled by advances in computing power as the GP stated, as that is quite illogical, AES is more easily computed than DES (even 56-bit DES), so it is advances in cryptography, and not hardware that we use AES today.

      A more accurate way to state it is, that it is advances in computing power that created a need for AES. Today we have so much computing power, that DES can be broken by brute force, so we need something stronger.

      As far as I know there has never been found an attack faster than brute force against DES. A weakness has been found in an earlier version of the cipher, but NSA provided a fix for this weakness before the DES standard was finalized. It is unclear how much NSA understood about the weakness before they provided the fix. Nothing was published about the weakness at the time, it was discovered independently many years later.

      --

      Do you care about the security of your wireless mouse?
    33. Re:RSA = out of date by Anonymous Coward · · Score: 0

      Enigma was also a quite good concept: Rotors in counter-mode. That kind of thing is not broken to the present day, at least for the short messages of WW2. The problem with Enigma was a "smart" guy realizing three or four rotors could be iterated with a machine (as the British and Americans duly did), so he "hardended" it using the Steckerbrett.

      If they had properly done it (TypeX- or Fialka-style), chances are that Engima-Fialka (let's call it like this) would be entirely secure to the present day for the short messages of WW2.

      Afaik, the SIGABA, TypeX and Fialka machines have not been broken to the present day. All that has been broken was the super-flawed thinking of German and Japanese crypto officials. Apparently, tyranny breeds muppets and it shows.

      Too many people apparently think that crypto and telecom support is a kind of "overhead" and you can "save money on this and build more ammo, more guns instead". That kind of thinking might cost your life. See Yamamoto's fate.

    34. Re:RSA = out of date by K.+S.+Kyosuke · · Score: 1

      Adam Van Ymeren said it well [slashdot.org]. An algorithm's age doesn't necessarily speak to how secure it is.

      I'm aware of that, but that's hardly relevant here. When girlintraining said "A" ("RSA merely being old is sufficient to make it broken"), tlhIngan said "no, B is wrong" (B being an entirely different set of claims, probably something like "RSA should be replaced by AES" - which, of course, she DIDN'T claim but which seems to be the way in which tlhIngan misunderstood it).

      That fact that girlintraining's A can *still* be wrong doesn't mean that tlhIngan's riposte, addressing a completely different issue, isn't still misplaced. (It's amusing how you've just managed to completely ignore the point of my comment in *exactly* the same way that tlhIngan ignored girlintraining's comment. What's happening to reading comprehension these days?)

      --
      Ezekiel 23:20
    35. Re:RSA = out of date by Anonymous Coward · · Score: 0

      Oh, and 10DES is not something, which would be used by anybody, who knows what they are doing. The number of times you use DES needs to be an odd number. The actual security is equivalent to the number of usages of DES divided by two and rounded up. That means 2DES is no more secure than DES, and 10DES is no more secure than 9DES. So you'd go with either 9DES or 11DES.

      No, just no. Security grows as the floor[log_2[n+1]], so compared to 1DES, 7DES is 3 times as secure, and 15DES is only 4 times. This is why you never see chaining pass 3.

      you could alternate between XOR

      Chaining XORs tend to be a bad idea.

    36. Re:RSA = out of date by EvanED · · Score: 1

      I'm aware of that, but that's hardly relevant here.

      I suspect we're talking past each other a bit. :-) Here's my interpretation:

      tlhlngan said "Wow, [girlintraining's post] is so wrong", and you responded to tlhlngan by saying "How is it wrong?". And while "wrong" was the arguably the wrong word to use on tlhlngan's part, the DES/AES comparison by girlintraining was irrelevant.

      However, and here is where I think I may have made a jump (perhaps justified, perhaps not), while girlintraining's statement about DES/AES wasn't wrong if taken completely literally, it did reflect a misunderstanding on girlintraining's part (unless I yet have something to learn). And in that sense, I think "wrong" is a perfectly fine word for tlhlngan to have used. (I didn't know what that misunderstanding was at the point of tlhlngan's post, but I felt it was reasonably clear there was one.)

      So when you asked "why's it wrong", I answered the question I interpreted it as -- but not what you asked. :-)

    37. Re:RSA = out of date by mattpalmer1086 · · Score: 1

      Sorry, but this is just wrong.

      The whole point of public key encryption is that you don't need to do a key exchange. You have the public key, which is, well, public. The problem then becomes trusting you have the correct public key. Signatures provided by some other trusted party are used for this, usually in certificates. There still needs to be some per-established trusted root or web of trust to enable this. Identity-based public key encryption even does away with the need for this, allowing the generation of arbitrary public keys for someone (although there are other security issues with this sort of encryption scheme which I won't go into here).

      Diffie Hellman key exchange is unauthenticated and completely vulnerable to a man in the middle attack. It is used to create a shared secret between two parties, which becomes a shared key, usually for symmetric encryption. It's very old now but still amazingly cool - I love the somewhat counter-intuitive fact that two parties can create a shared secret amongst themselves using only public communications. As long as you accept that neither party has any idea at all who they are creating the shared secret with.

    38. Re: RSA = out of date by Anonymous Coward · · Score: 0

      To big to fail?

    39. Re:RSA = out of date by kasperd · · Score: 1

      Security grows as the floor[log_2[n+1]], so compared to 1DES, 7DES is 3 times as secure, and 15DES is only 4 times.

      [citation needed]

      This is why you never see chaining pass 3.

      Wrong. The reason you don't see that is because the performance sucks, and because nobody really saw the need to increase the keysize even further, when the blocksize remained the same.

      Chaining XORs tend to be a bad idea.

      That's why you would alternate between DES and XOR. Using this method with two rounds of XOR and one round of DES is standardized. I don't know if it has been used with more rounds.

      --

      Do you care about the security of your wireless mouse?
    40. Re:RSA = out of date by smallfries · · Score: 1

      Whoops, was working from memory and it has been a looong time. DH key exchange is indeed completely different to what I said above - as you've said it is an alternative way to set up a secret channel. Certifying trust on a public key is indeed the important issue, and solved in a different way.

      I'm guessing the alternative issues on IBE are the need to trust the CA, which puts it roughly in the same level of messiness as using digital signatures on public keys anyway. Is that Matt Palmer at the National Archive?

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    41. Re:RSA = out of date by mattpalmer1086 · · Score: 1

      Easy to confuse all this crypto stuff! I work with it regularly and still have to look quite basic stuff up if I haven't touched it for a while! Yes, I am that Matt Palmer, but no longer at the National Archives...I'm now doing contract security architecture for a consultancy.

      The issues on IBE are kind of like trusting a CA, except there are no certificates and therefore no CA. There is a very powerful trusted party who can decrypt anyone's information. The way it works is, there are some all powerful master secrets, from which some public parameters are generated.

      Anyone with the public parameters can generate a new public key for anyone (e.g. using your email address as the public key) and encrypt a message for you. The issue is that to decrypt the message, you have to ask the trusted party for a valid private key for that public key, which it can automatically generate for you given knowledge of the public key, using the master secrets.

      One security issue of this system is how does the trusted party authenticate that you really are who you claim to be, and how does it distribute that private key to you. Another, possibly more serious objection, is that the trusted party can fundamentally generate private keys for anyone using their parameters, so they can decrypt everyone's data. You have to *really* trust that trusted party.

      The only place I've seen IBE commercially used is by Voltage Security. One use case is to allow payment terminals to automatically generate a new public key for each payment. Since the payment provider is supposed to be able to decrypt all of these communications (they are the trusted party), then this works quite nicely.

    42. Re:RSA = out of date by delt0r · · Score: 1

      Public key encryption requires trap door functions. We can't even prove they exist. Most people believe they exist. If you can prove they do exist then you also prove that NP!=P. But proving NP!=P does not imply the existence of trap door functions.

      So what this means is we try and find trap door functions. Things that appear to be easy if you have some piece of information, but really hard if you don't. There have been such functions suggested in the past that proved to be easy in both directions in the end (knapsack problems for example).

      TL;DR Its much harder to find practical public key methods than symmetrical key ones.

      --
      If information wants to be free, why does my internet connection cost so much?
    43. Re:RSA = out of date by mdmkolbe · · Score: 1

      Under a chosen plain text attack, an attacker would know m.

    44. Re:RSA = out of date by Anonymous Coward · · Score: 0

      I said nothing about key exchange systems or anything else... I was making a general comment about encryption schemes; Your confusion is because you are drawing your own conclusions, rather than staying on point: Which is that every encryption algorithm, regardless of type or usage-scenario, has a shelf life.

      You still can't replace an outdated public-key encryption key system with a symmetric system. Because, in real life, usage scenarios and key exchange systems actually matter - in fact, they are the most crucial aspect of the whole thing, otherwise we'd use true random one-time pads and be safe from any attack with any level of computing power forever.

      Although that's an excellent point, perhaps an even more important reason why we don't use one-time pads for everything is storage space. It kinda sucks if your key needs to be as long as that which you're encrypting.

    45. Re: RSA = out of date by parkinglot777 · · Score: 1

      IEEE Std 1363a defines a method to to Elliptic Curve Crypto that is not patent encumbered.

      I don't think what is patented in the TSA is the method, but its implementation (quote below).

      Implementations of ECC were pioneered and patented by a company called Certicom that is now a subsidiary of the phone manufacturer BlackBerry.

      So my question is that is there only ONE implementation for the algorithm???

    46. Re: RSA = out of date by parkinglot777 · · Score: 1

      Opps, TFA, not TSA...

    47. Re:RSA = out of date by TrekkieGod · · Score: 1

      RSA for instance is based in part around a hardness assumption: that given a very large number n which is the product of p and q, it is far harder to find p and q from n then it is to find n from p and q. Assume for the sake of argument that this is the only hardness assumption RSA depends on. (If the summary isn't misleading it apparently also depends on the hardness of discrete log, but I don't know how.)

      In RSA you get the public key e based on your n (and the totient of n). After that you encrypt a message m into cyphertext c using your public key e by performing c = m^e (mod n). In addition, to decrypt the cyphertext using a private key d (which is the multiplicative inverse of e mod the totient of n), you perform m = c^d (mod n). RSA assumes that given c and m, it's still pretty hard to find e or d. Otherwise, given the public key, you can figure out the private key by encrypting a message with the public key and performing the discrete log.

      --

      Warning: Opinions known to be heavily biased.

    48. Re:RSA = out of date by Bengie · · Score: 1

      You are correct, comparing AES to RSA is like comparing GPUs to CPUs and claiming one is better than the other. They solve different problems.

    49. Re: RSA = out of date by statusbar · · Score: 1

      Good point; There are implementation techniques and specific curves which are patented and it is possible to make an implementation that is not patented. For example: http://dnscurve.org/crypto.html

      --
      ipv6 is my vpn
    50. Re:RSA = out of date by DuckDodgers · · Score: 1

      https://en.wikipedia.org/wiki/RSA_encryption

      p and q are the starter prime numbers that the person using RSA picks. n = p*q, and its bit length is your RSA key length. e is some number that is relatively prime to (p - 1)(q - 1). d is picked so that de = 1 mod (p-1)(q-1). Your public RSA key becomes the pair e and n. The others: p, q, (p - 1)(q -1), and d remain private.

    51. Re:RSA = out of date by DuckDodgers · · Score: 1

      It would ruin it as an encryption method because an attacker could use their own m, use the public e and n, and thus obtain their own c without intercepting anyone else's encrypted traffic. Then they can calculate d, and can decrypt anything encrypted using e and n.

    52. Re: RSA = out of date by statusbar · · Score: 1

      Also see: http://tools.ietf.org/html/rfc6090

      9. Intellectual Property

            Concerns about intellectual property have slowed the adoption of ECC
            because a number of optimizations and specialized algorithms have
            been patented in recent years.

            All of the normative references for ECDH (as defined in Section 4)
            were published during or before 1989, and those for KT-I were
            published during or before May 1994. All of the normative text for
            these algorithms is based solely on their respective references.

      --
      ipv6 is my vpn
    53. Re:RSA = out of date by gweihir · · Score: 1

      You do know that RSA has a size parameter, do you? And that without a mathematical breakthrough in prime factorization, engineering advances can easily be completely nullified by just increasing said size parameter? This is not a block-cipher, that as tome time becomes insecure due to faster computers, something far more fundamental is needed to break RSA.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    54. Re:RSA = out of date by david_thornley · · Score: 1

      ALL cryptography depends on P != NP. For any usable cipher, deciphering is going to be in P. This means that breaking it with known plaintext is in NP. (The argument is somewhat hairier for unknown plaintext, but you can do NP things that will almost certainly crack the cipher.) If it's possible to solve all NP problems efficiently, it's possible to break any cipher efficiently.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    55. Re:RSA = out of date by delt0r · · Score: 1

      This is incorrect. Its easy to prove in the case of a one time pad. If you don't have the key, then all possible messages are valid plain texts, there is no way N=NP can help you tell which one is correct. Symmetric key systems do not require N!=NP, they rely on the fact that there is a "secret function". Without knowledge of that function (ie the key), you cannot invert that function.

      --
      If information wants to be free, why does my internet connection cost so much?
    56. Re:RSA = out of date by sFurbo · · Score: 1

      Assume for the sake of argument that this is the only hardness assumption RSA depends on. (If the summary isn't misleading it apparently also depends on the hardness of discrete log, but I don't know how.)

      The hardness of RSA ONLY hinges on the hardness of discrete log, as the discrete log is the inverse function of RSA encryption. The dependence on the hardness of factorization follows from this.

      The neat thing about RSA is that the discrete log becomes very easy if you know the factorization of the divisor, so figuring out a way to factor large numbers puts you on (nearly?) equal footing with the person constructing the keys.

    57. Re:RSA = out of date by Kjella · · Score: 1

      If the hardness assumption holds, then RSA as such will never be insecure. Why? Suppose you say "here is a computer capable of factoring a number n with b bits." I'll say "OK, fine; I'll use 100*b bits (or something)"; because multiplying is so much easier than factoring, your computer will still be able to carry out that task but it won't be able to crack my key.

      Except for the reason that we aren't using 100*b bits today, which is that the whole encryption/decryption process (not just the multiplication, which is trivial) also gets a lot slower. You want to be able to access your online bank securely on your cell phone in a very performance, power and time-constrained environment while it still being secure against someone who could throw a botnet or beowulf cluster or rack of custom ASICs at it for a long period of time. Your phone has to do the math every time, while they can pick one in thousand key exchanges to crack. In short, the practical security of RSA depends on there being a massive difference in difficulty so you can use it trivially while withstanding the most committed of adversaries. If 1 second encrypting = 1 year decrypting on a supercomputer, is it then secure? How long would you wait to log in to your bank?

      --
      Live today, because you never know what tomorrow brings
  4. Elliptical Curve by Anonymous Coward · · Score: 2, Informative

    http://en.wikipedia.org/wiki/Elliptic_curve_cryptography

  5. RE: Elliptical curves by Anonymous Coward · · Score: 4, Interesting

    https://www.schneier.com/essay-198.html

  6. OpenSSL? by pope1 · · Score: 5, Interesting

    OpenSSL has had a good working implementation of ECDSA/ECDH for years: http://wiki.openssl.org/index.php/Elliptic_Curve_Cryptography

    What exactly does BlackBerry have chained down that we don't have an open solution for?

    --
    /* * pope1 */
    1. Re:OpenSSL? by Anonymous Coward · · Score: 2, Informative

      They claim patents on various ECDSA/ECDH implementations. There really isn't more to say, we here at slashdot know how evil patents are. :)

      To avoid the patent issues its best to implement as specified in: http://tools.ietf.org/html/rfc6090

      Abstract

            This note describes the fundamental algorithms of Elliptic Curve
            Cryptography (ECC) as they were defined in some seminal references
            from 1994 and earlier. These descriptions may be useful for
            implementing the fundamental algorithms without using any of the
            specialized methods that were developed in following years. Only
            elliptic curves defined over fields of characteristic greater than
            three are in scope; these curves are those used in Suite B.

    2. Re:OpenSSL? by Anonymous Coward · · Score: 1

      They've chained down the technique of 'being an asshole'. Patenting math is evil.

    3. Re:OpenSSL? by TechyImmigrant · · Score: 1

      I.E. If you implement these RFC 6090 "Pre-patent" methods, the first obvious thing you would think of to make it better is point compression. That is one of the obvious implementation things that were patented.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    4. Re:OpenSSL? by Anonymous Coward · · Score: 2, Interesting

      Except thats not true. The patent often claimed to cover point compression specifies fields of characteristic 2 (not the large prime fields most implementations actually use; as the certicom patents cover a ton of characteristic 2 field stuff).

      It's also the case the point compression was described in publication at least as far back as 1986, making it too old to be patentable in general:

      Quoting DJB:

      Miller in 1986, in the paper that introduced elliptic-curve cryptography, suggested compressing a public key (x,y) to simply x: ``Finally, it should be remarked, that even though we have phrased everything in terms of points on an elliptic curve, that, for the key exchange protocol (and other uses as one-way functions), that only the x-coordinate needs to be transmitted. The formulas for multiples of a point cited in the first section make it clear that the x-coordinate of a multiple depends only on the x-coordinate of the original point.'' This is exactly the compression method that I use.

      (http://cr.yp.to/ecdh/patents.html)

    5. Re:OpenSSL? by Anonymous Coward · · Score: 1

      Point compression is not obviously better. In fact, it trades time for space when representing members of an elliptic curve group. For some applications, this may make sense. However, for every application In which I've applied ECC, this has been a bad trade off as solving for the missing coordinate is very computationally expensive while point compression only saves a few bytes (~ 50) for each curve group element represented. 50 bytes is nothing on all but the most constrained wireless networks, but the computational cost is easily measurable on modern embedded platforms.

    6. Re: OpenSSL? by Anonymous Coward · · Score: 0

      Who cares about the patents? They're US patents, fine... they apply ONLY IN THE USA.
      Rest of the world can just keep on using the methods.

    7. Re:OpenSSL? by TechyImmigrant · · Score: 1

      I'm not saying it's obviously better. I'm saying it's an obvious idea with prior art that got patented, despite the fact that neither obvious ideas, nor ideas that have prior are are eligible to be patented.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  7. RSA is outdated, but... by aeranvar · · Score: 1

    I recently took a survey put out there by a researcher studying those working in the security community. One of the questions was about what threats really keep me up at night. My answer? That someone proves P = NP.

    1. Re:RSA is outdated, but... by EvanED · · Score: 1

      Almost no one thinks that P=NP, so I wouldn't worry so much about that keeping you up at night. (The main thing I took away from a Robert Cook talk (the guy who basically invented/discovered the problem) was when he said that one of the big reasons that theorists think that P!=NP is that people seem to be really good at finding algorithms but really bad at proving complexity class differences. As a "proof" of the latter, he put forth that L any of them. :-) Obviously this was probably more intended as a humorous take on the situation, but it is slightly revealing.)

      Actually in some ways it would be really really exciting and almost certainly a really good thing in the long run, because there are a lot of important, currently-intractable problems that become tractable if P=NP.

      Of course, that assumes two things: (1) current approximation algorithms aren't "good enough" (which I'm not sure about), and (2) the chaos brought about by cryptography no longer working is relatively short term and we make it through it. :-)

    2. Re:RSA is outdated, but... by qubex · · Score: 5, Insightful

      Based on my limited understanding, proving P = NP would not necessarily and automatically provide a manner of constructing reductions. It might. But there are proofs in computation theory that demonstrate limit complexities but do not provide the algorithms that might implement them, nor do they (currently, visibly) provide any indication of how that algorithm may be arrived at.

      Besides, proving P = NP would have a vast number of consequences that would echo across mathematics and the more fundamental sciences. To harp upon the security implications is as short-sighted as fretting that all-out thermonuclear war would negatively affect the postal delivery service.

      --
      "Place me in the company of those who seek Truth, but deliver me from those who believe to have found it."
    3. Re:RSA is outdated, but... by Anonymous Coward · · Score: 3, Insightful

      Actually in some ways it would be really really exciting and almost certainly a really good thing in the long run, because there are a lot of important, currently-intractable problems that become tractable if P=NP.

      Proving that P=NP doesn't make anything tractable, unless you use the ridiculous definition where tractable is the same as polynomial time. What would have practical applications is if someone finds a very fast algorithm for solving all the NP problems. Whether P=NP is not really very much related to the question of whether such an algorithm exists. ML has exponential-time type checking, yet ML compiles don't take that long. Polynomial time is not the same as practical - it fails in both directions.

    4. Re:RSA is outdated, but... by Anonymous Coward · · Score: 0

      Wasn't that Steve Cook, not Robert Cook?

    5. Re:RSA is outdated, but... by Anonymous Coward · · Score: 1

      Mod up! This is an important point always lost in non-technical P-NP discussions.
      Even if P != NP, the distinction only matters in the limit.
      People ignore this when they claim that the security of PKC depends on P != NP.
      In the real world, we're talking about actual fixed (or bounded) key sizes, so the tractability of breaking the cipher is a completely different question.

    6. Re:RSA is outdated, but... by EvanED · · Score: 1

      Proving that P=NP doesn't make anything tractable, unless you use the ridiculous definition where tractable is the same as polynomial time.

      Yes, you make some excellent points, and I should have addressed them before. I did a little bit (e.g. a close approximation to a solution may be "practical"), but you're right that I didn't go far enough.

      More specifically, what I meant is a lot closer to the following. The OP was (while making the same mistake) considering crypto to be broken if P=NP. My hypothesis is that if crypto is broken because P=NP and then someone finds a good alogrithm, then many of the other very difficult problems will be solvable via whatever inspirational spark led to a good algorithm for factoring or whatever.

      (One way this could fail is the following: factoring I think is in a no-mans land between P and NP, not known to be in P nor known to be NP-complete. If NP collapses into P then so must factoring, but it could be that factoring is some weird-ass O(n^23) algorithm or something while every NP-complete problem can't be done in less than, say, O(n^6000).)

    7. Re:RSA is outdated, but... by Anonymous Coward · · Score: 0

      Arrr, it be Cap'n Cook ye Scallywag

    8. Re:RSA is outdated, but... by girlintraining · · Score: 2, Informative

      What exactly, does proving P = NP have to do with the price of tea in China? We knew when RSA was created that advances in computation power would eventually make it feasible for us to decrypt its contents. We even know what that boundary is.. and we're coming up on it now.

      No encryption algorithm is immune to the fact that the faster you can run an algorithm, the sooner you'll get a result. That's all encryption is. I don't need to be a math major to figure out that if I have a car that can go 200 MPH it'll get there twice as fast as a car that can only do 100 MPH.

      --
      #fuckbeta #iamslashdot #dicemustdie
    9. Re:RSA is outdated, but... by Nemyst · · Score: 1

      Proving P=NP implies that a host of processes taking non-polynomial time could take polynomial time instead. This has important implications in computer science, physics, chemistry and more, as you go from a problem considered to be effectively "impossible" (as in, impossible in a reasonable amount of time due to exponential growth) to one that is "possible". It's a very different change from incremental speedups we usually get from algorithms, because we're talking about something which has an entirely different growth function.

      Also, please keep in mind that factorization of large numbers is not NP-complete. It is very possible (and very likely) that we will find an algorithm in P to solve this without proving or disproving that P=NP.

    10. Re:RSA is outdated, but... by EvanED · · Score: 1

      Yes, it was. My bad. :-)

    11. Re:RSA is outdated, but... by EvanED · · Score: 1

      That's all encryption is. I don't need to be a math major to figure out that if I have a car that can go 200 MPH it'll get there twice as fast as a car that can only do 100 MPH.

      No, but as I pointed out in my other reply to you, you having a car that can go 200 MPH just means that I have to put your destination twice as far away.

      And without fundamental math advances that haven't yet happened (at least outside of NSA-style organizations), for quite a long time it will be completely feasible to keep moving the destination further and further away as you get a faster and faster car -- without fundamentally changing the road network (which I guess is the crypto system :-)).

    12. Re:RSA is outdated, but... by amorsen · · Score: 2

      We knew when RSA was created that advances in computation power would eventually make it feasible for us to decrypt its contents. We even know what that boundary is.. and we're coming up on it now.

      No, we did not know any such thing. Advances in computation power can be defeated by increasing the key length of RSA, indefinitely. RSA cannot be made useless just by making regular computers run faster.

      --
      Finally! A year of moderation! Ready for 2019?
    13. Re:RSA is outdated, but... by steveb3210 · · Score: 1

      Actually in some ways it would be really really exciting and almost certainly a really good thing in the long run, because there are a lot of important, currently-intractable problems that become tractable if P=NP.

      Proving that P=NP doesn't make anything tractable, unless you use the ridiculous definition where tractable is the same as polynomial time. What would have practical applications is if someone finds a very fast algorithm for solving all the NP problems. Whether P=NP is not really very much related to the question of whether such an algorithm exists. ML has exponential-time type checking, yet ML compiles don't take that long. Polynomial time is not the same as practical - it fails in both directions.

      Factoring is in NP... If P=NP, factoring is in P...

      Factoring could be in P anyways as well...

    14. Re:RSA is outdated, but... by gnasher719 · · Score: 4, Interesting

      (One way this could fail is the following: factoring I think is in a no-mans land between P and NP, not known to be in P nor known to be NP-complete. If NP collapses into P then so must factoring, but it could be that factoring is some weird-ass O(n^23) algorithm or something while every NP-complete problem can't be done in less than, say, O(n^6000).)

      Consider this: Performing 2^256 operations is physically impossible (based on the quantum mechanical minimum energy to do anything, and the total amount of energy in the universe). 100 digit numbers are about 330 bits in size. If factoring n bit numbers required n^30 operations, then factoring just one 330 bit number would be physically impossible.

    15. Re:RSA is outdated, but... by EvanED · · Score: 1

      Yes, but the AC's (excellent) point is that P != "tractable". So factorization can be in P, but still not be tractable in a meaningful sense.

    16. Re:RSA is outdated, but... by ImprovOmega · · Score: 2

      Based on my limited understanding, proving P = NP would not necessarily and automatically provide a manner of constructing reductions. It might. But there are proofs in computation theory that demonstrate limit complexities but do not provide the algorithms that might implement them, nor do they (currently, visibly) provide any indication of how that algorithm may be arrived at.

      You are technically correct, but certainly the quickest and most direct proof is to show a general solution for an NP-complete problem that runs in P time. And while proving P=NP would not necessarily provide the manner of constructing reductions in the general case, solving any NP-complete problem in P time does absolutely provide automatic solutions for *all* NP-complete problems in P time since, by definition, all NP-complete problems are reducible to each other. And factoring is an NP-complete problem.

    17. Re: RSA is outdated, but... by ceoyoyo · · Score: 5, Insightful

      You misunderstand the difference between throwing hardware at a problem and coming up with a more efficient algorithm.

      RSA doesn't specify a key length. I can use a key that's 64 bits long (used originally but insecure today) or 1 megabit long (secure against known classical algorithms for the age of the universe no matter how much hardware you throw at it). As hardware gets better I can encrypt things using longer keys, in the same amount of time. It takes you MUCH MORE time to decrypt that, even with the better hardware. So long as you keep increasing key length as hardware gets faster, the encryption actually gets BETTER with better hardware.

      The article is talking about a breakthrough in mathematics that could make solving discrete algorithms much faster. If it made it anywhere near as fast as exponentiation then it wouldn't take me much longer to decrypt your message than it took you to encrypt it, regardless of key length.

      DES is insecure because it uses fixed length keys, that became practical to brute force. RSA doesn't have that problem. The situations are entirely different, and the potential breaking of RSA is much more interesting, and much more of an accomplishment.

    18. Re:RSA is outdated, but... by EvanED · · Score: 3, Informative

      You are technically correct, but certainly the quickest and most direct proof is to show a general solution for an NP-complete problem that runs in P time

      You don't know that for certain; it is conceivable (if seemingly unlikely) that the easiest proof and the first found could be non-constructive.

      (Remember, to prove that a problem is in P you not only have to come up with a P algorithm for it but then you have to prove that the algorithm is actually in P. It could be that any algorithm for a (currently-considered) NP-complete problem is complex with a staggeringly complicated proof that it's in P at all.)

      And factoring is an NP-complete problem.

      This is a bit of a nit, but factoring isn't known to be NP-complete; from what I can tell, it's actually widely believed to be in an intermediate class between P and NP. (No P algorithm is known, as you note, but there is a sub-exponential algorithm for it, which violates a widely-held belief that NP-complete problems are necessarily exponential.)

    19. Re:RSA is outdated, but... by Sabriel · · Score: 1

      There was a story I read way back where the ridiculously-advanced AIs manipulated artificial pocket universes with computationally-friendly physics so they could solve NP problems in much-less-than-P-time from the perspective of the "real" universe. The dominant AIs were the ones with the best pocket universe designs/resources.

      Although I'd guess we're a long ways from having to worry about that. :)

    20. Re:RSA is outdated, but... by EuclideanSilence · · Score: 1

      The wonderful thing about a constructive solution to P=NP, is that you can use the solution to optimize itself. Suppose it is of polynomial order N. Just encode the statement "is there a program of length R that solves P=NP in polynomial order N-1" as a SAT, and use the N-order solution to solve it. Keep decreasing N until you can't anymore.

      Then take a specific computer model, and encode optimality conditions as a SAT. You could then use the best known solution to solve that.

      Sure, it might be more than a home PC could do, but if P=NP could be brought into the domain of polytime (and could be made distributed), then shortly after you'd have half the computer power in the world devoted to improving the solution. Absolutely no computational problem would be more important to humanity at that point. We'd eventually not just have "a solution", but we'd have "the best solution".

    21. Re:RSA is outdated, but... by EuclideanSilence · · Score: 1

      Advances in computation power alone will never break encryption. Ever. There is no boundary. An encryption can always just create larger keys.

      The article is discussing advances in mathematics. Mathematics is more powerful than any computer. Unfortunately, results are also much less predictable. Encryption could be broken with mathematics in 5 minutes, or even never.

    22. Re:RSA is outdated, but... by phantomfive · · Score: 4, Insightful

      I don't need to be a math major to figure out that if I have a car that can go 200 MPH it'll get there twice as fast as a car that can only do 100 MPH.

      You would have been better as a math major. To understand the issue, realize that a car going 200MPH needs much more power than a car going 100MPH. A car going 400MPH will need even more power. Similarly, with some algorithms, the solution becomes harder and harder the larger the dataset grows; often exponentially (or even factorially).

      --
      "First they came for the slanderers and i said nothing."
    23. Re:RSA is outdated, but... by steveb3210 · · Score: 1

      He should have said "Proving that P=NP doesn't necessarily make anything tractable"

    24. Re:RSA is outdated, but... by Anonymous Coward · · Score: 0

      "Computational power" is almost meaningless in cryptography. Paper, pencial and human brains are the enemies of ciphers. Even the Engima cipher is still secure if you simply apply brute force. Only when you realize that the Steckerbrett permutations can be reduced to almost nothing, you can brute-force the rest.

    25. Re:RSA is outdated, but... by CodeBuster · · Score: 1

      It was my understanding that polynomial time reducibility among NP complete problems had been proven, although I don't have a reference handy. However, reducibility is not the same thing as solving and just because conversion is theoretically possible doesn't mean that conversion algorithms for every pair of NP complete problems are automatically known and even if they are known, converting from one to another hasn't actually made solving either of them any easier since they both remain NP complete. You've obviously heard of the P = NP problem so you must also know that if even one NP complete problem could be solved with a polynomial time algorithm then all NP complete problems would also be solvable in polynomial time because they could first be converted to the formerly NP complete problem and then solved using the polynomial time algorithm. If such an algorithm could be demonstrated then the proof of P = NP would follow. Of course, no such algorithm has ever been demonstrated by anyone, probably because P almost certainly doesn't equal NP. Unfortunately, proving P != NP, which is almost certainly the case, is much harder because there is no provable limit to the number of problems that might ultimately be in NP so proof by exhaustion is out. That means that any proof of P != NP must rely upon pure math which has thus far proven to be non-trivial, as computer scientists are fond of saying.

    26. Re: RSA is outdated, but... by Anonymous Coward · · Score: 0

      DES is not "insecure". It has been crippled from the start by NSA, limiting key space to 56 bits. 3DES is probably still one of the best symmetric ciphers we have. Because you cannot iterate through 2^112, the keyspace of 3DES. Not even NSA can do that. All they can do is to let math geniouses work on breaking 3DES analytically (finding shortcuts that reduce 2^112 to something like 2^60 or less).

    27. Re:RSA is outdated, but... by Sique · · Score: 1
      But "finding a very fast algorithm for solving all the NP problems" means nothing else than having a proof for P=NP in the first place.

      The problem with NP is not that there are no algorithms to solve them, the problem is that the time they take to solve the problem in question increases faster than polynominal if the number increases of the elements the algorithm has to take into account. Look at the travelling salesman problem for instance. For a low number of cities the salesman has to travel, one just computes all possible ways he can take and then chooses the shortest one. This works nice for low numbers - five cities give you 120 possible routes, and finding the lowest number within 120 numbers is a piece of cake.

      But if the salesman has to travel 10 towns, it's already 3628800 possible routes, and 100 towns give you a number close to 10 to the power of 158. That's what NP means. The sheer size of the problem space increases faster than any polynome. You can't even say that for instance doubling the number of elements will increase the problem space say by 1000, as this would be still polynominal. While doubling the number from 5 to 10 towns increased the travelling salesman problem a moderate 362880 times, doubling the number of towns from 100 to 200 would increase it ~8,5 * 10^216 times! And if you manage to improve your computing power one million times and manage to speed up your algorithm another one million times, this speed up will be eaten completely by just increasing the number of towns from 200 to a mere 206. Six simple elements added, and all your progress of an one-trillion-improvement are eaten up.

      NP means that improving just the speed of the algorithm and increasing the number of operations you can perform per second will not increase the size of problems you can tackle in any meaningful way. There may be single problems where the problem space you usually have is not very large to begin with, and thus you can use a NP algorithm here. Type checking might be one of them as there are not too many types in a given ML program to begin with. But doubling the number of types you use in an ML program might work the first time, and it might even work a second time, but very soon you hit a hard limit.

      --
      .sig: Sique *sigh*
    28. Re:RSA is outdated, but... by Anonymous Coward · · Score: 0

      I think you're thinking of a Stephen Baxter story where aliens created a universe with a smaller Planck constant to allow faster and more efficient computation:

      http://kasmana.people.cofc.edu/MATHFICT/mfview.php?callnumber=mf903

    29. Re:RSA is outdated, but... by Anonymous Coward · · Score: 0

      doesn't really mean anything to physical sciences. N = NP doen't tell you how to find the P solution. nor does it tell you how long it will take you to solve it if you find it, only how it scales.
      chemists are already looking for solutions to problems. some abstract proof of how those solutions might scale isn't going to stop them looking, nor help them look. I can't see any implication at all for physical scientists if P = NP.

      a lot of baloney is written about P=NP, just as baloney used to be written about incompleteness. proving P=NP isn't going to help you write symphonies as good as Beethoven's.

    30. Re:RSA is outdated, but... by Fnord666 · · Score: 1

      Advances in computation power alone will never break encryption. Ever. There is no boundary. An encryption can always just create larger keys.

      Incorrect for the most part. First, algorithms that used fixed length keys, such as DES, can and do fall to increases in computational power. Second, even with algorithms that use a variable length key, improvements in computational power can break it. If I can capture an encrypted file today, it may be that in five years I can brute force that file open due to computational advances. There is nothing that you can do to increase the key length once I have a copy of the file. The important thing when choosing a key length is to make sure that by the time such an attack is feasible, the data protected is no longer valuable. The only exception that I can think of is a One Time Pad. No amount of computational power can help decrypt a OTP in theory. Implementation is always a different story however.

      --
      'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
    31. Re: RSA is outdated, but... by ceoyoyo · · Score: 1

      DES, the data encryption standard, is insecure because it's limited to a key of 56 bits. The technique DES is based on is (so far as we know) currently secure. Triple DES is a hack to get around the problems with using a short key.

      There are a few better-than-brute-force attacks against DES but they're all impractical for one reason or another. It's possible the NSA knows one that works.

    32. Re: RSA is outdated, but... by Full+of+shit · · Score: 0

      Finally, a post from someone who's not flown off on an irrelevant tangent. Your reward is some additional facts! The algorithmic breakthroughs, which have trickled out into the number theory community over the last few YEARS, only apply to finite fields of a restricted form, not to anything used in any widely used crypto. (F(p^n) for very small p). The real crypto community doesn't care about the current results endangering current protocols, even if they're glued to the number theory mailing lists waiting for new announcements.

      --
      The problem is not the TSA or the NSA. The problem is the USA.
    33. Re:RSA is outdated, but... by claytongulick · · Score: 1

      The mistake you're making here is failing to understand the difference between constant factor and asymptotic bounds. In computer science, algorithm analysis explicitly ignores constant factors like computer speed, compiler speed, language speed etc... because asymptotically they are irrelevant.

      For non math geeks, what I mean by asymptotic bounds is the curve of execution time as the number of inputs increases. When the number of inputs is low, the dominating concern is the constant factor, but as inputs increase this quickly becomes irrelevant.

      Consider this: let's calculate every possible permutation of a set of inputs. Starting with two inputs, [1,2] then it's easy - { [1,2], [2,1] }. Still pretty easy when we go to three inputs: { [1,2,3], [1,3,2], [2,1,3],[2,3,1],[3,2,1],[3,1,2] }, but when we go to four it starts to become more annoying, and by the time we go to 15 or 20, we're getting crazy with the possible number of combinations. That's because the number of possible permutations is defined by the factorial n! (a factorial is numbers multiplied in decreasing order, so 5! means 5 * 4 * 3 * 2 * 1).

      Therefore calculating the possible number of permutations of a few numbers is easy, but calculating the number of permutations for many numbers takes a long time. It doesn't matter how fast the computer is, I can simply add more numbers and I will quickly outstrip your ability to calculate it.

      In fact, this is going to be pretty much true of anything that runs in higher order time ( O(n ^ x) ) because as the number of inputs increases, the time required to calculate it increases exponentially. As long as x > 1, eventually, no matter how fast your computer is, the constant factor improvements gained by your computer speed will be dominated by the exponent x.

      Now, when you start talking about P and NP, things get more complex, but for simplicity's sake imagine that the class of algorithms that are P are things we can "put our finger on", or technically, those whose execution times are bounded by a polynomial. NP problems are even more complex than this, in that they can't even be bounded within polynomial time constraints. Factoring numbers is part of the NP problem space, and cryptography relies on this.

      The exciting/terrifying thing about this news is the notion that we can take a problem from the NP class and make it P, and if this is the case it has profound implications.

      --
      Drinking habits can be dangerous. You can choke on the cloth and the nuns will wonder where their clothes are.
    34. Re:RSA is outdated, but... by gweihir · · Score: 1

      Actually, while likely P! = NP, it would not rally be a problem, as long as some things remain high-polynomial on one direction and low-polynomial in the other. Poly vs. exp is just used because it is easiest and scales best. But you can do PKK with, say, n vs. n^10 just fine. Reducing complexity of a crypto algorithm to poly is an academic break and only has practical implications if it can be made low order polynomial. I expect that if it turns out that P=NP, we will either find things useful for crypto that are not in NP or find that we can have things that are high-order polynomial in one direction and low-order in the other.

      So loosing sleep over this is really just hysterics...

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    35. Re:RSA is outdated, but... by gweihir · · Score: 1

      You are right. In fact P=NP would not even imply that there are fast algorithms, once you take practical considerations into account, like a limited universe. It may also well turn out that nobody ever manages to get below, say, n^10 for NP problems. That would be perfectly fine for public-key crypto. The definition requiring exp in one direction and poly in the other is just intellectual laziness. "Scales far worse in one direction than in the other" is all that is needed. In practice, n vs n^3 already would be usable but cumbersome, unless the constants are small.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    36. Re:RSA is outdated, but... by EuclideanSilence · · Score: 1

      That's a good point, an instance of an encryption could conceivably be broken with enough computing power, but the algorithm itself cannot.

      As far as fixed length keys, I'm not familiar with DES, but with AES they also use "fixed lengths". The length isn't really fundamental to the algorithm though. It's like how Go is defined for a fixed 19x19 board size, which leads to certain strategies, but you could increase the board size without changing the computational nature of the game.

      Most of the encryption debates seem a bit ridiculous to me anyway though. A man in the middle can defeat any encryption technique, you have to assume a safe no-write channel. If an attacker can't write to a channel, usually they can't read from it either, at which point you don't need encryption anyway.

    37. Re: RSA is outdated, but... by ceoyoyo · · Score: 1

      Even the security researcher quoted by the article gives a practical breakthrough in finding discrete logarithms in the next few years a low probability. The development of quantum computers might be a more immediate threat to RSA. On the other hand, a mathematical breakthrough would likely be implementable by any kid with a computer and some time. More importantly, a breakthrough like that in number theory would likely teach us something deep. So I'm hoping it happens, but I'm not holding my breath.

    38. Re:RSA is outdated, but... by david_thornley · · Score: 1

      Except that ciphering/deciphering has to be really fast, and breaking the cipher can be really slow. As long as there are no math advances that make, say, factoring large numbers easy, difficulty in normal use will scale reasonably with key length, and difficulty to break will scale also, staying unreasonably long. If we can factor products of two very large primes as a matter of practice, the cipher is blown.

      If No Such Agency, or for that matter any large company, can break a cipher by having a thousand computers grind for a month, the cipher's useless for serious work. If it takes more than a fraction of a second on one slow computer to use normally, it's also useless for serious work.

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
  8. Key patents controlled by Blackberry by Anonymous Coward · · Score: 4, Insightful

    Hmm ... considering Blackberry/RIM's precarious hold on existence, I have a hunch those patents will be in other hands very soon.

    1. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      The question then becomes who's hands will they be in? Or better yet can we ensure they don't fall into the hands of someone who will abuse it?

    2. Re:Key patents controlled by Blackberry by Miamicanes · · Score: 1

      Elliptic key cryptography per se isn't patented, just the most efficient ways of using it. So, worst-case, we might end up with some horrific eternal kludge whose only reason for existing was to provide a commercially-safe route around patents not set to expire for another 2-3 years.

      Likely example: the horrific clusterfuck of an abomination known as "little-endian binary". I don't know for sure it came about due to patent reasons, but I can't think of any sane reason why it would have ever come into existence otherwise.

    3. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      Let's hope they're not in the hands of http://en.wikipedia.org/wiki/Intellectual_Ventures

    4. Re:Key patents controlled by Blackberry by lgw · · Score: 1

      I blame little-endian on a sort of backwards compatibility. Whether it's a pointer (index register) to an 8-bit or 16-bit value, you're pointing at the low-order byte. I've always suspected that made the first 16-bit Intel processors easier to build, in some way.

      But if little-endian is a "horrific clusterfuck of an abomination" (and I'm not saying it isn't), what do you call PDP "middle-endian" - the Antichrist? I mean seriously, sometimes there is just no excuse.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    5. Re:Key patents controlled by Blackberry by pipedwho · · Score: 3, Insightful

      Likely example: the horrific clusterfuck of an abomination known as "little-endian binary". I don't know for sure it came about due to patent reasons, but I can't think of any sane reason why it would have ever come into existence otherwise.

      From a purely machine theoretical standpoint, having the low order byte in the lowest memory location makes as much or more sense than the other way around.

      Streaming transmission is a different matter, and in some instances can benefit from being able to receive the MSB first. This is especially true if the data gets acted upon in real time and the MSB is required earlier during the calculation. However, in may other cases, LSB first network byte order can be more advantageous (or at most at least not a disadvantage). So the decision to use either is really based on the algorithms chosen for the network traffic itself.

      In creating interface code to opposite-endian systems, it's easier to think about avoiding translation and keeping both in the same format. But, I've personally never had trouble with this since I've always used reversed buffers where direct use of reversed multi-byte arithmetic was useful.

      However, it stands to reason that the designers of the first little-endian processors didn't consider this a problem, as most byte traffic needs to be buffered and checked before it can be used in calculations, and that obviates the need for having network byte order being same-endian. Since these were all designed in the early days, I see no reason to assume that the choice to go with little-endian would have been any sort of compromise to the state of the art.

    6. Re:Key patents controlled by Blackberry by pipedwho · · Score: 1

      PS. I'm not defending patents here, just pointing out that patents were unlikely to be a motivation in the choice of Intel and others to go with little-endian byte order.

    7. Re:Key patents controlled by Blackberry by amorsen · · Score: 4, Interesting

      There are plenty of sane reasons to use little endian. It means the same pointer can point to a value as 8-bits, 16-bits, 32-bits and so on, and it will get the right value as long as the value does not overflow.

      Big-endian only exists because Latin languages write their numbers wrong -- text is written left-to-right but numbers are written right-to-left. This mess has also caused the middle-endian date and time formats currently in use. ISO tries to fix the date format, but unfortunately does it by standardizing exactly the big-endian way that feels so alien to humans.

      If computers had been invented by someone writing either left-to-right or right-to-left consistently, big-endian would not have occurred to them. They would naturally write the smallest value first, just like the Arabic inventors of the numbers. Alas...

      (Yes I am a convert. I used to think little endian was a sick joke.)

      --
      Finally! A year of moderation! Ready for 2019?
    8. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      $6 billion in cash on the books. No debt. Free Cash flow positive (by $200 million or so) last quarter. An expected return to profitability in Q4.

      And you think Blackberry has a precarious hold onto existance? That is far from the truth.

    9. Re:Key patents controlled by Blackberry by Rockoon · · Score: 3, Informative

      I blame little-endian on a sort of backwards compatibility.

      Little-endian simplifies CPU circuits that perform multi-word operations. Its really that simple. End of discussion.

      --
      "His name was James Damore."
    10. Re:Key patents controlled by Blackberry by lgw · · Score: 1

      Somehow big-endian happened just as often. I'm not buying "simplifies" unless there's some legacy that you're trying to find some simple way to add to. After all, the physical order of the circuit traces related to a register need not relate to the logical order of the bytes way off in main memory.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    11. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      so alien to humans

      Bit of euro-centrisim there.

    12. Re:Key patents controlled by Blackberry by Rockoon · · Score: 1

      After all, the physical order of the circuit traces related to a register need not relate to the logical order of the bytes way off in main memory.

      Registers. Cute.

      No argument about registers matter because registers dont have the concept of endianness attached.

      --
      "His name was James Damore."
    13. Re:Key patents controlled by Blackberry by cas2000 · · Score: 4, Interesting

      Big-endian only exists because Latin languages write their numbers wrong -- text is written left-to-right but numbers are written right-to-left.

      huh? numbers are written in exactly the same order they would be expressed in words - "fifty-one thousand, three hundred and forty-eight" == 51,348

      being trained from a young age to read numbers like that, i have no idea whether it really would have been just as easy to learn to read the digits in reverse order ("8 4 3 1 5") but it doesn't seem so to me. In fact it seems competely unnatural - the kind of thing you might do just to prove you can rather than because it's any better or more efficient.

      This mess has also caused the middle-endian date and time formats currently in use.

      it's really only americans who do this (MDY). and maybe the japanese because of the "Operation Blacklist" post-WWII occupation led by Gen. MacArthur. Everyone else uses DMY or YMD because the middle-endian american date format is alien - people naturally order things from either smallest to largest (or least significant to most significant) or from largest to smallest (most to least).

      ISO tries to fix the date format, but unfortunately does it by standardizing exactly the big-endian way that feels so alien to humans.

      YYYY-MM-DD seems perfectly natural to me, not at all alien. I was raised on D-M-Y but figured out for myself that YYYYMMDD is the only format that sorts properly (and then later learnt there was as ISO standard for it).

      YYYYMMDD also has the advantage of being unambiguous - you don't have to guess whether whoever wrote the date is american and if so, whether they're using a sane or insane date format or not - for days >12, it's easy to figure out: 8-13-2013 can't be anything but 13th August....but 8-7-2013 could be July 8 (sane) or August 7 (insane).

      worse, there's absolutely no way to tell except to look for other dates on the same page (or journal/ledged/book/web site/etc) and check to see if any of them have day numbers > 12.

    14. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      ISO dates are "big endian" so that lexicographical sort == date sort

    15. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      Yeah because a company with no issues lays off R&D staff...

    16. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 1

      YYYYMMDD also has the advantage of being unambiguous - you don't have to guess whether whoever wrote the date is american and if so, whether they're using a sane or insane date format or not

      Hmm... never underestimate the human capacity for insanity; ambiguity between YYYYMMDD vs YYYYDDMM is a very real thing. See for example this.

      I used to think we live in a sane world where YYYYMMDD is unambiguous, and have been bitten by it -- not specifically by SQL Server, but by a custom-made application written by what I can only assume are insane people.

    17. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      Big-endian only exists because Latin languages write their numbers wrong -- text is written left-to-right but numbers are written right-to-left.

      huh? numbers are written in exactly the same order they would be expressed in words - "fifty-one thousand, three hundred and forty-eight" == 51,348

      being trained from a young age to read numbers like that, i have no idea whether it really would have been just as easy to learn to read the digits in reverse order ("8 4 3 1 5") but it doesn't seem so to me. In fact it seems competely unnatural - the kind of thing you might do just to prove you can rather than because it's any better or more efficient.

      Hmm... the germans read numbers in a strange way. For your example they would read fifty-one thousand, three hundred, eight and fourty. Or in German "Einundfünzigtausend-dreihundert-acht-und-vierzig".
      This is very strange and one of the reasons why german is such a hard-to-learn language.

    18. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      Yes, like.. 17 .. teen-seven.. uh

    19. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      being trained from a young age to read numbers like that, i have no idea whether it really would have been just as easy to learn to read the digits in reverse order

      Semitic language speakers (Arabic, Hebrew, etc.) do read from right to left and have no problem reading numbers in that direction too. That should be proof enough that it's only a matter of convention.

      The only problem with the way we use digits in the West is that they do not align naturally. For numbers to align you have to open artificial white spaces. It boils down to just that. And of course that's not a powerful enough reason to change.

    20. Re:Key patents controlled by Blackberry by cas2000 · · Score: 1

      yeah, well, there's always the fucked-up pathologically insane.

      but there's a difference between a few isolated instances of people or software or software companies being broken and an entire country of people using - and used to using - a broken date format. the former can be ignored. the latter are a minor annoyance (with occasionally serious consequences) all across the internet.

      YYYYMMDD has another advantage - europeans will have to change too (from DMY), so yanks aren't quite as likely to get their backs up and say stupid shit like "you can take my fucked up insane date format from my cold dead hands".

    21. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      You make a good argument of pointing out some biases of GP, but to nitpick you start out with your own bias.

      There are many languages that use little-endian ordering in speech.

    22. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      huh? numbers are written in exactly the same order they would be expressed in words - "fifty-one thousand, three hundred and forty-eight" == 51,348

      Not entirely in all languages.

      German: dreiundzwanzig = 23 (literal translation: three and twenty)
      Dutch: achtenveertig = 48 (literal translation: eight and forty)

      And what about English?
      thirteen (13), fourteen (14), sixteen (16)...? ;-)

    23. Re:Key patents controlled by Blackberry by GuB-42 · · Score: 1

      I think the reason why there are competing systems (both in computers and human languages) is that both have their advantages.
      - little endian simplifies addition (and most arithmetic as a result)
      - big endian simplifies compairson (and searching, sorting, routing, etc... as a result)

    24. Re:Key patents controlled by Blackberry by lgw · · Score: 1

      Yes, that was pretty much my point. One you have a word closer to where real work happens, whether in a "named" register or some handy purely internal spot, endianness has already stopped mattering. How you get bits from the memory bus into that register (or equivalent) is just as easy in one direction as the other, unless you're building on some legacy layout.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    25. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      No argument about registers matter because registers dont have the concept of endianness attached.

      Since CPU circuits operate on registers, would you care to explain how the storage of bits in main memory has any effect whatsoever on CPU circuits?

      Endianness is irrelevant to a CPU. Swizzling bytes when loading from memory is so trivial that if one ordering were better than the other for the CPU, it would be done automatically on load and with no significant effect on circuit complexity or performance.

    26. Re:Key patents controlled by Blackberry by hh10k · · Score: 1

      Big endian makes a lot of sense when sorting in left-to-right languages. You need to look at the most significant bits first, and then finally sort on the smallest.

      There's nothing wrong with writing numbers from most-significant to least, but English is inconsistent with how it writes everything else. Addresses are little endian, and dates are either little endian D/M/Y or the bonkers American M/D/Y.

      I'm learning Chinese, and its beautifully consistent. Numbers, dates, addresses are all written (and spoken) in largest-to-smallest order. Even peoples names are big-endian because they put the surname first. You can't get better than this for sorting data.

    27. Re:Key patents controlled by Blackberry by TangoMargarine · · Score: 1

      MDY makes me think of optional parameters. If you say "May 8th" people are going to assume you mean the current year...if you require more information, you just tack it on the end. If you use YMD, you're just expressing (sort of) redundant information up front every time.

      But yes, YMD does sort much better :)

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    28. Re:Key patents controlled by Blackberry by TangoMargarine · · Score: 1

      Plus there's the whole "wait until the very very end of the sentence until you find out what the hell is going on" problem with complicated sentences :) And that most parts of speech (subjects, verbs, adverbs, direct objects...indirect objects...prepositions.....) are conjugated for some reason.

      Counterpoint: German is awesome because umlauts.

      --
      Unity? Screw that: XFCE. Slashdot Beta? Screw that: SoylentNews. Australis? Screw that: Pale Moon. UX developers DIAF
    29. Re:Key patents controlled by Blackberry by Anonymous Coward · · Score: 0

      Sadly, I've seen YYYY-DD-MM :( People seem hell-bent on avoiding sanity when it comes to dates.

  9. Explains BBRY 7% stock jump yesterday? by JoeyRox · · Score: 2

    Article is dated 8/2 (Friday), yesterday would be the first tradable day on the information.

    1. Re:Explains BBRY 7% stock jump yesterday? by Threni · · Score: 1

      Does BBRY sell elliptic curve technologies then?

    2. Re:Explains BBRY 7% stock jump yesterday? by Anonymous Coward · · Score: 1

      They hold key patents on optimized implementations, so if this makes waves it could mean serious money for them in licensing them.

    3. Re:Explains BBRY 7% stock jump yesterday? by dlgeek · · Score: 1

      The talk was originally given on Thursday, 7/31.

    4. Re:Explains BBRY 7% stock jump yesterday? by Anonymous Coward · · Score: 0

      But the article connecting the dots from the talk to RIM appeared Friday. It's a little much to expect the mainstream market to absorb a mathematical talk directly.

  10. Cue the conspiricy theories by dunkindave · · Score: 0

    And cue the conspiracy theories that will say the NSA can break elliptic curve cryptography, so they cause fear that the discrete logarithm problem will soon be solved to get people to migrate to that which they can break. Hell, in today's world it might even be true, though I would bet on it.

  11. I wouldn't be surprised if by StripedCow · · Score: 1

    the NSA had already solved the discrete logarithm problem...

    [...] elliptic curve cryptography, something the NSA has said is best practice for years.

    ...or cracked elliptic curve cryptography.

    --
    If Pandora's box is destined to be opened, *I* want to be the one to open it.
    1. Re:I wouldn't be surprised if by Anonymous Coward · · Score: 0

      I would be surprised if they hadn't.

  12. Why not go back to original RSA? by Excelcia · · Score: 1

    Why elliptic curves when we can go back to good old fashioned original RSA that uses prime number factoring as the problem? No patent nonsense to worry about there.

    1. Re:Why not go back to original RSA? by Anonymous Coward · · Score: 2, Funny

      Why elliptic curves when we can go back to good old fashioned original RSA that uses prime number factoring as the problem? No patent nonsense to worry about there.

      We used up all the good prime numbers during the Internet boom years under Clinton.

    2. Re:Why not go back to original RSA? by slew · · Score: 5, Interesting

      Why elliptic curves when we can go back to good old fashioned original RSA that uses prime number factoring as the problem? No patent nonsense to worry about there.

      Sometimes the past needs to remain in the past...

      Although prime factoring is considered a hard problem, the sparse distribution of prime numbers (~x/ln(x)) makes RSA increasingly inefficient in that superlinearly large moduli (to match large primes) need to be used to increase security linearly.

      Lest nostalgia continue to be your guide, the original RSA was also found to be broken and needed to be patched to avoid the insecurity

      1. Messages corresponding to small input values could be simply inverted ignoring the modulus operation (just doing numerical root estimation to invert the exponentiation). The larger the modulus, the more "insecure" messages there are.

      2. Encryption is deterministic so is subject to dictionary attacks.

      When people say they are using RSA today, they are usually using RSA-OAEP (optimal asymmetric encryption padding) which patches these two specific vunerablities of RSA.

      FYI, the original RSA was patented (although later RSA labs decided to not enforce the patent and let it expire). This patent nonsense around RSA was a big issue in its day...

    3. Re:Why not go back to original RSA? by Anonymous Coward · · Score: 0

      They're the same problem. x = a^n mod p.

    4. Re: Why not go back to original RSA? by ceoyoyo · · Score: 1

      The discrete logarithm problem isn't technically the same as prime number factoring, but approaches that work on one tend to inspire approaches that work on the other. A breakthrough algorithm for one is likely to lead to a breakthrough algorithm for the other.

    5. Re:Why not go back to original RSA? by Anonymous Coward · · Score: 0

      When people say they are using RSA today, they are usually using RSA-OAEP (optimal asymmetric encryption padding) which patches these two specific vunerablities of RSA.

      Isn't that a bit unfair to RSA? Any crypto algorithm looks bad if you use it in bad ways; even AES is pretty insecure if you use it (for example) in ECB mode or with no IV. That's not considered a vulnerability of AES -- everyone just knows you can't use block ciphers this way, just like everyone knows you can't use RSA in ways not specified in PKCS#1.

    6. Re:Why not go back to original RSA? by Anonymous Coward · · Score: 0

      When people say they are using RSA today, they are usually using RSA-OAEP (optimal asymmetric encryption padding) which patches these two specific vunerablities of RSA.

      Isn't that a bit unfair to RSA? Any crypto algorithm looks bad if you use it in bad ways; even AES is pretty insecure if you use it (for example) in ECB mode or with no IV. That's not considered a vulnerability of AES -- everyone just knows you can't use block ciphers this way, just like everyone knows you can't use RSA in ways not specified in PKCS#1.

      Although you have a minor point on dictionary attacks (which is the same problem with ECB), the short message with small generator problem is really an inherent flaw in RSA-like algorithms.

      Despite the word "optimal" in the name, OEAP is really a hack around this problem for RSA and many folks don't understand the short comings of OEAP (many implementations will leak side-channel information with improperly formatted messages allowing for chosen-ciphertext attacks to defeat it rather easily). Also the "faster" implementations of modular exponentiation of RSA (e.g, Montgomery-mult), need to be carefully implemented to avoid timing attacks.

      AES on the other hand appears to be reasonably close to it's theoretical strength (at least for the 128-bit version, the 256-bit version is quite flawed, though). Of course you can implement AES poorly and have it leak side-channel information (e.g., there was an x86 cache-line timing attack on a s-box table based implementation), but the attack profile is much smaller (and now processors have native AES instructions that eliminate nearly all side-channel attacks).

    7. Re:Why not go back to original RSA? by Anonymous Coward · · Score: 0

      The density of primes is not the reason large RSA moduli are required for security. (After all, ln(x) grows very slowly, so x/ln(x) isn't that much smaller than x.) The real reason is that the best known factoring algorithm (the General Number Field Sieve) can factor composites in sub-exponential time. To obtain an RSA key with a strength of 128 bits, for instance, one chooses primes long enough so that GNFS would take about 2^128 operations to factor the product. This works out to a modulus of about 3072 bits.

  13. EC Patents by Anonymous Coward · · Score: 1

    Ed25519 by Dan Bernstein solves the patent issue and offers efficient and simple implementations.

    1. Re:EC Patents by Wickedpygmy · · Score: 1

      more commonly used is ECDSA, which is not patented.

  14. The NSA??? by Anonymous Coward · · Score: 0

    Really, we want to take the NSA's advice on which crypto to use?

    1. Re:The NSA??? by Noughmad · · Score: 1

      Is there someone you think is better qualified?

      --
      PlusFive Slashdot reader for Android. Can post comments.
    2. Re:The NSA??? by Anonymous Coward · · Score: 0

      I don't know about "better qualified" but I do know about "more trustworthy".

  15. What patents? by Hentes · · Score: 1

    You can't patent math.

    1. Re:What patents? by niado · · Score: 4, Informative

      You can't patent math.

      As TFS states, it's the implementation that is patented. Not sure which ones belong to blackberry, but google patents has a number of related patents based on a quick cursory search.

    2. Re:What patents? by Anonymous Coward · · Score: 0

      if apple can patent input gestures, someone can patent math.. o wait.. they can't.

    3. Re:What patents? by Anonymous Coward · · Score: 0

      An implementation of math is just math. From the first link. https://www.google.com/patents/WO1999030458A1?cl=en&dq=elliptic+curve+cryptography+blackberry&hl=en&sa=X&ei=pIEBUtuUOrP3yAHotYCYCg&ved=0CDQQ6AEwAA just describes a more effecient way of calculating certain terms associated with an elliptical curve. The enumerated claims are nothing more than descriptions for mathematical algorithms.

    4. Re:What patents? by cas2000 · · Score: 1

      the math you're forgetting is that if you've got $6 billion in the bank you can patent whatever the fuck you like and sue almost everyone else into bankruptcy.

    5. Re:What patents? by delt0r · · Score: 1

      It is easy to avoid these patents. Just don't do the most obvious thing when "compressing" a point on the curve. Because that is what the patents cover. There are some hardware implementation ones around. But for general computation they don't matter. And of course if your not in the US then you don't need to care about software patents anyway.

      Also IIRC they are pretty close to expired.

      --
      If information wants to be free, why does my internet connection cost so much?
    6. Re:What patents? by Anonymous Coward · · Score: 0

      Tell that to the holder of the 10 patents for the Hilbert-Huang Transform (8th paragraph).

      - T

  16. Re: Elliptical curves by Anonymous Coward · · Score: 0

    Schneier's essay refers to Dual_EC_DRBG, a pseudorandom number generator that is based (in part) on elliptic curve cryptography.

    A broken or malicious pseudorandom number generator is bad news to be sure, but even if Dual_EC_DRBG is broken or malicious that doesn't mean that elliptic curve cryptography as a whole is broken or malicious.

  17. So THAT'S why governments want all data by Anonymous Coward · · Score: 0

    In many countries encryption of past communications will be breakable before criminal statutes of limitations run out, and that's just for the crimes that aren't so serious that they have no time limit.

  18. Re: Elliptical curves by EvanED · · Score: 4, Informative

    Without a statement as to whether the NSA has been involved in elliptic curve stuff (though I will point out that they have nearly as much motivation to make things hard for, say, the USSR/China [depending on era] to crack as they do to make things easy for them to crack), did you read your link? It isn't really talking about elliptic curve crypto at all.

    It's describing a potential flaw in a random-number generator whose algorithm is based around elliptic curve crypto. Even if every worry presented by the article is true, that means absolutely nothing about whether elliptic curve is secure against the NSA.

    (Actually it almost suggests that it is, because if EC was breakable then the NSA wouldn't have as much motivation to get a known key into the RNG standard.)

  19. Does this mean discrete log is NOT NP complete? by Anonymous Coward · · Score: 0

    The old saw was that a solution to any NP complete problem is a solution to every NP complete problem. Therefore, if both discrete log & elliptic curve problems were NP complete, this research would break both of them. If, however, discrete log isn't NP complete, you can come up with a fast solution for that problem and still be OK using elliptic curves.

    1. Re:Does this mean discrete log is NOT NP complete? by JoshuaZ · · Score: 1

      Discrete log has been believed to almost certainly not be NP-complete since well before this. We have much better than exponential time algorithms for discrete log so it would contradict the exponential time hypothesis for it to be NP complete http://en.wikipedia.org/wiki/Exponential_time_hypothesis . Second, discrete log is closely related to factoring which llives in NP intersect co-NP. Since factoring lives in that intersection, if factoring is NP complete then then the polynomial hierarchy would collapse http://en.wikipedia.org/wiki/Polynomial_hierarchy which is largely believed to not be the case.

    2. Re:Does this mean discrete log is NOT NP complete? by Anonymous Coward · · Score: 0

      What about a problem such as guess the n-digit number I'm thinking of? Is there some class beyond np-complete that definitely take exponential time, such as this one that would necessarily have to be brute-forced?

    3. Re:Does this mean discrete log is NOT NP complete? by russotto · · Score: 1

      Is there some class beyond np-complete that definitely take exponential time

      Sure. The first such class is called EXPTIME-complete.

  20. EC is also based on discrete log by Anonymous Coward · · Score: 0

    I don't see how moving to Elliptic Curve crypto helps, since it's also based on the discrete log problem. Search for the term here: http://wiki.openssl.org/index.php/Elliptic_Curve_Cryptography

    1. Re:EC is also based on discrete log by JoshuaZ · · Score: 1

      They are discrete logs over different groups. Joux's work and related stuff being referred to is for (Z/nZ)*, that is the discrete log over the group of units under in the integers modulo n. That problem is of course, closely connected to prime factorization. In contrast, ECC uses the discrete log over elliptic curve groups, which are also abelian groups but as of yet do not have any similar sort of breakthrough. In fact, this isn't a new situation. Discrete log has been harder over elliptic curves than over (Z/nZ)* since the mid 1990s. It is however worth noting one potential vulnerability that both share: any form of discrete log is efficiently solveable on quantum computer. So if one is thinking in the really long-term then ECC doesn't look much better.

  21. Wasn't this the premise of the movie Sneakers? by UnknowingFool · · Score: 2

    From what I remember some mathematician had figured out a shorter way to solve the discrete problem and built a black box to do it. The main characters then stole his machine.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
    1. Re:Wasn't this the premise of the movie Sneakers? by Anonymous Coward · · Score: 0

      I thought the black box had a super-duper factoring algorithm.

  22. read the paper by Anonymous Coward · · Score: 2, Informative

    http://arxiv.org/abs/1306.4244

  23. Software patents by ratm999 · · Score: 1

    Maybe this will finally spur the abolishment of software patents.

  24. Go patents on math! by viperidaenz · · Score: 1

    Patents have now become an issue of national security.

    1. Re:Go patents on math! by amorsen · · Score: 2

      Patents have been an issue of national security for a while. Several countries, including the US, has secret patents. It takes someone wiser than me to explain how that promotes the progress of science and useful arts.

      --
      Finally! A year of moderation! Ready for 2019?
    2. Re:Go patents on math! by Anonymous Coward · · Score: 0

      Doesn't a patent being secret miss the point of patents?

    3. Re:Go patents on math! by cas2000 · · Score: 2

      Not if you believe in "intellectual property" rather than "[...] To promote the Progress of Science and useful Arts, by securing for limited Times [...]"

      This is why the "intellectual property" meme is so perniciously evil - it completely transforms the purpose and intent of copyrights and patents.

    4. Re:Go patents on math! by Cacadril · · Score: 1

      Secret patents? How are they enforced?

      --
      There is no substitute for common sense. Especially, no body of rules will do.
  25. I've been working on RSA for over ten years... by Panaflex · · Score: 3, Interesting

    I'm surprised to see other people going in the direction I've been going for about 3 years now. Really. I thought I was quite alone in my path, LOL.

    I need to read this paper still, but if it's taking the same path I did, then it's not a peachy as some think.

    I'm only am amateur, so take this from the point of view as someone who kicks back with a beer and enjoys solving impossible computational problems.

    I don't think it's that close to being broken... I think it'll take a huge computing effort (think multi-terabyte databases) to generate the tables across the PQ space required so that existing problems can be used to quickly find paths and intersections. At the beginning you're looking at only a VERY SMALL speedup from modern sieving, but once the tables get generated (years of effort) you'll eventually see faster and faster improvements. At least, that's with my algorithm, which I'm sure is far from perfect and only works on a certain set of primes right now. Which is about 20%. Which is far from optimal.

    So yeah, progress. But I'm unconvinced that this will work for all primes.

    I'm going to read the paper now... which I'm sure is far better than what I've been doing.

    --
    I said no... but I missed and it came out yes.
    1. Re:I've been working on RSA for over ten years... by Anonymous Coward · · Score: 0

      Multi-terabyte database sounds small to me. Is the hard part that each of those pieces are computationally expensive to make? Is there a need for the database to be relational?

    2. Re:I've been working on RSA for over ten years... by Panaflex · · Score: 1

      Yes, it's all computation. Once you have the databases, it's done. Unfortunately, GNFS sieve's are only applicable to a single pair of primes, so you can't reuse the data for other problems.

      http://en.wikipedia.org/wiki/General_number_field_sieve

      --
      I said no... but I missed and it came out yes.
    3. Re:I've been working on RSA for over ten years... by Panaflex · · Score: 1

      Okay, here's the slides from a talk:
      https://www.cryptolux.org/mediawiki-esc2013/images/c/cd/Joux-EM-multiuser-ESC2013.pdf

      And a paper which is related:
      http://eprint.iacr.org/2013/095.pdf

      Basically, from my first read, this is just a better sieve, a system which should find smooth numbers faster by choosing better starting points and using faster tests. I wouldn't call it a general break in RSA, and while it might certainly be a better sieve than GNFS, it's no silver bullet either. I can't imagine anyone breaking RSA numbers like this unless they're very well funded.

      --
      I said no... but I missed and it came out yes.
    4. Re:I've been working on RSA for over ten years... by Anonymous Coward · · Score: 0

      Actually, these seem to be the slides from the talk with the argument,

      https://media.blackhat.com/us-13/us-13-Stamos-The-Factoring-Dead.pdf

        The argument from the Blackhat talk is that Joux is making progress on some special cases for discrete log, and so it stands to reason that someone is going to be able to generalize his methods real soon now, and not only to general discrete log but also to factoring. Their argument consists of publication dates for advances that have taken place in the past. Apparently they believe that proving a bunch of special cases means that proving the general case is right around the corner, and that methods of attacking discrete log will probably be applicable to factoring as well. This is all quite silly.

    5. Re:I've been working on RSA for over ten years... by Panaflex · · Score: 1

      Thanks for that, I found it separately also, and read a few of the papers referenced. I tend to agree that this madness is a bit overblown. Reducing the time by 15% is really impressive overall, but when our anticipated sieving times for a typical 2k-4k keysize are measured in months and years that isn't a huge difference.

      --
      I said no... but I missed and it came out yes.
    6. Re:I've been working on RSA for over ten years... by mrspoonsi · · Score: 1

      And who thinks that NSA or GHCQ do not already have this technology? remember in WW2 the Nazis were so sure of their enigma that they thought the leak was from the Italians, faith in technology being 100% secure. It is not inconceivable that NSA / GHCQ broke RSA years ago (by some other currently unknown method), are the Snowden leaks going to reveal this rabbit soon?

    7. Re:I've been working on RSA for over ten years... by Anonymous Coward · · Score: 0

      A break in the technology would yield billions, possibly trillions, of dollars for the exploiter. How many people could pass up that kind of cash? Especially the pool of people involved in dark conspiracies. The Enigma machine could only really be used for one purpose, and the enemies who discovered it were working to save the lives of their countrymen.

    8. Re:I've been working on RSA for over ten years... by Anonymous Coward · · Score: 0

      huge computing effort (think multi-terabyte databases)

      Damn, that could cost hundreds of dollars. Who has that level of funding?

    9. Re: I've been working on RSA for over ten years... by Anonymous Coward · · Score: 0

      Haha, yeah it sounds funny - but consider the drive space as a system of math problems. The highest costs would be CPU time and the years required to run such a system.

  26. I doubt this article should be taken too seriously by mstefanro · · Score: 4, Interesting

    There does not appear to exist any single piece of evidence that DLP (discrete logarithm problem)
    will benefit from algorithms running in polynomial time. The recent work of Antoine Joux that they
    are referring to (one of which I assume to be http://arxiv.org/pdf/1306.4244v1.pdf) provides
    improvements of quasi-polynomial agorithms for breaking DLP. But there is no reason to believe
    that these improvements can lead to a polynomial-time attack. And as long as this does not happen,
    those attacks can still be defeated by increasing the key size.

  27. Don't get your knickers in a knot just yet . . . by mmell · · Score: 2
    Please remember - when new tools give cryptographers the ability to exploit weaknesses in existing cryptosystems it also gives them the ability to device cryptosystems immune to those exploits.

    (if you can get a trusted version with no 'escrow' technology built in, that is)

    As I recall, the guys who wrote PGP back in the day almost went to prison for publishing the source code - despite the fact that the RSA algorithm in use was already publicly documented (in Scientific American IIRC). "The Powers that Be" learned from that debacle and have far more reliable mechanisms for gaining access to everything you do in the clear if they want it (for example, the TCM in my new HP PC is turned on and enforcing - I can turn it off, but what other little goodies have manufacturers hidden in the firmware for me to discover?).

    Moral of the story - IPv4 is exhausted, go to IPv6. BIND4 is obsolete, go to BIND8. NFS is dated and insecure, go to NFSv4. RSA is at risk of being compromised by advances in mathematics, go to [something better]. Really - is cryptography supposed to be carved in stone? I know that worked for the Egyptians, but anything related to the technology field...

  28. Fuck Patents by magical+liopleurodon · · Score: 0

    Fuck patents on elliptical curve cryptography. Math should not be patented, period. Algorithms should not be patented.

  29. Quantum computers by Anonymous Coward · · Score: 0

    I recently toured the University of Waterloo which is right beside RIM/BlackBerry. The co-founders of RIM have sponsored the creation of new buildings on campus, one of them being the Institute for Quantum Computing. Since RIM owns some patents on elliptic curve cryptography AND basically sponsors quantum computing research, they must have a hunch that soon Quantum computers will be able to crack RSA encryption which will create a demand for patent licensing.

  30. The real math secret by slick7 · · Score: 1

    1 + 1 = 3
    This is a correct answer. Do you know why?

    --
    The mind conceives, the body achieves, the spirit manifests.
    1. Re:The real math secret by Mal-2 · · Score: 3, Funny

      1 + 1 = 3
      This is a correct answer. Do you know why?

      It was calculated in Excel?

      --
      How is the Riemann zeta function like Trump rallies? Both have an endless number of trivial zeros.
    2. Re:The real math secret by sociocapitalist · · Score: 1

      1 + 1 = 3
      This is a correct answer. Do you know why?

      It was calculated in Excel?

      Wait, no...it was copied by a Xerox?

      --
      blindly antisocialist = antisocial
    3. Re:The real math secret by Anonymous Coward · · Score: 0

      For especially large values of 1?

    4. Re:The real math secret by Anonymous Coward · · Score: 0

      1 + 1 = 3
      This is a correct answer. Do you know why?

      Sex

    5. Re:The real math secret by Anonymous Coward · · Score: 0

      Yes, on a Pentium 66!

  31. The grease weasels strike back! by TiggertheMad · · Score: 2

    More to the point, how the FUCK does one weasel a patent on crypto (which is just math, and therefore, unpatentable) through the system? I would think the USPO would just round file anything coming in that has to do with crypto on general principle...

    --

    HA! I just wasted some of your bandwidth with a frivolous sig!
  32. Diffie-Hellman encryption by fisted · · Score: 1

    wait, what?

  33. discrete logarithm ~ integer factorization by raymorris · · Score: 1

    Algorithms for either can normally be converted to do the other. If either falls, the other is likely not far behind.

    1. Re:discrete logarithm ~ integer factorization by Anonymous Coward · · Score: 0

      Integer factorization reduces to the discrete logarithm problem but not vice versa.

    2. Re:discrete logarithm ~ integer factorization by Anonymous Coward · · Score: 0

      So, to check my understanding: DSA and DH is weak to discrete logarithms, RSA is weak to integer factorization. But you can turn IF into DL. Therefore, this would break DSA and DH right away and make IF easier but not enough to break RSA now. However, easy IF would break RSA, DH and DSA.

      Is there anything that having DL be easy not end breaking?

    3. Re:discrete logarithm ~ integer factorization by delt0r · · Score: 1

      Shor's method (the quantum one) solves the discrete log problem. Solving the discrete log problem can also be used for factorization. The papers in question solve the DL problem and hence can be used for factorization as well.

      --
      If information wants to be free, why does my internet connection cost so much?
  34. cascaded signatures, hashes are weaker, not strong by raymorris · · Score: 1

    Ffunction ption, fine. For signatures and hashes, cascading WRAKENS it. An attacker only has to crack ANY of the algorithms to crack the whole. To prove that to yourself, try it with one of the algorithms defined as:

    function Weak(msg) {
    return 1;
    }

        Compare these two:

    Weak(MD5(msg))
    MD5(msg)

  35. Swype fail by raymorris · · Score: 3, Insightful

    For encryption, that's fine. For signatures and hashes, cascading WEAKENS it. An attacker only has to crack ANY of the algorithms to crack the whole. To prove that to yourself, try it with one of the algorithms defined as:

    function Weak(msg) {
    return 1;
    }

    Compare these two:

    Weak(MD5(msg))
    MD5(msg)

    1. Re:Swype fail by mlts · · Score: 1

      There are always parallel signatures:

      RSA(m1)
      ECC(m1)
      Lattice(m1)

      If all three verify, then the message (or realistically, a message hash) are good.

      As for hashes, I've wondered about using this method, where one gets multiple hashes of the message via different algorithms, then XORs all of them. In this method, the resulting hash from all three should be as strong as the strongest link, because one couldn't tell the part from one algorithm from another.

    2. Re:Swype fail by WuphonsReach · · Score: 1

      Sadly, chaining three methods doesn't make things 3x more secure (either for hashes or encryption). Read Practical Cryptograpy by Bruce Schneier for the details. At least, I think that's the book that talks about it, it's been a few years.

      --
      Wolde you bothe eate your cake, and have your cake?
    3. Re:Swype fail by Anonymous Coward · · Score: 0

      If you do it right it should make it more than 1x secure though. Unless you're saying cracking one means you crack them all.

  36. But EC is compromised by Anonymous Coward · · Score: 0

    But Eliptic Curve crypto as published by NIST has a back door installed by the NSA. Isn't it interesting that just as people are looking at encryption to keep the eyes of government out of their data, someone provides a tentative reason not to use the best there is but to move to the compromised stuff? The fact that the back door exists suggests that getting EC right may be a hard problem. Now where is that article about the EC back door?

  37. Time to get the patent lawyers out by mendax · · Score: 2

    Correct me if I'm wrong but you are not allowed to patent mathematical processes. "Elliptic curve cryptography" sure sounds like a "mathematical process" to me and a pack of especially smart and vicious patent lawyers should be able to blast RIM and Blackberry away in short order (by patent litigation standards which is aeons long). Sounds like a job for Amazon whose entire business model, the one they make money on anyway, depends upon the integrity of SSL which depends upon Diffie-Hellman and RSA for key exchange, if my flawed memory serves. Gotta blow the dust off my SSL book....

    --
    It's really quite a simple choice: Life, Death, or Los Angeles.
  38. Easy fix by Horshu · · Score: 1

    Send Robert Redford and Sidney Poitier out to steal whatever device Joux is using to help solve these algorithms, before the mafia does.

  39. a common misconception by raymorris · · Score: 3, Insightful

    That's a common misconception. The actual law is:

    You cannot patent the laws of nature, including the laws of physics and mathematics.

    A car MAKES USE of the laws of physics, but it may be patentable if it's a new invention. You cannot patent X + 1 = X - (-1) because that's mathematical truth, it existed before you noticed it. Just as you can patent a new invention that USES the laws of physics, you can patent some system that uses math. In this case, a system for securely delivering secret messages across a public network. Of course it still has to be a new and useful invention in order to be patentable.

    1. Re:a common misconception by gronofer · · Score: 1

      So presumably they have a patent on ECC on some wacky new hardware device, and you are fine if you are just running it on a general purpose computer?

    2. Re:a common misconception by Anonymous Coward · · Score: 0

      A general purpose computer configured as a system for securely delivering secret messages across a public network.

      Claim 1:
      1) X + 1 = X - (-1)

      That, my friend, is how you "patent math". There is no easy distinction between "patenting math" and an "invention". It's all in the eye of the beholder. If you couch the claim in enough legalese, it's trivial to "patent math". It happens everyday. The same problematic distinctions exist in other areas, they're just not as contested, and the results seem more intuitive for some reason. Perhaps because computer algorithms seem more abstract and work the same way whether on a blackboard or on a computer.

      I studied patent law in law school and hated it. I went to law school in Arlington, and most of the students in my class were *actual* patent examiners. (My grade sucked because of the curve.) Out of 10 patent examiners you'll get 20 different opinions on where to draw various lines. It's ridiculous. Some of the examiners admitted to me that the situation was completely ridiculous, and agreed that basic software shouldn't be patentable at all. But it is, and so they told me that were stuck approving idiotic patents every day.

    3. Re:a common misconception by Anonymous Coward · · Score: 0

      So presumably they have a patent on ECC on some wacky new hardware device, and you are fine if you are just running it on a general purpose computer?

      A patent can also cover a method (algorithm).

  40. small but definite probability RSA Broken by kye4u · · Score: 1

    “Our conclusion is there is a small but definite chance that RSA and classic Diffie-Hellman will not be usable for encryption purposes in four to five years,” said Stamos

    Laymen terms: There is a small, but non-zero probability that an asteroid will collide into the earth and destroy civilization in the next 4 or 5 years

    My thought: There is a non-zero probability of INSERT_UNLIKELY_EVENT happening in the next 4 or 5 years. Should we panic? Nah. That is called life... There are no guarantees. If we worried about unlikely events happening...we'd be in a state of paranoia, fear, and constant worry of the next catastrophe. Oh wait....wrong thread.

  41. Re: Elliptical curves by kasperd · · Score: 1

    That article gives no reason to be worried about elliptical curves. What it does give reason to be worried about is magical constants and the use of asymmetrical primitives for something that can be done with symmetrical primitives. The concern about the magical constants is why some algorithms use digits of e or pi for the constants. And since random number generators can be build using symmetrical primitives, it is suspicious when somebody choose to use asymmetrical primitives. That later decision need to be accompanied by a new formal security definition and a proof that such security definition cannot be achieved using symmetrical primities.

    The combination of asymmetrical primitives where none are needed and magical constants of unknown origin is extremely suspicious. Even if you cannot prove it to be the case, it seems very likely that those magical constants are in fact a public key, and somebody knows the corresponding secret key.

    Which asymmetrical primitive they chose for the construction is of no importance to the story though.

    --

    Do you care about the security of your wireless mouse?
  42. Does that matter for just doing key exchange? by Marrow · · Score: 1

    I thought the bulk of encryption was usually done with some streaming cipher.

    1. Re:Does that matter for just doing key exchange? by compro01 · · Score: 1

      Sure. But you still need RSA for the initial handshaking and the larger key will mean you go down under large numbers of incoming connections (e.g. /.) much sooner.

      --
      upon the advice of my lawyer, i have no sig at this time
  43. Game Theory by lasermike026 · · Score: 2

    Yes, we need to check everything. That being said, this feels like game theory. Don't you get the sense that the NSA wants us to doubt the technology. If cryptography was widely used most of what the NSA does would be made obsolete.

  44. Black Berry/RIM/Certicom Patents by FeelGood314 · · Score: 1

    I use Certicom's ECC Libraries everyday mostly for ECMQV (key agreement with user authentication) and also signatures. They charge nothing or almost nothing for the use of their patents in some industries. They do charge for their libraries and acting as a CA. For embedded devices with limited resources and bandwidth I can do things that are simply in-feasible with RSA. Certicom's math is beautiful. The curves that they chose and the neat properties they have make it possible to perform asymmetric encryption on devices with tiny amounts of RAM. I hate patents but I have no moral objection to paying Black Berry for what they provide.

  45. > Unfortunately, key patents for implementing elliptic curve cryptography are controlled by BlackBerry.

    "Who's gonna go broke now, bitches?!?!?"

    --
    (-1: Post disagrees with my already-settled worldview) is not a valid mod option.
  46. So what? by lennier1 · · Score: 1

    By its very nature, encryption is a never-ending arms race.

  47. haven't read the patents, but by raymorris · · Score: 1

    I haven't read the patents, but not necessarily. I can't patent gears Just because a system is made up of gears, doesn't mean the system as a whole isn't patentable. Similarly, just because the software includes logic operations and equations doesn't mean the system isn't a new invention and patentable.

    A new configuration of gears and levers, doing something new, is patentable.
    A new configuration of logic operations, equations and and interfaces, doing something new, is patentable.

    The question is "is it a new invention"? There's no distinction in law or in common sense between hardware and software. Either it's a new invention or not. Mathematical TRUTHS aren't new inventions just as facts about physics aren't new inventions. Someone might have DISCOVERED them, but they didn't invent them.

    On the other hand, a device with 10,000 gears may well be a new invention. So too, a device made of 10,000 lines of code may be a new invention.

    In fifteen years of programming, largely R&D, I've come up with one, maybe two completely new solutions to old problems which are significant. One replaces CAPTCHAS with something that testers have had no problem using from ten feet away. A legally blind customer uses it on his site. I believe the law is correct in considering this a new invention.

    1. Re:haven't read the patents, but by Anonymous Coward · · Score: 0

      The question is "is it a new invention"? There's no distinction in law or in common sense between hardware and software. Either it's a new invention or not. Mathematical TRUTHS aren't new inventions just as facts about physics aren't new inventions. Someone might have DISCOVERED them, but they didn't invent them.

      "The Congress shall have Power ... To promote the Progress of Science and useful Arts, by securing for limited Times to Authors and Inventors the exclusive Right to their respective Writings and Discoveries"
        - Article 1, Section 8 of the United States Constitution

    2. Re:haven't read the patents, but by Anonymous Coward · · Score: 0

      "The Congress shall have Power ..."

      Doesn't say they have to. I assume the details which discoveries are covered are in the patent law which can be changed anytime by congress.

    3. Re:haven't read the patents, but by Anonymous Coward · · Score: 0

      Can't every algorithmn be stated as mathematical truth? As in: f() = .
      Likewise the way a maschine works is just a physical fact.
      I can't see a distinction between discovery that something does the intended thing and invention.

      Conclusion:
      Screw the patent system and stick just with copyright on a concrete implementation (which has to be complex and arbitary enough that noone could get the same implementation just by chance).

    4. Re:haven't read the patents, but by Anonymous Coward · · Score: 0

      f() = .

      Should be: f(<input parameters>) = <output parameters>

    5. Re:haven't read the patents, but by Anonymous Coward · · Score: 0

      "The Congress shall have Power ... To promote the Progress of Science and useful Arts, by securing for limited Times to Authors and Inventors the exclusive Right to their respective Writings and Discoveries"
          - Article 1, Section 8 of the United States Constitution

      This power is subject, of course, to the Bill of Rights, which supersedes the earlier portions of the Constitution in all respects when applicable. Conveniently, James Madison made sure the Bill of Rights was an open ended document, recognizing that all the rights that might need to be asserted could not be enumerated, and thus it is potentially applicable to anything found in the prior document.

      Thus, for example, if a patent system exists that is riddled with ethical conflict of interest on the part of the patent office and the legal profession (i.e. like the current system), that would be an invalid system as it would violate a fundamental right.

      A right to ethical government and ethical practice of law can be reasonably asserted as rights "retained by the people" under the 9th Amendment and "reserved to the people" under the 10th Amendment, a point that has been discussed numerous times before.

      Much of the current US legal system violates this right. Reform on a massive scale is badly needed.

      Unsurprisingly, US legal professionals show little interest in doing anything about this "minor" problem. Perhaps they tell themselves a few minor ethical conflicts of interest can't really do anybody any real harm, aside from a few insignificant people that don't really count.

  48. At long last... by Anonymous Coward · · Score: 0

    the development that will finally kill Windows XP

  49. Public interest by Anonymous Coward · · Score: 0

    Very simple. Override the patent out of public interest by presidential decree. Much like Obama did on the Apple case recently, though that was out of American interest as opposed to world wide interest.

  50. Antoine Joux by vikingpower · · Score: 2

    I have been reading his papers for some time now, and the guy is definitely making progress. Recent work, however, in the field of multilinear maps seems to point into a new direction: multiparty Diffie-Hellman agreement. That would be a lot harder to break. Basically, in such a scheme, when wanting or needing to establish a classical Diffie-Hellman agreement, you'd invite a trusted third party in. Eventually, that scheme may get broken, too; yet, it may grant implementors and users another 10-to-20-year truce. As for TFA on technologyreview.com, it sounds a bit like fear-mongering, to my taste.

    --
    Religous speak to God. Insane are spoken to by God. When all shut up, one can finally hear Shostakovich in peace
  51. Bitcoin users affected? by Anonymous Coward · · Score: 0

    Bitcoin keys uses ECDSA. Is that also being claimed by RIM?

  52. Re:Don't get your knickers in a knot just yet . . by Anonymous Coward · · Score: 0

    I think it was Phil Zimmerman, who built and published PGP , whom they wanted to rectal-analyze.

    Regarding advances - it it actually not difficult to create a proper paper-based OTP and then use whatever pwned hardware/telecoms stuff you have to transmit.

    Essentially, write the numbers 1 to 1000 on 1000 pieces of paper. Mix the pieces. Pull pieces out of pot and assign 1000/26 to the each letter from a to z (Of course you can have a non-uniform distribution as an optimization, so that e would have many more numbers assigned).
    Also print out a second list from 1 to 1000. Note each numberletter assignment onto that list.

    Now you have an OTP which can encode 1000 letters. Some guy Shannon proved you cannot break this, whatever math insights and/or alien/quantum computers you have.

    Of course it is quite a bit of work, but you know what ? Only Slavery is "easy".

    The New Zealanders used OTPs until they got TypeXs from their mother country.

    Captcha: Absurd. Why ???

  53. Re: Elliptical curves by ultranova · · Score: 1

    That article gives no reason to be worried about elliptical curves. What it does give reason to be worried about is magical constants and the use of asymmetrical primitives for something that can be done with symmetrical primitives.

    No, what it shows is that the NSA is sneaky. "I don't understand why the NSA was so insistent about including Dual_EC_DRBG in the standard." Because it's a distraction. It has a visible flaw and thus draws attention away from the other methods in the standard which presumably have other, more subtle flaws.

    Altough the real lesson is to not use a weapon supplied by your enemy to fight him.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  54. elliptic curve, shelliptic curve by Anonymous Coward · · Score: 0

    Trying to break RSA is basically trying to find integer x,y co-ordinates that lie on the y = n / x curve.
    Breaking elliptic curve is nearly exactly the same problem, except instead of using y = n / x for the curve they used the equation of an ellipse.
    I've always thought elliptic curve was developed as a tricky way to get around the RSA patent issue.

  55. The real upshot is 2048 bits is not sufficient by mysidia · · Score: 1

    For keys that need to be 'safe up to 10 years away, recommend a minimum RSA key size of 16,384 bits.

    I said from the beginning... the recent move of MS to require a minimum of 2048 bits is too little too late -- we need an order of magnitude increase in RSA key lengths to keep RSA as secure as it was 10 years ago.

    Even an 'efficient' algorithm for attacking the problem is likely to have certain resource constraints.

  56. Re:Don't get your knickers in a knot just yet . . by Anonymous Coward · · Score: 0

    It may not be written in stone, but the encrypted communications are stored for eternity.

  57. ECC is broken worse than RSA by tbonefrog · · Score: 1

    This article and http://threatpost.com/crypto-gains-ramp-up-calls-to-get-ahead-of-inevitable-rsa-algorithm-downfall/101560 both imply that we need to jump to ECC and get off of RSA. Since there are direct quotes from Mr. Stamos in one of these articles, it sounds like he is the source of the confusion. Actually the recent advances weaken ECC more than RSA, and RSA is only weakened if the discrete log advances are followed by similar advances in factoring. There is no known theoretical reason for this to be guaranteed to happen, but folklore shows that it has indeed happened in the past: discrete log breakthroughs are intertwined with factoring breakthroughs, but there are only vague handwaving explanations about why this should be true.

    So the problem is that RSA may well break soon, but ECC is already to some extent broken by Joux et al. Any advice to throw out RSA in favor of ECC seems wrong to me. What you really need is a totally new potentially hard problem to base new crypto algorithms on, and you maybe only have months to come up with the idea, and then only a few years to get the idea into practice, or else it's a return to snailmail if we haven't completely dismantled it before then.

    See http://www.treefrogenterprises.com/research/funwithecc.html for more.

  58. Spoken order of numbers by Anonymous Coward · · Score: 0

    ... is variable, as any child knows.

    "Four and twenty blackbirds, baked in a pie"

    1. Re:Spoken order of numbers by cas2000 · · Score: 1

      outside of a few remnants like poems and rhymes, we don't speak or write old or middle english any more.

      in any case:

      poets have always felt free
      to play with words in ways slightly odd
      as even a young child could see
      so bugger off ya curmudgeonly old sod

  59. Re: Elliptical curves by kasperd · · Score: 1

    No, what it shows is that the NSA is sneaky.

    Keeping information about cryptographic designs secret, when it should be public, is in no way unique to NSA. Secrecy does not prove malicious intent, it does not prove incompetence, it does not prove presence of backdoors or vulnerabilities. NSA contributed to DES. The reasoning behind this contribution was kept secret. It took many years before somebody else figured out which security bug in the original design was fixed by the contribution from NSA.

    --

    Do you care about the security of your wireless mouse?
  60. So by Anonymous Coward · · Score: 0

    China has probably already cracked it. They wouldn't tell you. That's why there are loads of 0-day exploits in the wild from them.

  61. The whole thing is unsubstantiated FUD by fgrieu · · Score: 1

    The whole thing is unsubstantiated FUD. I base my judgment on the slides at
    https://media.blackhat.com/us-13/us-13-Stamos-The-Factoring-Dead.pdf

    The whole argument boils down to:
    a) there has recently been huge progress [*] in solving the Discrete Log Problem over fields of small characteristic;
    b) progress in solving the DLP have historically implied progress in factorization, and vice versa;
    c) factorization breaks RSA, and solving the DLP breaks DSA;
    d) thus RSA and DSA are dead, move to ECDSA.

    The fallacy of it is that in b) and c), the DLP is exclusively over fields of huge characteristics (thousands of bits), making the algorithms in a) powerless. The slides do not hint at the faintest research lead towards moving to huge characteristics. Best argument is that "renewed interest could result in further improvements".

    One the positive side, the author is honest: "I’m not a mathematician, I just play one on stage".

        François Grieu

    [*] See e.g. this recent paper and its references
    Razvan Barbulescu, Pierrick Gaudry, Antoine Joux, Emmanuel Thomé: A quasi-polynomial algorithm for discrete logarithm in finite fields of small characteristic
    http://hal.inria.fr/docs/00/83/54/46/PDF/quasi.pdf

  62. the future of public-key cryptology by jjq · · Score: 1

    Many people in industry are thinking that we need to be very careful in the near-future when using public-key cryptography. A catastrophic event is a possibility. See the next month workshop about catastrophic events related to cryptography and their possible solutions: CATACRYPT ( http://catacrypt.org/ ) near London. You're welcome to participate. With a committee where a lot of very important contributors. This talk at Black Hat this summer is thus very interesting. It was anticipated by a talk at CCC in Berlin in December 2011, see 28th Chaos Communication Congress (28C3), Berlin, 29 December 2011: talk by Renaud Devalière and Jean-Jacques Quisquater, in cooperation with David Samyde, The future of cryptology: which 3 letters algorithm(s) could be our Titanic? RMS Olympic, RMS Titanic, HMHS Britannic vs Discrete Logarithm, Integer factorization, Conjectured hard problems: talk is at http://www.youtube.com/watch?v=t4n7yUBtTt0 There was also a high-level workshop this year in January in Menlo Park about the end of RSA. The slides are here: http://catacrypt.org/rsa-isat-brief%20-%20Public.pdf with permission.

  63. It would be a breakthrough of Gaussian proportions by Myself · · Score: 1

    ...and allow us to acquire the solution in a dramatically more efficient manner!

      Now, I should emphasize that such an approach is purely theoretical. So far, no one has been able to accomplish such constructions, yet..

  64. depending on definitions, not all inventions are by raymorris · · Score: 1

    You could probably adjust your definition of "function" and "algorithm" to claim they are the same thing. Neither of those is a term used in the relevant law, so it's beside the point.

    The terms used in the law are "laws of nature" and "useful invention"

    Suppose I develop something using the human ability to recognize music which works much better than CAPTCHA. That might well be a new invention, depending on the details. "music is better than captcha" is NOT a mathematical fact. The laws of math make no statements on the subject of "the best way to tell a human from a computer is ...". One might very well use some math in a particular build of the invention. The invention, the new way of blocking spambots, isn't a mathematical law any more than a new design for a mouse trap is a law of physics.

  65. Alright time to buy BBRY stock by Anonymous Coward · · Score: 0

    It's under $10 right now, could go over $100!

  66. Re:depending on definitions, not all inventions ar by Anonymous Coward · · Score: 0

    The only reason your music-CAPTCHA example can't be stated as math is the lack of a good model for the human part of the processing chain.
    What I meant by describing the function of algorithmns and machines as 'mathematical truth' and 'physical fact' is, that the solution to a problem derives from the fundamental laws and I think it's wrong and development blocking to let someone possess it. Still the concrete implementations of such a solution will usually differ, so it's feasible to grant someone the copyright on their work.

  67. x50 & x07 years ago, our fathers brought forth by TiggertheMad · · Score: 1

    In fifteen years of programming, largely R&D, I've come up with one, maybe two completely new solutions to old problems which are significant. One replaces CAPTCHAS with something that testers have had no problem using from ten feet away. A legally blind customer uses it on his site. I believe the law is correct in considering this a new invention.

    Your thing might be a valid invention under USPO rules. It is an application of something, and quite likely not even directly tied to any encryption algorithm. Software patents are complete bullshit too, IMHO, since you aren't releasing source code in your patent application, and aren't really sharing you work with the world at large as intended. but that is neither here nor there since there is (quite strangely) no mention of software patents in anything laid down by the founding fathers.

    I was speaking about elliptical curve encryption, and any sort of claim that blackberry could make about it. An encryption algorithm is math, pretty much as pure as it gets. That sort of thing should not ever be patentable. Not under software patents, not as bullshit 'business process' patents, not as anything.

    --

    HA! I just wasted some of your bandwidth with a frivolous sig!
  68. I bet the NSA had this for years. by elucido · · Score: 1

    And you never knew until MIT rediscovered it.

  69. Re:I doubt this article should be taken too seriou by Anonymous Coward · · Score: 0

    That depends. If you get an O(2^(n^(1/3))) attack, then 128-bit security would require a 2MB-sized key, Considering the GNFS already does factoring in time polynomial in that, we're really not that far away.

  70. Re:endianness by Anonymous Coward · · Score: 0

    The original 4004 (Intel's first CPU) was little endian, so no, it wasn't for backwards compatibility with the 8088. According to here Intel got the idea from the Datapoint 2200, which needed it to do address calculations in its shift-register memory. (Line memory, ouch!)

    Endianness matters for bit field address calculations. One operation for little endian, vs three for big endian. These operations are done a lot more than most people realize, since it is normally handled by the compiler and library routines, so the effect is often under-estimated.

    Big endian has advantages for numerical string manipulation and real-time address mask calculations. The first is often over-estimated, since user interfaces have to handle it. The second only applies for address masking done in hardware and only if high order bits can be processed while low order bits are still on the wire. Software address calculations generally don't care about endianness, since they use whole word operations. There were also some advantages in the early days, when computers were designed entirely by hand, since big endian is easier for English speaking humans to parse.

    It is in many ways like 'signed' integers on modern hardware are actually two's compliment. Actual sign+magnitude values are only found in IEEE compatible floating point units.