Slashdot Mirror


TWIRL: Are 1024-bit RSA Keys Unsafe?

This came across the Interesting-People list today: a preliminary draft of a paper, co-authored by Adi Shamir, that proposes new hardware for factoring large numbers. It is claimed that a machine could be built which would be "3-4 orders of magnitude more cost effective than the best previously published designs," and that "the NFS sieving step for 1024-bit RSA keys can be completed in less than a year by a $10M device." For background, here's a primer on key length in symmetric and asymmetric crypto.

204 comments

  1. Good topic by shaklee · · Score: 5, Informative

    more here: link

    1. Re:Good topic by IrvineHosting · · Score: 1

      Ok, let's get this cracking on the xbox key then. Maybe we should start a slashdot slush fund to collect up the needed 10 million.

    2. Re:Good topic by bo-eric · · Score: 1

      ...the only problem being that the xbox key is 2048-bit. Extrapolating the figures given ($10K cracks 512-bit keys in 10 minutes, $10M cracks 1024-bit in a year) we could build a $10 billion device that cracked it in 100,000 years. THAT'S GREAT!

      --

      -- Free speech is only free if your time is worth nothing.
  2. password by Flamesplash · · Score: 2, Funny

    SWORDFISH

    Don't go telling anyone.

    --
    "Not knowing when the dawn will come, I open every door." - Emily Dickinson
    1. Re:password by Alsee · · Score: 0, Redundant

      Damn it! That's the combination to my suitcase!

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  3. They're safe enough by Anonymous Coward · · Score: 5, Insightful

    For most things for the near future. It's still plenty to prevent Joe Cracker from intercepting my SSL connection and decrypting it. Sure, a few large groups will have the ability to do it in a "reasonable" time, but, that's probably right anyway. If I have something that's worth $10 million and a year to crack, well, I should probably be encrypting it with a 2048 bit key.

    1. Re:They're safe enough by Kaa42 · · Score: 5, Insightful

      This does have further implications than simply breaking encyption though, concider that much of PKI relies on the same problem (the difficulty of factoring large numbers).

      I did a quick check and atleast Amazon, Ebay and Yahoo all use 1024 bit RSA certificates, by turning my machine to crack those I could impersonate any of those. I also checked the root certificate of Verisign installed in my browser and found it was also a 1024 bit RSA certificate (well 1000 bits actually). Meaning I could be printing valid certificates for anyone, looking like they came from the real deal.

      There is a lot hanging on the difficulty of factoring large numbers.

      --
      .oO Kaa Oo.
    2. Re:They're safe enough by sql*kitten · · Score: 4, Insightful

      If I have something that's worth $10 million and a year to crack, well, I should probably be encrypting it with a 2048 bit key.

      If a piece of information is worth >$10M, then whoever wants it is wasting their time trying to crack it. There are plenty of much cheaper ways. The nice clean technological solution is to bug the owner's keyboard and screen and wait for them to decrypt it themselves, then steal it afterwards. The nasty way is to hire some Mafia or ex-CIA to kidnap the owner's daughter and ransom the information. A fast cracking machine is of mere academic interest, and will remain so until you can do the longest key in common use in a matter of hours.

    3. Re:They're safe enough by Patrick13 · · Score: 1

      You could always ask Kevin Mitnick call up the director's secretary and tell her that he's from the security division and he just needs the key to confirm that they are using the right one.

      "Sure, just read it the key right off the post-it note on your monitor..."

      --
      ::.. check out some Cell Phone Reviews
    4. Re:They're safe enough by numark · · Score: 1

      Yes, but the current problem is who has the money to crack those keys on the certificates. Only governments and large corporations have millions of dollars to spend on this sort of equipment. There's very little they could get out of cracking an RSA certificate for a site. What would they do with it?

      --
      Want Slashdot headlines on your site? Try SlashHead
    5. Re:They're safe enough by God!+Awful+2 · · Score: 2, Interesting

      There's a reason why cryptographers talk about 10 and 20 year security. If you have information that is worth $1 million and will still be worth $1 million 10 years ago, it may be in danger. Lets say the adversary waits 5 years and builds one of these machines for only $2 million. Now he can crack one key per year for at least 5 years and more than recover his investment.

      -a

    6. Re:They're safe enough by vinsci · · Score: 5, Interesting

      The reason cracking machines are built is that they don't leave trails. A key keeps increasing in value when its unsuspecting owner keeps using it after it has been cracked.

      --

      Trusted Computing FAQ | Free Dawit Isaak!
    7. Re:They're safe enough by Florian+Weimer · · Score: 1

      I did a quick check and atleast Amazon, Ebay and Yahoo all use 1024 bit RSA certificates, by turning my machine to crack those I could impersonate any of those.

      Currently, it costs less than 10^6 dollars to install a new root
      certificate in the popular browsers. So it's much cheaper to attack
      the HTTPS PKI this way, in particular since you can impersonate all
      sites at once.

  4. Xbox by Bisifiniti · · Score: 1

    Wow. Looks like somebody's winning the $200k after all.

    1. Re:Xbox by damiam · · Score: 3, Insightful

      Nope - the Xbox key is 2048 bits, would take 2^1024 times longer to crack than a 1024 bir key. Besides, who would build a $10M machine to win a $200K proze?

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    2. Re:Xbox by Zeinfeld · · Score: 5, Informative
      the NFS sieving step for 1024-bit RSA keys can be completed in less than a year by a $10M device

      The NFS sieve step is only half the problem, you still have to invert a huge matrix and that requires a closely coupled machine.

      Adi has been describing machines of this type for years, he proposed twinkle a while back. The big problem is that only one half of the problem has a trivial parallelism.

      OK there is a tradeoff between the sieve stage and the matrix stage. But it is not that helpfull. Basically to halve your work at the matrix stage you have to increase your sieving at least four-fold. This does not get you too far since the sieve stage is still pretty stiff.

      Wow. Looks like somebody's winning the $200k after all

      Not likely since the XBox key is 2048 bits, as are most of the major keys in use. The competent CAs plan about 10 years in advance. There are 2048 bit roots embedded in the browsers that can be used as soon as there is a need.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    3. Re:Xbox by Anonymous Coward · · Score: 0

      Who would sell a $250+ machine for less than $200? Microsoft.

    4. Re:Xbox by Neophytus · · Score: 1

      Would YOU spend $10M on a computer that lets you win $200k?

    5. Re:Xbox by cioxx · · Score: 1

      HEY!

      Don't give Michael Robertson any ideas.

    6. Re:Xbox by akruppa · · Score: 4, Interesting

      The NFS sieve step is only half the problem, you still have to invert a huge matrix and that requires a closely coupled machine.

      The TWIRL paper describes all that. They propose using a mesh-routing algorithm for doing the matrix job, as described in the paper "Analysis of Bernstein's factorization circuit" by Lenstra, Shamir, Tomlinson and Tromer, which they estimate can be built to solve a matrix for a 1024 bit GNFS factorization for only $5000. This is a somewhat optimistic estimate, basically they have to get a 30cm custom designed silicon waver produced which will cost a bunch more than $5000 for a one-off job, but the design is still perfectly feasible.

      In the new paper they describe how the previous TWINKLE sieving hardware can be improved to be both faster and cheaper, reducing the estimated cost to do the sieving for a 1024 bit GNFS factorizaion in a year to only $10M. This is amazing.

      Alex

      --
      Heisenberg may have been here
    7. Re:Xbox by Zeinfeld · · Score: 2, Insightful
      The TWIRL paper describes all that. They propose using a mesh-routing algorithm for doing the matrix job, as described in the paper "Analysis of Bernstein's factorization circuit" by Lenstra, Shamir, Tomlinson and Tromer, which they estimate can be built to solve a matrix for a 1024 bit GNFS factorization for only $5000.

      Yeah, just got to that bit, I am suprised that that paper had not received more comment since that is the step that has been limitting.

      I still think that Adi significantly underestimates the costs. The thing that made deep crack practical was that it completed the run in a pretty short length of time (days). So the system did not require a lot of extra engineering to cope with unreliable processors etc.

      I don't think we are going to see this built for at least five years or so. Of course others might build it and not let on. And even then Deep crack was built to prove a political point, not just for the cryptographic fun of it.

      Even so, there is no particular reason to insist on continuing to use 1024 bit keys at this stage. The 2048 bit roots have been distributed for some time. Most computer systems are now sufficiently fast that the longer keys can be used without unacceptable delays.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    8. Re:Xbox by cryptor3 · · Score: 1

      I sure wouldn't. I'd put my money on hiring some goons to find and rubber-hose the XBox guys who know where to find the key. $100k would be enough for that, right?

    9. Re:Xbox by evilviper · · Score: 0, Redundant
      I honestly don't think that the common person has much to worry about if 1024 encryption is hard to crack right now.

      Leading up to the year 2000, we were hearing lots of stories where people weren't thinking far enough ahead. Saying that using a 1024-bit key is like saying 2 digits is enough for storing the year...

      In a few years, you might be unplesantly surprised by the usefulness of the information that you encrypted with a smaller key.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  5. Oh no! A year! by Lord+Bitman · · Score: 4, Funny

    A $10,000,000 machine dedicated to breaking into a single encrypted communication for a full year will be able to break it! This makes encryption completely worthless!

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
    1. Re:Oh no! A year! by DarkMan · · Score: 4, Insightful

      Unless you use a key only once, (possible, but definitly an odd way to do it), then for their $10M and a year, they get _all_ of your encrypted communications, and the ability to pretend to be you, online.

      They say disceting a joke is like disecting a frog: No one really enjoys it, and at the end you have a dead frog.

      Sorry for killing your frog.

    2. Re:Oh no! A year! by Anonymous Coward · · Score: 0

      Sure you're laughing now, $10,000,000 may sound prohibitive, but 10-15 years down the cost would be affordable. Stupid Moores Law.

    3. Re:Oh no! A year! by waytoomuchcoffee · · Score: 3, Interesting

      they get... the ability to pretend to be you, online.

      Well, those people who were too stupid not to create a revocation certificate, at least.

    4. Re:Oh no! A year! by caino59 · · Score: 1

      yea, and then instead of using 1024 bit keys, we'll be using 1Gb keys ;oP

    5. Re:Oh no! A year! by yomegaman · · Score: 4, Funny

      I'll sell anyone who wants them all of my passwords and keys for only $5 million. Just think, 50% off and no waiting!

      --
      ...wearing a skin-tight topless leather jumpsuit, with cutaway buttocks and transparent crotch panel.
    6. Re:Oh no! A year! by sql*kitten · · Score: 1

      A $10,000,000 machine dedicated to breaking into a single encrypted communication for a full year will be able to break it! This makes encryption completely worthless!

      Uhh, dude, it's not so long ago that $10M bought you about as much CPU power as you get in a $10 pocket calculator today. Fortunately, for each additional bit, it gets twice as had to crack. Eventually 8192-bit will be the standard for a while, then we'll take it from there.

    7. Re:Oh no! A year! by niftylog · · Score: 1

      The cost is not $10,000,000 and one year. It's whatever the equipment depreciates in one year and one year.

      If the hardware costs half what it does today in 18 months, one would expect to recoup about 63 cents on the dollar a year from now. So the cost under that depreciation rate is about 3.7 million dollars and one year.

      So far cracking is only a risk for high net worth individuals with plunderable assets. That doesn't mean that those with power won't do inefficient things.

      Drug lords, the rich, and those that piss off the governments of the world should upgrade.

    8. Re:Oh no! A year! by Sinical · · Score: 1

      What if you have $100 million dollars? What if you have $500 million? I think being able to quickly crack long keys is sufficiently important to certain national governments that they would spend a significant amount of money on a device that made pretty much all communications transparent.

      Going through the paper, section 4 seems to indicate that you can get a reasonably linear speed-up for more money. So figure that your $100 million could get you a 1024-bit key in a month or so: that would be usefully fast enough for a lot of investigations.

      However, I note from section 4.1 that their device is 1423mm^2, which is absolutely ferociously large, and in .13 micron silicon, a pretty new process. I think their yield would suck.

      Going over the paper makes my brain hurt, but I have to say that it seems like keys that were safe yesterday are not safe today. However, I don't know how large the sieving step (all this device performs) is in the total process of cracking a key. Time to hit up those truly enormous keys now.

    9. Re:Oh no! A year! by ssimpson · · Score: 1

      Unless you use a key only once, (possible, but definitly an odd way to do it)

      Not at all - have a search for ephemeral keys. Not applicable to RSA (usually too slow), but can be used with Elgamal very easily/quickly.

      --
      "Mary had a crypto key, she kept it in escrow, and everything that Mary said, the Feds were sure to know."
    10. Re:Oh no! A year! by Tet · · Score: 1
      Eventually 8192-bit will be the standard for a while, then we'll take it from there.

      Unlikely. Assume Moore's law accellerates significantly, and computing power quadruples every year. Furthermore, assume a couple of major technological breakthroughs increase it by two or three orders of magnitude in the next 10 years. Even with these advances, it would still take your $10M machine longer than the lifetime of the universe to crack 2048 bits using brute force with today's algorithms. So while the extremely paranoid might go to say, 2560 bits, the chances of the world in general going past 2048 bits is pretty slim. Either some new technique, be it quantum computing, or a non-exponential time factoring algorithm will make key length irrelevant, or 2048 bits will be enough effectively for ever.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    11. Re:Oh no! A year! by sql*kitten · · Score: 1

      2048 bits will be enough effectively for ever

      Hey, you grew up in Potters Bar. I'm from just up the road in Hatfield. Small world.

    12. Re:Oh no! A year! by Tet · · Score: 1
      Hey, you grew up in Potters Bar. I'm from just up the road in Hatfield. Small world.

      Don't DO that! :-) I was thinking "shit, do I know this guy, and have just forgotten it?". Then I realised you probably worked it out from my pictures page. Yes, it's a very small world. I actually grew up in Totteridge, but I went to school in Potters Bar...

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    13. Re:Oh no! A year! by Admiral+Burrito · · Score: 1
      Well, those people who were too stupid not to create a revocation certificate, at least.

      That's right. As soon as the folks who've been quietly intercepting you communications phone you up and say "Hi, we cracked your RSA key last year, and have been reading your encrypted traffic ever since! Have a nice day!", you should release your revocation certificate.

      Kind of like how in WWII Germany realized Enigma had been cracked, and promptly replaced all their Enigma machines with newer models, allowing them to continue to disrupt the Allies' atlantic supply lines and win the war.

      </sarcasm>

    14. Re:Oh no! A year! by waytoomuchcoffee · · Score: 1

      Take a look at my comment again, especially what I was responding to: "pretend to be you, online". You don't think someone would figure that out eventually?

    15. Re:Oh no! A year! by Anonymous Coward · · Score: 0

      I've driven through potters bar, if that's any good.

    16. Re:Oh no! A year! by John+Sullivan · · Score: 1
      Even with these advances, it would still take your $10M machine longer than the lifetime of the universe to crack 2048 bits using brute force with today's algorithms.

      You don't use brute force (in the sense meant against symmetric ciphers) against RSA keys - think about it: 512 bit keys have already been broken, yet enumerating 2^256 (well, closer to 2^254 unless you're *really* bored) potential factorisations would still take more time than the lifetime of the universe. (Schneier's analysis in Applied Cryptography provides a stronger bound: more energy than exists in the universe.)

      Instead you take into account the structure of the RSA key (only a fraction of the 2^2048 bit values are valid RSA keys, and they have a special form - that being the product of two prime numbers) and use an algorithm such as the Number Field Sieve to shortcut the calculation. Much of the progress in analysing RSA comes through improvements to the NSF algorithm itself, rather than simply implement it on faster hardware.

      The effect of this is that the cost of the algorithm rises much slower with the size of the key than the direct exponential of brute force methods. Given this I would expect that if the GDP of the world was spent on cracking hardware, then you could expect to find a factorisation of a 2048-bit key well before the universe reaches heat-death. Moore's Law and improvements in algorithms can only reduce the time/money cost, and are very likely to bring it within the same reach as this attack on 1024-bit keys within the next few decades.

      --
      This is my World Wide Web of Whatever
  6. This should be obvious by Dr.+Photo · · Score: 5, Insightful

    If you have sensitive information, you want to encrypt it based on what you think will be difficult to crack years from now, not just today. Otherwise, interested third parties can simply store away an intercepted transmission until it becomes technologically feasible to crack it.

    1. Re:This should be obvious by Dionysus · · Score: 3, Informative

      If you have sensitive information, you want to encrypt it based on what you think will be difficult to crack years from now, not just today.

      99% of encryption can be broken given enough time. You really only have to worry about the information in question being encrypted as long as it is considered sensitive.

      For instance, I tell my friend "Mee my at the bar tomorrow at 9 pm". I only have to make sure that the message is secure until tomorrow at 9 pm. If it takes longer to break the message, the content of the message is no longer valid.

      It's a waste of time to try to make the message more secure.

      --
      Je ne parle pas francais.
    2. Re:This should be obvious by Dr.+Photo · · Score: 3, Insightful
      Unless, of course, you don't want people knowing that you met said friend at the bar on that day at 9pm.

      But I agree with your point in general. :-)

    3. Re:This should be obvious by Anonymous Coward · · Score: 0

      Puhleeze.. what % of data needs to
      be kept secret years from now?

    4. Re:This should be obvious by peterpi · · Score: 4, Funny
      Clever technique; it took me an extra second or so to figure out that you meant 'Meet me'.

      From now on I shall encrypt my posts by mee mmoo un weedle dhodhe unbvoppe zzfp dee. ;)

    5. Re:This should be obvious by Blue+Stone · · Score: 1

      Damn you. That gave me the hiccups.

      --
      Corporation, n. An ingenious device for obtaining individual profit without individual responsibility. - Ambrose Bierce
    6. Re:This should be obvious by Anonymous Coward · · Score: 0

      But the point is that before this paper, a 1024-bit key WAS widely considered to be years away from crackable.

    7. Re:This should be obvious by Anonymous Coward · · Score: 0

      Me too. God that was funny.

  7. One Question by El+Pollo+Loco · · Score: 4, Insightful

    Who has data that needs to be so secure that their competitors spending 10 million dollars and a year of their time to do it is a problem? My only thoughts were of governemnt/military/big corps, but couldn't all of them use longer keys?

    1. Re:One Question by halftrack · · Score: 1

      Well, lets see:
      NSA, CIA, FBI + other similar intelligence agencies in the other 95% of the world. And then there's other valuable government databases, bank systems. And maybe various mafia organisations, definitly columbian drug cartels (who're said to have one of the most advanced computer networks.) And then there's Saddam Hussein, North Korea, the US government. And all those I've forgotten.

      (One might also say that the RIAA, MPAA and BSA believe they have those kind of enemies.)

      --
      Look a monkey!
    2. Re:One Question by sql*kitten · · Score: 2, Insightful

      Who has data that needs to be so secure that their competitors spending 10 million dollars and a year of their time to do it is a problem? My only thoughts were of governemnt/military/big corps, but couldn't all of them use longer keys?

      If the NSA really want what you've got, remember they've got the root password to the Constitution. Fancy spending the rest of your life in Guantanamo Bay? No? Then hand over your passphrase like a good Citizen. 2003 encryption is no match for centuries-old intimidation. I can't see that changing anytime soon.

    3. Re:One Question by Anonymous Coward · · Score: 0

      satellite TV providers do

    4. Re:One Question by Anonymous Coward · · Score: 0

      Boy Scouts of America have thoes kind of enimies. Damn, it sure must have changed since I got my eagle and left.

      Tim

  8. So? by Anonymous Coward · · Score: 1, Insightful
    It is claimed that a machine could be built which would be "3-4 orders of magnitude more cost effective than the best previously published designs."

    Even if you read "3-4" to mean 5 orders of magnitude, that means that the factoring cost is reduced by a factor of 100,000.

    In other words, a 1024-bit key will only be as safe, after this cost-reduction, as a 1007-bit key is today for the same amount of money.

    I'm not worried.
    1. Re:So? by jamie · · Score: 4, Informative
      "Even if you read "3-4" to mean 5 orders of magnitude, that means that the factoring cost is reduced by a factor of 100,000. In other words, a 1024-bit key will only be as safe, after this cost-reduction, as a 1007-bit key is today for the same amount of money."

      You didn't read the primer we linked to :)

      An increase in 3 bits in symmetric keys corresponds to an increase of about 160 bits at this size of asymmetric key. As I understand it (and this is probably an oversimplification), this is because while you can pick any symmetric key you want, your choice of asymmetric key is limited to prime numbers.

      So a change of 4 orders of magnitude in cost-effectiveness would be about the same as shaving 13 bits off a symmetric key. But if the table credited to Lenstra and Verheul is correct, that would correspond to reducing a 1028-bit asymmetric key's effectiveness to 488 bits.

      I think.

    2. Re:So? by KDan · · Score: 2, Interesting

      Unless of course he's talking about reducing the cost, rather than reducing the difficulty. And from the wording, it sounds more like the cost is being reduced by 3-4 orders of magnitude. So from $10mil to $10k-$1k is a pretty good step. Would mean that for the same price they could crack 1000-10000 more keys per unit time.

      Daniel

      --
      Carpe Diem
    3. Re:So? by acidblood · · Score: 4, Informative
      An increase in 3 bits in symmetric keys corresponds to an increase of about 160 bits at this size of asymmetric key. As I understand it (and this is probably an oversimplification), this is because while you can pick any symmetric key you want, your choice of asymmetric key is limited to prime numbers.

      Prime numbers can only account for so much -- their distribution is asymptotic to n/(ln n) by the PNT. So at this size only 1 out of ln 2^1024 = 710 numbers is prime on average. That would account for ~9.5 bits shaved on RSA around this range for each symmetric key bit shaved.

      Actually most of this can be credited to much faster algorithms for number-theoretic problems (like the subexponential NFS for factoring, being discussed on this article) whereas usually the best known method for cracking a symmetric-key algorithm is brute force, which is of course exponential.
      --

      Join the NFSNET. Our prime goal is making little numbers out of big ones. http://www.nfsnet.org/

  9. The secret formula for... by Anonymous Coward · · Score: 1, Funny

    Coca-Cola!

  10. The answer seems to be "soon, perhaps" by 1984 · · Score: 4, Insightful

    As always, the tinfoil hat crowd will point out that a machine with such capabilities may already have been constructed and be in use. The NSA, perhaps. And they might be right.

    Let's say the NSA has one. Let's say it's actually really good and 100x faster than the system proposed by Shamir and Tromer. That means it can plough through 100 1024-bit RSA keys per year. There are about 280 million people in the US (give or take). Let's say 0.3% of them encrypt using 1024-bit RSA (or below). That gives us about a million people. Let's say each one of those only has a single piece of important data. That's a million pieces of data, and you can crack a hundred of them. Be afraid?

    It might be useful if you can (big if) decide exactly what data to go after, and it happens to be RSA = 1024 bit (or anything else equally amenable to being factored using NFS). But if it's 2048-bit RSA, this thing won't have a shot -- it's not fancy knew math that "breaks" RSA, it's a faster implementation of an existing technique. And it's probably not the cue for Joe Public to get paranoid.

    1. Re:The answer seems to be "soon, perhaps" by Anonymous Coward · · Score: 0

      > Let's say the NSA has one. Let's say it's actually really good and 100x faster than the
      > system proposed by Shamir and Tromer. That means it can plough through 100 1024-bit RSA keys per year.

      You miss the point somewhat. NSA doesn't care about decrypting that recipe your grandmother gave you, they do however care about decrypting some other government's messages. Given that the total number of governments only number in the hundreds, a few of those machines could easily be monitoring most of the conversations they would be interested in tapping.

      Another point, it can be used for more malicious (or profitable) ventures by using it to break root certs keys.

    2. Re:The answer seems to be "soon, perhaps" by 1984 · · Score: 1

      That's not the point I was addressing. I was suggesting that for the average user (even the average corporate user) this shouldn't be cause for sudden panic. Many people seem concerned that the NSA *is* after Grandma's recipe for secret sauce.

      Governments may well not encrypt large chunks of hyper-sensitive data with 1024-bit RSA. Given that "the rest of us" can fairly trivially encrypt using RSA with 4096-bit or larger keys, it'd be a surprise if this were the weak point in a typical government's communications. (If it's a very poor country with miserable IT resources, I bet there's a good chance it's amenable to all sorts of other forms of intelligence gathering, too.)

    3. Re:The answer seems to be "soon, perhaps" by tlk+nnr · · Score: 1

      That's not the point I was addressing. I was suggesting that for the average user (even the average corporate user) this shouldn't be cause for sudden panic. Many people seem concerned that the NSA *is* after Grandma's recipe for secret sauce.

      Governments may well not encrypt large chunks of hyper-sensitive data with 1024-bit RSA.

      Governments probably do not encrypt sensitive data based on public key cryptography. There is a rumor that the NSA was aware of public key cryptography before RSA invented it, but that they didn't know what to do with it. Authentication is provided by the armed guard that checks your ID, not by an algorithm that depends on the assumption that factorization is hard.

      Public key algorithms are used for signing documents. According to the German signature law, 1024 bit signatures that meet some additional requirements are considered equivalent to physical signatures. (minimum recommended len for keys valid up to 2005). Thus it is important if intelligence agencies can break 1024 bit RSA keys.
    4. Re:The answer seems to be "soon, perhaps" by 1984 · · Score: 1
      Governments probably do not encrypt sensitive data based on public key cryptography. There is a rumor that the NSA was aware of public key cryptography before RSA invented it, but that they didn't know what to do with it.

      Actually there's more than a rumour that it was previously implemented at GCHQ.

      Public key algorithms are used for signing documents. According to the German signature law, 1024 bit signatures that meet some additional requirements are considered equivalent to physical signatures. (minimum recommended len for keys valid up to 2005). Thus it is important if intelligence agencies can break 1024 bit RSA keys.

      You're right: that is interesting, and it's certainly something of which I wasn't aware. Though it suggests that 2005 is probably a sensible time frame to be retiring the 1024-bit keys. Probably unlikely that $10M will become $10 and 1 year will become 10 minutes that soon.

    5. Re:The answer seems to be "soon, perhaps" by AvitarX · · Score: 1

      Doesn't matter, they can retro activly sign your name to a document 10 years from now as being signed today, that would still be binding.

      Seems to me that making it the equivalent to a physical signature is way open to perfect forgory in the future.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    6. Re:The answer seems to be "soon, perhaps" by photon317 · · Score: 1


      Well, the standard tinfoil hat answer (and not a bad one) is that we don't really know what the NSA's capabilities are. In the past they have been large leaps ahead of the public in cryptography and cryptoanalysis. If you're really worried about the NSA wanting to see your data, you have to assume that they may have new mathematical methods available to them that we are unaware of, which is a whole different ballgame than just fast brute force hardware. There's a remote possibility that the NSA already solved the factoring problem in O(3N) time or something like that. Or that they maybe didnt figure out factoring in general, but have found a flaw in the specifics of how it's used in RSA with the modulus and all. Or that they've already got quantum computing up and running well enough to insta-factor with it. These are all remote possibilities, especially considering that in the newer more open era the gap has probably closed a bit between the NSA and the public - but if someone were actually worried about NSA snooping, they have to consider such things. They are (and have been for a long time) the world's largest single employer of mathematicians after all.

      Of course in a practical sense, there's no point worrying about the technical stuff. If the NSA wants your data, you better have some better way of hiding it that cryptography. They're gonna come after you and your family with a rubber hose for it. The best bet is probably knowing some secret they don't want the public to know, and setting up a dead man switch to release that information. Then you might have a playing field on which to negotiate the privacy of your data with them.

      --
      11*43+456^2
  11. oh dear....... by Anonymous Coward · · Score: 2, Insightful

    I'm so scared, they only need $10M of hardware running for a year to be able to steal the $3,000 I have stashed at the back....

    Seriously, everybody knows that any key length can be broken given enough time/hardware power. Then the keys will get larger, the hardware will get faster, rinse, repeat....

    If someone can make a device as fast as they claim, then those people that have information/assets/whatever worth more than a $10M machine, should begin using larger keys. As simple as that. No big deal really

    1. Re:oh dear....... by irc.goatse.cx+troll · · Score: 1

      I normaly don't respond to anonymous cowards, but since the CrackheadMods(tm) modded you up, I thought I would point out that the breakthrough isnt that someone wrote up specs to crack keys in $10M, it's that they found a way to do it more efficient. Breakthroughs like this make it so the timeframe is cut drasticly. Also, your crypto is meaningless. If I wanted your $3K I'd hold a gun to your head when you're at an atm.

      We spent $10M just on the clinton/lewinksi trials, We could easily piss it away on building this machine and start hitting up other countries secure communications, or sign things as other countries and start wars.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
  12. Wait 6 months... by Anonymous Coward · · Score: 0

    And you'll be able to buy a machine that's 3 times as fast for half the price, saving both time, and the taxpayer lots of $$$. ;)

    But seriously though...what's the point of spending $10M on this thing.

    If the device is going to take a whole year to crack one key, then any self-respecting terrorist will just change keys more frequently.

    And since we know that there's more than one terrorist, the Govt would have to buy multiple machines. How many? 100, 1000? at $10M a pop?

    And that wouldn't even take into account running costs.

    And ultimately, people who really didn't want their emails read will simply change to a longer keysize, (eg 2048 bits)

    But at least I guess the hardware could be re-assigned to better uses, ie folded into TIA, where I'm sure it would make fast work of decrypting anything that the average Joe thinks is secure.

    1. Re:Wait 6 months... by Patrick13 · · Score: 1

      If the device is going to take a whole year to crack one key, then any self-respecting terrorist will just change keys more frequently.

      Don't forget though, that many times they nab the terrorists and then keep them in prison while they sift his belongings and intercepted communications for evidence connecting him to x,y, and z criminal acts.

      There are no "speedy trials" for these guys, they just barely finished up proceedings on guys suspected on the original bombing of the trade center, when they used explosives in rental trucks in the parking garages.

      --
      ::.. check out some Cell Phone Reviews
  13. Yes, but... by Elbereth · · Score: 3, Funny

    Can it factor large primes in mere seconds? I've designed a processor that can! I'm just looking for investors now...

    1. Re:Yes, but... by scott1853 · · Score: 2, Funny

      Dammit. If you can factor primes larger than 32 bit then you've completed blown my method of mov eax,edx

    2. Re:Yes, but... by NoMercy · · Score: 1

      Well, I think Intel beat you with the original Pentium :)

    3. Re:Yes, but... by SirDaShadow · · Score: 1

      Use the AMD Opteron or Athlon 64 and you can go 64 bit!!! :-)

    4. Re:Yes, but... by Anonymous Coward · · Score: 0

      Let p = large prime.

      The factors are:

      1 and p.

      My army of factoring chimpanzees will put your processor company out of business in no time.

  14. Neural nets by Anonymous Coward · · Score: 1, Interesting

    they did develop a neural net a few years back that cracked 32 bit RSA in 3 days (more bits made it exponentially slower) so honestly how much better is 1024 bit given some of the hardware available today? A year on a 10 million dollar device is a month on a 100 million dollar device and are we to believe that our government or others (Russia) dont have better devices than that?

    1. Re:Neural nets by Anonymous Coward · · Score: 0

      "they did develop a neural net a few years back that cracked 32 bit RSA in 3 days (more bits made it exponentially slower) so honestly how much better is 1024 bit given some of the hardware available today?"

      First of all IANAM (or right most of the time)but since 1024 is 32^2 that would mean it would take about 3^32 days to crack a 1024 key using the same hardware. That comes out to be about 1853020188851840 days. Yup even taking in account the current proccesor speeds of today, that's a long time.

  15. Don't be so alarmist by 0x0d0a · · Score: 1

    A $10,000,000 machine dedicated to breaking into a single encrypted communication for a full year will be able to break it! This makes encryption completely worthless!

    That should read "...for a full year *might* be able to break it", assuming he's right. Hasn't actually been done yet.

    In Soviet Russia, encryption breaks *people*.

    1. Re:Don't be so alarmist by Anonymous Coward · · Score: 0

      The method he discovered hasn't been publicized, you mean. If you have $10M US to build these, you probably aren't publicizing it.

  16. Is this really so shocking? by Neophytus · · Score: 2, Interesting

    Spend enough money and just about anything can be solved.

  17. 1024 bits - dodgy against big threat models by Anonymous Coward · · Score: 5, Informative

    1024 bit RSA composites have been considered the low end of the secure sizes, for a while now.

    As always, as hardware and techniques get better, this needs to be revised - it seems likely that a large threat model (intelligence agency or very large corporation with money to waste on pointless cryptanalysis), today, could factor a 1024-bit key within a year. However, the resources necessary to smash a 1024 bit key are so great, in comparison with the cost of key theft/keylogger attacks, you'd have to be nuts to actually factor them. If someone wants your key that badly, they'll bug your keyboard, catch the passphrase and steal it, and that attack works against any keysize.

    Planning ahead, though, 1024-bit RSA keys are unsuitable for use in new applications, and moving to 1536 or, if you can, 2048 or greater is strongly suggested.

    Elgamal et al are roughly as complex as RSA (slightly more resistant to attacks, it seems). You shouldn't be using new Elgamal keys of 1024 bits or less either.

    This does present one clear problem: the NSA's Digital Signature Algorithm (DSA - used commonly by PGP 5.x and up and GnuPG, as well as many other diverse cryptosystems) currently only specifies a 1024-bit modulus (for use with the SHA-1 160-bit hash). Larger modulus sizes would need larger standard hashes, and although these have now been developed (SHA-256, SHA-384, and SHA-512, collectively and informally known as SHA-2), the NSA have not yet blessed an extended DSA specification, making them useless to DSA for the time being (as extended sizes apparently violate the standard, and what generators to use with larger sizes?).

    So it may, with a large threat model, millions of dollars and a year, be possible to find someone's PGP signing key and forge signatures. Whether or not this will be worth it is another matter (attacking the threat model like this would not stick very well, as if they ever see a forged signature of theirs, they'll revoke their key and shout loudly about it).

    It is noteworthy, in the PGP field, that the 'new-style' RSA v4 keys, which can be used by GnuPG, PGP 6.5.8ckt08 and PGP 7.x and 8.x, allow the use of larger signature keys. No-one is going to break a 4096/4096 RSA new-style PGP key using SHA-512 as the hash anytime soon, unless someone is hiding a magic quantum computer.

    If you need keys for secure communications, and speed may be somewhat critical (SSH or SSL come to mind), go 2048 bit or 1536 bit if you're in urgent need of space. If you're using them for anything else, especially long-term keys, think about 3072 or 4096 bits (you never know what the future holds, but you can be damn sure computers will keep getting faster).

    1. Re:1024 bits - dodgy against big threat models by anthonyrcalgary · · Score: 1

      No-one is going to break a 4096/4096 RSA new-style PGP key using SHA-512 as the hash anytime soon, unless someone is hiding a magic quantum computer.

      I'd hate to be accused of joining the tinfoil hat crowd, but it's not completely outside the realm of the possible, especially if you need to plan for the future.

      --
      When someone might yell at me, it has to be OpenBSD.
    2. Re:1024 bits - dodgy against big threat models by Anonymous Coward · · Score: 0
      No-one is going to break a 4096/4096 RSA new-style PGP key using SHA-512 as the hash anytime soon

      you never know what the future holds, but you can be damn sure computers will keep getting faster

      don't speak so authoritatively about the future: nobody knows these things you assert. better to talk about the past being a guide and the risks of things happening vs the value of secrets.

    3. Re:1024 bits - dodgy against big threat models by Anonymous Coward · · Score: 0

      Now, you see, this is why I don't consult. I don't talk in terms of insurance. :)

      Not conceptually impossible, no, but very unlikely - it would have to become trivial to break such keys for anyone to attack them by cryptanalysis instead of direct methods, as I said.

      Who wants your data (or signature) so bad that they're prepared to mount a ridiculously expensive, time-consuming cryptanalytic attack (that gets the data maybe a year later?) but not prepared to date your secretary, clean your building, root your machines, break in and steal it, or kidnap your children?

      But here's the gist of my point - if you need to plan for the long-term future, all the tinfoil in the world won't save you - your crypto will, hopefully eventually, be broken one day (especially if you attract big threat models), and the best you can do is try to plan ahead for when that inevitably happens (and hope you have something to replace it with when it breaks).

      (Mind you, maybe I was dodgy on one point - SHA-512 is still fairly new, and although it looks strong to me and many others - and I'm not too bad with hashes - and so far no-one has found a weakness, hash design is a very tricky business. That's a reference, not necessarily a recommendation.)

      How far have we come? If we continue at this rate, how far will be be? What if Something Bad (or Wonderful, depending on your perspective) Happens? What's the best sensible crypto that we can use, suitable for everyday or even special use and still keeping our private communications very private for as long as is practical?

      We just kind of have to speculate, do the best we can, plan for what happens when old stuff gets compromised and make sure that the crypto isn't left standing on its own while we blithely ignore all the other, more common, attack vectors.

    4. Re:1024 bits - dodgy against big threat models by Anonymous Coward · · Score: 0

      Thanks for the criticism, you have a good point.

      Obviously these things must be viewed in context, but in my view if you have a secret that's worth so much that even 4096 bit asymmetric keys aren't enough to plan ahead for a sufficiently long time, your problem isn't the crypto not being good enough, it's the secret being too important, and you need to reevaluate things.

      But at least one of my bets is pretty safe - computers will keep getting faster. I am prepared to commit to that bet simply because of the nature of things - too much is never enough. We will always need more power, because as we get more power, we will think of crazier things to spend it on.

    5. Re:1024 bits - dodgy against big threat models by anthonyrcalgary · · Score: 1

      Who wants your data (or signature) so bad that they're prepared to mount a ridiculously expensive, time-consuming cryptanalytic attack (that gets the data maybe a year later?) but not prepared to date your secretary, clean your building, root your machines, break in and steal it, or kidnap your children?

      I think the idea, my idea anyway, is to make large scale monitoring of communications almost impossible by way of routine use of strong encryption. If I have information "they" really want, they can of course date my secretary, clean my building, root my machines, break in and steal it, or kidnap my children, but if millions of people are using strong encryption, then large scale monitoring and data mining becomes impractical. "They" are back to where they were before, since the other methods typically require actual people to be involved.

      With enough people encrypting their communications with strong encryption, even magical quantum computers would be hard pressed to monitor all communications. As I understand it, even though quantum computers might decrypt a message or find a private key with a linear-or-better time complexity, they will not have a very high number of operations per second, so a high volume of messages may be able to simply overwhelm such computers, or at the very least increase the scale of the operation to such an extent that it becomes public knowledge.

      --
      When someone might yell at me, it has to be OpenBSD.
    6. Re:1024 bits - dodgy against big threat models by maw · · Score: 1
      If you need keys for secure communications, and speed may be somewhat critical (SSH or SSL come to mind), go 2048 bit or 1536....

      Almost irrelevant. ssh and ssl only use rsa to send a symmetric key which is used to encrypt the rest of the data. In the case of ssh, that key is changed periodically; it may be the case with ssl too. Using a smaller keysize will only speed up connection initiation - useful, surely, but not critical.

      --
      You're a suburbanite.
  18. make a bigger key by jdkane · · Score: 5, Insightful
    NFS sieving step for 1024-bit RSA keys can be completed in less than a year by a $10M device

    So at this moment in time they *may* have the ability to crack a few hundred keys in one person's lifetime. (Remember, the machine is theoretical). That's a lot of money and time to crack relatively few keys, using a machine that doesn't exist. Maybe it would be worthwhile to use against AlQueda. As for the rest of us here on /., we probably don't have much to worry about. If you are worried then make a 2048-bit key for yourself. Case closed ... until a few years down the road. Then do the same again.

    Wouldn't it be nice if instead of focusing on the problem ("1024 is unsafe!"/"the government might find the password to my hotmail account!") we focused on the solution ("make a bigger key!"/"don't inherently trust technology to be the final solution").

    We can quip about 1024 being unsecure just like a few years ago we quiped about 512 being unsecure. That's why the key lengths keep going up. Any encryption is a preventative measure, not an absolute.

    So Are 1024-bit RSA Keys Unsafe.
    Right now, the answer would be No, they are not unsafe, relatively.

    1. Re:make a bigger key by sql*kitten · · Score: 2, Insightful

      Maybe it would be worthwhile to use against AlQueda.

      No, because al-Queda rely on oral communication between people who's grandparents, parents and children are friends. That's why no-one knows what they're up to, and why it's so difficult to infiltrate them. The US govt can throw almost unlimited resources at this, but there is no technological solution this time.

    2. Re:make a bigger key by anthonyrcalgary · · Score: 1

      So at this moment in time they *may* have the ability to crack a few hundred keys in one person's lifetime.

      I'd be surprised if the US gov't were spending less than a billion dollars anually on computer equipment meant exclusively for cryptanalysis. They undoubtedly have the ability to deal with many times that number of keys.

      --
      When someone might yell at me, it has to be OpenBSD.
    3. Re:make a bigger key by blochsound · · Score: 1

      2600 threw a con, xmas con in new orleans and there was a fbi agent there who came to speak. Basically what he said (this is what I have heard) is that if they see some encrypted communications, and they want to know what's in it, they can sick a couple of supercomputers on it to get that informtation.

      that makes me a little paranoid. I think the better solution would be to increase the amount of encrypted traffic as opposed to just key length, thereby making the data that much harder to sift through.

      but encryption is too hard, not enough people use it. I have a hard time getting it setup even.

      --
      ideas should be free
    4. Re:make a bigger key by irc.goatse.cx+troll · · Score: 1

      While I do agree with you (and most things you post), I think cloning breakthroughs could lead to some nice impersonation that could help. Granted, the timeframe on this wouldnt be any time soon enough to be relevant, but technology is technology.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    5. Re:make a bigger key by anthonyrcalgary · · Score: 1

      that makes me a little paranoid. I think the better solution would be to increase the amount of encrypted traffic as opposed to just key length, thereby making the data that much harder to sift through.

      If there was a mechanism to automatically create and distribute really huge single use keys, and e-mail (or whatever) clients were to be designed to take advantage of such a mechanism, it would become impractical to keep up. The keys would have to be as big as CPU and bandwidth limitations allow, not as big as we think they have to be to stay safe for X years. Some completely random traffic might be nice too.

      I wouldn't mind waiting a tenth of a second for an e-mail to be decrypted.

      We would also have to collectively take more interest in the security of our own systems, as with the above mechanism in place, it would become easier to compromise the computers themselves. Kind of an anti-TCPA.

      --
      When someone might yell at me, it has to be OpenBSD.
  19. -1 Troll by Anonymous Coward · · Score: 0

    Is this an obvious troll or what?
    The guy's even used the same style in all his recent trolls - he should've learned by now that there's a limit to the amount of mathematical BS people can tolerate before becoming suspicious.

  20. Are 1024-bit RSA Keys Unsafe? by Anonymous Coward · · Score: 5, Funny

    Of course they are. I just read an article the other day on how to file them down and make a master key out of them.

    Slashdot and their damn dupes ;)

  21. TWIRL: Are 1024-bit RSA Keys Unsafe? by Anonymous Coward · · Score: 0

    YES.

  22. If you don't understand it... by Anonymous Coward · · Score: 0

    then don't comment it.
    Noone here blames you for having no clue about modern mathematics

    1. Re:If you don't understand it... by jesco · · Score: 1

      Sorry, but the stuff is far too ridiculous to be true. I mean, such a wild mixture of modern mathematics and physics is just hilarious. Go, have a good laugh about it, and then let it rest in piece. I doubt the original poster meant this serious ;)

  23. Re:Good topic - hmmm i wonder. by loknor · · Score: 4, Interesting

    I wonder if this is complementary to the hardware-based approach discussed here?

    --

    me karma am bad
  24. Encryption is unsecure. by Anonymous Coward · · Score: 0

    All it takes is around 5(2^64) years to crack a 128 bit key, you should be very afraid.

  25. CIA's and NSA's next purchase by linuxislandsucks · · Score: 0, Offtopic

    You do realize that this is CIA's and NSA's next purchase don't you? Of course this also means that the World outside the United States will choose Linux on a faster scale than ever beofre..because they tend to link Microsoft with these trends..:)

    --
    Don't Tread on OpenSource
  26. The Race and Coca Cola by QEDog · · Score: 4, Insightful
    A lot of people here are missing the point of the paper. Cryptography is a continuous race. You assume how many years you want your info to be safe. You invest based on that. If someone proves that your assumption was wrong, your information is in danger automatically, and you lost the race. Some information can still be sensitive years after it was written, so this is a big concern.

    Imagine an evil (good?) corporation that decided to crack the encryption for a message sent with the Coca Cola recipe, and that it was only a 1024.

    --
    "There is no teacher but the enemy."-Mazer Rackham
    1. Re:The Race and Coca Cola by Sique · · Score: 1

      The true value of Coca Cola is their brand name, not their recipe. The talking about the secret recipe is just made up to support the brand. If you want to clone Coca Cola, just use a chromatograph and analyse the ingredients. But don't assume that producing something that tastes exactly like Coca Cola (which in turn tastes differently in different markets) will hurt Coca Cola too much.

      They will still claim that the recipe is secret, and you don't want to argue with them due to some competition laws ;)

      --
      .sig: Sique *sigh*
    2. Re:The Race and Coca Cola by iggymanz · · Score: 1

      you're right, getting the recipe is the easy part, building a 100 million dollar bottling facility will be a bit harder (use of $10M RSA machine to get that funding by taking $250 from 400,000 intercepted credit card numbers will likely get you noticed!).......ditto for cost of hiring teen idol to push your product!

  27. A question on intermediate key lengths by delphi125 · · Score: 1, Troll

    In the extra reference Bruce Schneier says:

    If 512-bit keys are insecure today, they were just as insecure last month. Anyone implementing RSA should have moved to 1024-bit keys years ago, and should be thinking about 2048-bit keys today...

    IANAC(ryptographer), but I have done a little Number Theory at Cambridge (the real one, Turing, GCHQ, etc). The reason for these doublings is that the FFT (Fast Fourier Transform) requires a power of 2 (actually, the 2^N complex roots of 1).

    On the other hand, a doubling in key length squares the size of the problem (at least until P=NP), so it seems odd to say that we need to move to 2048. After all, a single extra bit of key (theoretically) would compensate for Moore's Law. As the article points out, add 14 bits anyway.

    Having said all that in explanation, my question is: How much difference does it make to use (e.g.) a 1280-bit key? Is it cheaper to implement this as a 2048 FFT, or could it be beneficial to do (perhaps) 9 256x256 and 1 1Kx1K multiplications and then add up? I am talking about the speed of 'legal' crypting as opposed to cracking here, obviously.

    1. Re:A question on intermediate key lengths by Anonymous Coward · · Score: 0

      You are an idiot. RSA key sizes have nothing to do with FFT (the asymptoptics are better for FFT yes, but the constant factors overwhelm the improvement in the 10K bit range or so). Also, one can do FFTs with non-powers of 2. You are quite stupid.

    2. Re:A question on intermediate key lengths by delphi125 · · Score: 1

      I apologize for my idiocy and stupidity; this is why I was asking a question. I had a quick search (google RSA FFT) and on http://www.rsasecurity.com/rsalabs/faq/3-1-2.html I found:

      An "RSA operation," ... is performed by a series of modular multiplications. ... (lots more) ... ``Fast multiplication'' techniques, such as methods based on the Fast Fourier Transform (FFT), require asymptotically fewer steps. In practice, however, they are not as common due to their greater software complexity and the fact that they may actually be slower for typical key sizes.

      That tells me more than you did, although perhaps less than I would like to know. Why my original posting was rated up 3 interesting and then down 3 troll (?!) I fail to understand. Even less, why when we are talking the 1K-2K bit range, I am considered an idiot and quite stupid by an AC who only refers to the 10K bit 'range' who clearly could have given a sensible answer. Ah well: /.

    3. Re:A question on intermediate key lengths by Anonymous Coward · · Score: 0

      Efficiency wise, you're probably better off going with a 2048 (like the Xbox, heh) if you have storage - besides, there's a big fat margin of error there, and that's never a bad idea. Making the smallest possible fix isn't always a good idea, period.

    4. Re:A question on intermediate key lengths by Anonymous Coward · · Score: 0

      You didn't say: "I think..." or "It seems...". You said "*the* reason why ____ is ___COMPLETE SHIT___"

    5. Re:A question on intermediate key lengths by Anonymous Coward · · Score: 0

      " a doubling in key length squares the size of the problem"

      No you moron. This is RSA, not a symmetric-key algorithm

      "(at least until P=NP)"

      You're so stupid. Do you even know what P and NP mean? Please exhibit a reduction from any NP-complete problem to "exhausting an n-bit key space", fucktar

      " I am talking about the speed of 'legal' crypting as opposed to cracking here, obviously. "

      I don't know what type of "crypting" you're talking about, but you seem to be on crack.

  28. Define "Safe" by peterpi · · Score: 4, Insightful
    "TWIRL: Are 1024-bit RSA Keys Unsafe?"

    Yes. With enough computing power, any key size is unsafe.

    The real question is; are they safe enough?

    1. Re:Define "Safe" by caluml · · Score: 1

      I've got no mod points, but if I did, you'd have some.
      Succinctly put.

    2. Re:Define "Safe" by peterpi · · Score: 1
      That was a bit of a crappy post.

      What I meant to say was that the definition of safe enough is up to the individual.

  29. Re:In the future... by buswolley · · Score: 1

    with quanum compputing.. I don't believe our normal encryption will work

    --

    A Good Troll is better than a Bad Human.

  30. security is misleading by jdkane · · Score: 4, Interesting
    If anybody thinks anything is totally secured in this world, then they are deluded.

    By the time "they" get your credit card number by breaking the bytes of an SSL connection that you used to pay online with one year ago, one of these will probably have happened:

    - Robbers broke into your house when you weren't home and stole your home entertainment system (you say you have insurance on your household items; well, your bank also insures your credit card against fraud).
    - or, your car may have been stolen (oh no! while I was worrying about 1024-bit keys being unsecure my car was stolen!)
    - or, Somebody kidnapped you and held a gun to your head until you gave them your PIN #. (A gun is much cheaper than a 10M computer).
    - or, you lost your credit card and somebody bought something on it, or somebody got your number from a carbon copy slip in the garbage can
    - or, you went bankrupt so "they" can have as much access to that account as "they" want
    - etc. etc.

    I honestly don't think that the common person has much to worry about if 1024 encryption is hard to crack right now. If so, then just use a lengthier key, like 2048. Problem salve

    1. Re:security is misleading by Anonymous Coward · · Score: 0

      I'm pretty sure that if 'they' have enough cash on hand to build this $10M machine, they really don't give a flip about your PIN number.

    2. Re:security is misleading by Anonymous Coward · · Score: 0

      Heh, if all that happened to someone in a year, I'd expect them to have bigger things to worry about than 1024-bit keys.

  31. Building block by slifox · · Score: 1

    Even though $10M and a year sound a bit ridiculous, this is actually a huge discovery.

    Ok, so Mr. AvgJoe won't be able to crack your encrypted post to a linux-devel mailing list... but in a short while, someone might improve upon this technology to make it more feasable for the average-sized company to use (few thousand dollars, less than a month).

    This is just a building block!

  32. Re:In the future... by Anonymous Coward · · Score: 0
    That's a pretty ignant ass assertion.

    You don't realize that for example 2^128 is greater than the number of atoms in the universe.

    Imagine a 10 MB crypto key... Well, you can't imagine it, but something tells me it'll be hard to crack.

  33. They could build more than one machine! by SiliconEntity · · Score: 4, Insightful

    A lot of you are missing the point. $10 million isn't that much. They could build 100 such machines for a billion dollars, not an unreasonable sum for the NSA, especially if it is spread out over a few years.

    Furthermore, technology continues to improve. Moore's law will speed up the chips, and this design is probably not the last word. There could be significant improvements ahead.

    1. Re:They could build more than one machine! by akruppa · · Score: 1

      A lot of you are missing the point. $10 million isn't that much. They could build 100 such machines for a billion dollars, not an unreasonable sum for the NSA, especially if it is spread out over a few years.

      They may not even have to. They'd use their own fab which will probably give them a better deal than that.

      Alex

      --
      Heisenberg may have been here
    2. Re:They could build more than one machine! by ctr2sprt · · Score: 1
      A lot of you are missing the point. $10 million isn't that much. They could build 100 such machines for a billion dollars, not an unreasonable sum for the NSA, especially if it is spread out over a few years.
      We aren't missing the point, you are. Encryption isn't perfect. It's good enough to discourage casual snoopers, and even some serious ones. But anyone who really wants to get at that decrypted information will be able to, no matter what keysize you use. If NSA thinks my email is important to national security, why wouldn't they just send over some guy to beat the shit out of me until I told them my passwords? I doubt that sort of thing costs them $10 million. Hell, even if they decide not to do that, for the low, low price of $1 million, I will voluntarily disclose all my personal information to whoever wants it.

      It's pretty much analagous to all the various anti-theft things you can put on your car, ranging from a keyed ignition to a fuel pump cutoff. Anyone who really wants to steal your car is going to do it. The only purpose to all this anti-theft garbage is to make your car less convenient to steal than the cars next to it in the parking lot.

      The time to start worrying about this sort of thing is when those computers cost $5000 and everybody can buy one and use it for evil.

  34. $10M?! holy sh!t by buzban · · Score: 2, Insightful


    good point, but still, $10 million dollars to pretend to be me? thinking economies-of-scale here, on that $10M machine, and assuming (perhaps wrongly) similarities between me and other users...
    I estimate the owner of that machine will need to be able to pretend to be about 10,000 people like me to make that investment worthwhile.
    One has to wonder at whom a $10M encryption-breaking machine would be targeted...almost assuredly not to any old user, probably to someone with something worth having (stealing, duplicating, masquerading, etc.) And it's *these* folks, I think, that should be concerned most about their choice of technology and cypher.
    doesn't hurt to recheck your own priorities, but speaking for myself i can assure you that my identity is worth much less than the cost of this machine. ;0

    1. Re:$10M?! holy sh!t by Anonymous Coward · · Score: 0

      He could pretend to be Verisign, for example. Consider that $10M is really not a lot of money for many Moslim countries.

    2. Re:$10M?! holy sh!t by Dynedain · · Score: 1

      He could pretend to be Verisign, for example. Consider that $10M is really not a lot of money for many Moslim countries.

      $10M is really not a lot of money for many Christain countries.

      $10M is really not a lot of money for many Buhdist contries.

      $10M is really not a lot of money for many Shintoist countries.

      etc.....You're point?

      But you were right on the Verisign thing.

      --
      I'm out of my mind right now, but feel free to leave a message.....
    3. Re:$10M?! holy sh!t by buzban · · Score: 1

      Good point. no doubt you're right, and that would be a bad thing. my point, however, was that little folks might have less to fear from this type of possibility than big folks like VeriSign.

    4. Re:$10M?! holy sh!t by Dwonis · · Score: 1

      If someone can crack Verisign's CA private key, they can launch a man-in-the-middle attack on YOUR SSL server.

  35. Adi shamir and Eran Tromer by Anonymous Coward · · Score: 0

    Adi shamir and Eran Tromer are well known In the israeli academy and in the world of computer science. Keep up the good work guys!

  36. How secure is PGP if you possess the private key? by SteWhite · · Score: 5, Interesting

    A lot of talk about breaking encryption comes from the perspective of
    the private key still being private. How secure is something like PGP
    if the attacker has the private key but not the password?

    Assuming maximum PGP 6.5.8 security of 4096 bit keys, with a good
    strong passphrase (70+ chars, including non-alphanumeric), how long
    would it take to break? Any reasonably accurate figures would be
    appreciated.

  37. decoy keys by theguru · · Score: 2, Interesting

    Why not just send and store a lot of decoy payloads encrypted with decoy keys of the same strength as the legit key? It takes a year and $10M to decrypt a 1024 key? Fine. For every valid key I use, I'll pass around 5-10 random messages with throwaway keys.

    1. Re:decoy keys by Extrymas · · Score: 1

      Good idea indeed

  38. Related by Anonymous Coward · · Score: 0

    How is this related, if at all, to RSA slightly broken?

  39. DUPE by BitHive · · Score: 1

    Yeah kids, we did this here and here.

  40. Re:In the future... by Anonymous Coward · · Score: 0

    I think we've got slightly more atoms than that. And if all else fails, energy can be turned into positrons and electrons, giving us more particles to work with quantum computing.

  41. Soon, yes, soon... by Anonymous Coward · · Score: 0

    we will know Saddam's AOL password!! Ahahahahaaa

  42. Brute force by beefguts · · Score: 1, Offtopic

    Someone once calculated the amount of heats created by switching a bit on or off and then calculated how much heat would be generated by a brute force approach to cracking a 1024 bit encryption key. This worked out to be about the same amount of energy as the sun puts out in one day. I'm not claiming that is entirely accurate but it makes me wonder.

    1. Re:Brute force by miu · · Score: 2
      I'm not claiming that is entirely accurate...

      You have the driest sense of humor I've ever seen. My hat is off to you.

      --

      [Set Cain on fire and steal his lute.]
  43. Re:Yes, but... I can do it in my head. by dracocat · · Score: 1

    I can factor any prime number in my head. Its the ones that aren't prime that get me.

  44. Re:In the future... by mOdQuArK! · · Score: 1

    Actually, quantum computers can break most of the commonly-used public-key algorithms (asymmetric), but it only helps out some on the commonly-used symmetric-key protocols (if they aren't breakable by anything except for brute force). So, 256-bit encryptions using Twofish/AES/Rijndael/3DES(although 3DES probably wants more bits) are still probably safe for the universal age even with quantum computers.

  45. Re:Good topic - hmmm i wonder. by akruppa · · Score: 5, Informative

    The TWIRL paper refers to Bernstein's "Circuits for integer factoizaion" which was later partially debunked by "Analysis of Bernstein's factoring circuit" by Lenstra, Shamir, Tomlinson and Tromer, however they agreed that mesh-routing for doing the linear algebra step (solving a huge matrix) was an extremely attractive and feasible idea.

    TWIRL appears to be an improvement of the previous TWINKLE hardware, also by Shamir, which proposed using optoelectronics in the sieving step. I don't know if that was ever built.

    TWIRL is both faster and cheaper than TWINKLE, for instance as it uses a common silicon process as opposed to GaAs, and the actual sieving process is more efficient as well. I have only skimmed over the paper so I don't know about details.

    The previous papers were more or less theoretical, but this TWIRL device appears to be perfectly feasible to build today.

    Alex

    --
    Heisenberg may have been here
  46. Business plan by Anonymous Coward · · Score: 0

    (Let's just get it out of the way now...)

    1) RSA-1024 prize: $100,000
    2) Buy $10M device
    3) ????
    4) -(Profit!)
    5) Oops.

  47. Very limited market by Animats · · Score: 1

    The EFF, of course, has a hardware DES cracker. It cost about $250,000. They'd though they'd get some occasional business from companies who'd lost DES keys and needed them cracked, but that didn't seem to happen.

  48. Re:How secure is PGP if you possess the private ke by terrencefw · · Score: 1

    Not very long, since your passphrase is probably just a text sentence type string, and language has extremely low entropy. It's vulnerable to an elaborate dictionary attack.

    --
    Like tinyurl, but one letter less! http://qurl.co.uk/
  49. what happened to the... by Anonymous Coward · · Score: 0

    Imaginge a beowolf cluster of these...

  50. DJB did it first by Anonymous Coward · · Score: 0


    Dan Bernstein (author of qmail) wrote something like this a while ago.

    http://cr.yp.to/papers/nfscircuit.pdf

  51. a little background info by Anonymous Coward · · Score: 0

    Just in case some slashdot readers don't know...

    Adi Shamir is the "S" in RSA

    Ronald Rivest, Adi Shamir, and Leonard Adleman

    light reading here:
    http://home.ecn.ab.ca/~jsavard/crypto/pk050 2.htm

  52. Dumbass Comment by Anonymous Coward · · Score: 0

    All of the hype I have seen goes on about the time required to guess a 1024 bit and the number of combinations you would have to got through.

    However, I guess there IS a probability that you could hit jackpot on your first guess, or second, or tenth or 20,0000th.

    So are there folks out there actively having a go at Verisign root keys just for the hell of it ? Just imagine the publicity if they got lucky and the resulting scramble to renew certs etc..

  53. So, in cryptographic systems by TechnoInfidel · · Score: 2, Funny

    size matters.

  54. Proof that RSA was never secure in the first place by kakos · · Score: 1

    I heard about TWINKLE in a class actually. Sounds kind of bizarre. I wonder if the NSA has a giant facility with a $10B version of this thing that factors all of our primes.

    Anyways, RSA NEVER was secure. It was based on a problem which was *practically* hard. In practice, it seemed pretty hard, but there never was any mathematical proof that it was hard (i.e it is NOT NP-complete). Factoring large composites into their prime factors is hard at the moment, but it is very likely there will be a time when you can punch a function on your simple scientific calculator and easily factor billion digit composites. TWINKLE is just proof that there *ARE* fast ways to factor composites into their primes.

    What is the solution? We should have never used it to begin with. Perhaps the NSA pushed it behind the scenes because they knew a way to factor large primes would eventually come. Maybe they already have a better method than TWINKLE. Regardless, NSA isn't secure. We should have used a system based on an actual NP-complete problem, such as the decoding problem. The McEliese cryptosystem seems to be secure and it is based on a NP-complete problem, so the only way to break it is to steal the other person's key or brute force it.

  55. encryption still not the weakest point by diamond0 · · Score: 1

    You'd spend much less than $10 mil installing surveillance equipment to record my passwords (keystroke logger, camera, EM fields from my computer & monitor) or just bribe my bank/employer/friends to covertly give you the info you want. Bribe my postman to lend/give you my mail. Or steal someone's trash. etc.

    --

    --
    There is no hatred more pure and true than that expressed by children.
  56. 4 orders of magnitude is no big deal. by bgeer · · Score: 1
    let c be a constant measure of cost, m be the amount of money that NSA(or whoever) is willing to spend on a given key, and b be the number of bits that m corresponds to. "3 to 4 orders of magnitude" means at most a factor of 10000.

    thus, let m = c*2^b

    now let c' = c / 10000, i.e. the new cost

    m = c' * 10000 * 2^b

    m = c' * 2^(ln(10000)/ln(2))*2^b

    m = c' * 2^13.29 * 2^b

    m = c' * 2^(b + 13.29)

    Thus, the marginal attackable keysize that increasing your computational efficiency by 10000 has gained you is 13.29 bits. I think 1024 bit keys are a-OK. Welcome to the wonderful world of exponents.

    Babak

  57. NSA by jakobk · · Score: 2, Funny

    I bet NSA have had this for years.

  58. Re:How secure is PGP if you possess the private ke by SteWhite · · Score: 1

    That's why I said strong passphrase - a regular sentence would be too
    easily broken. I am talking about 70+ chars of apparent randomness -
    note that the issue of remembering such a passphrase without writing
    it down isn't the point of discussion here. I am interesting from the
    perspective of security of stored information.

    Say I was some nasty terrorist (which I'm not, better stress that
    one!) using PGP to secure my plans and share them with my associates
    over the Internet.

    Using 4096 bit security may be fine for transmitting over the
    Internet, but if the government come round and take your computer away
    they have your private key. If they can then break all your messages
    in five minutes because they have that key, that's a major weakness in
    the security of the system as a whole.

  59. Re:Xbox destroys brain cells by epine · · Score: 4, Insightful

    If this guy's math is correct, that moving from 1024 bit keys to 2048 bit keys increases the computational cost of breaking the key by a factor of 2^1024, then this guy must also believe--in some dark corner of his brain--that the first 1024 bits of key also requires 2^1024 operations to crack. I think this fellow needs to sit in a corner and count his way up to 2^1024 before he posts again.

    Unlike the symmetric ciphers, the public key cipher does not have a pure exponential structure. If it did, we'd be using 128 bit keys and that would be more than adequate.

    Let's just pull a sample key strength function out of some dark place. Let S represent the effective public key bit strength.

    S = 1/4 * log2(N) * sqrt(N)

    N=256 S=32
    N=512 S=50
    N=1024 S=80
    N=2048 S=124

    The new discovery modifies this relationship, but since we are all /. lamers we read the initial three words of whichever link we clicked first and immediately jump to one of serveral interpretations:

    1) S = 1/4 * log2(N) * sqrt(N) - 10
    // constant factor improved

    2) S = log2(pi) + e/4 * log2(N) * cuberoot(N)
    // root improved

    3) S = 1/4 * sqrt(N)
    // log2(N) term eliminated

    To confuse matters, it happens that (1) and (3) amount to pretty much the same thing: a rough factor of 1000 in the computational cost of cracking a key.

    orig (1) (2) (3) (4)
    N=256 32 22 36 24 -698
    N=512 50 40 51 41 -442
    N=1024 80 70 70 70 70
    N=2048 124 114 97 113 1094
    N=4096 192 182 132 180 3142
    N=8192 294 284 180 281 7238

    I didn't mention column (4). That would be the hypothesis of the post I'm responding to, where S is linear in N with an origin in the vicinity of 2^70 (a high speed computer running for one year) for N=1024.

    In a perfect world all the /. posters in category (4) would get jobs as microwave oven repair persons. Then everyone would become a lot more cautious about their dialectic coefficients.

  60. Re:How secure is PGP if you possess the private ke by AxelTorvalds · · Score: 2
    Well how do you think the pass phrase factors in to that equation? Seriously. Do the math for El Gamal or RSA, I don't see a "passphrase" component.

    They use a symmetric cipher to encrypt your private key on disk. Depending on which cipher is used, likey IDEA, AES or 3DES. You're looking at a 112, 128, 168, 192, or 256bit symmetric block cipher and the effort it takes to break that. RFC 2440 states that a hash is applied to your pass phrase to expand it or reduce it to the proper key space (your 70character phrase doesn't buy you any more than a 32character phrase,) MD5 or SHA is probably used and then a cipher which isn't specified. However MD5 and IDEA are chosen for backwards compatibility, implicitely.

    So how long does it take to decrypt an IDEA encrypted message? 64bit blocks, 128bit key space. A lot less time than it does to factor a 4096bit Blum integer.

  61. Not getting it... by Anonymous Coward · · Score: 4, Informative

    The point of this paper is NOT that 1024-bit keys are "unsafe" for some definition of "unsafe".

    This is a brilliant refinement on a brilliant idea. A few years back, Shamir published "TWINKLE", a factoring technology that used optoelectronics to great effect-- rather than using a (slow) software loop to test the smoothness of certain numbers, TWINKLE used LEDs of varying brightness to represent factors of a given number-- the brighter the combined output of the LCDs, the smoother the number.

    This is a VERY intelligent refinement on the idea; the original TWINKLE had to use GaAs wafers and (partially due to the optical part of the design) was going to be VERY difficult to manufacture. This new device uses only electronic components, but it essentially parallelizes the original TWINKLE idea.

    The implications are enormous. First of all, 512-bit keys are officially dead-- $10000 and 10 minutes may be a bit optimistic, but it's surely no more than half an hour with this device. And, yes, there ARE people and organizations still using 512-bit keys (stupid people and organizations, yes, but they exist).

    Second of all, this approach scales incredibly well. A 1024-bit number is $10 million and one year. But because of its reliance on cheap silicon parts, you can bet that the price and speed will get better in accordance with Moore's law.

    As well, because the time/cost relationship is essentially linear, it becomes easier to model threats (read Schneier's "Attack Landscapes" paper, this will give you an idea of what I'm saying).

    Plus, the paper is just plain cool. Shamir is a bright guy (he's not just the 'S' in RSA, you know-- he co-invented differential cryptanalysis with Eli Biham, and he has done some amazing work with hash functions and block cipher cryptanalysis, not to mention TWINKLE and TWIRL), and when he publishes a paper, people pay attention.

  62. Re:Proof that RSA was never secure in the first pl by Anonymous Coward · · Score: 0
    Shimura-Taniyama was proven a couple years ago. I beleive there is now proof that factoring in np-complete. I'm not certain if it has been verified or not. It still doesn't address whether or not P!=NP.

    It also hasn't been shown that El Gamal or RSA is as difficult as factoring. There may be other ways to break it. If it is as difficult as factoring then you need a quantum computer to break it.

  63. I thought RSA was always unsafe by AssFace · · Score: 1

    From what I have heard from people that know much on it, and from what I've read - I thought the general point of RSA was *relative* ease and speed - but the general method was always going to be "unsafe" - it is just a matter of how long it is "safe" for.

    The longer the key, the longer the data stays safe for - but as computers increase in speed and decrease in cost, it will become increasingly easier to break longer keys, and therefore reducing the time that something stays "safe".

    there are things that you only don't want seen or known for a few minutes, there are things you don't want seen or known for hours... days - months - those are all judgement calls.
    But eventually you have things that you always want safe... and it seems that the general concensus (sp?) for those things is not to use RSA.

    a year to crack a 1024 key is still pretty damn good - it just depends what you are trying to keep people out of. as long as it is data that is only useful for a few months - then this news isn't horrific just yet.

    --

    There are some odd things afoot now, in the Villa Straylight.
  64. URL for updates by Insount · · Score: 5, Informative
    I'm a co-author of the paper.

    The version currently circulating is indeed a draft. The final version, when available, will be placed at my homepage, and specifically here.

    -- Eran Tromer

  65. Hrm. by DarthWiggle · · Score: 1

    Do you ever have one of those moments where you realize how few people in the world would understand a sentence you just read? Then you stop and ask yourself if you just understood the sentence you just read? I mean, "1024-bit RSA Keys..." That's pretty easy to comprehend, right?

    But if I were to look my dear 67-year-old father straight in the eyes and ask him, "Dad, are 1024-bit RSA keys unsafe?" first he'd stare at me blankly, then he'd start to drool, and finally he'd drool again. And he's a very smart man.

    Sorry, waaaaaaaaaaaaaaaay offtopic, but I just had one of those "knowing more and more about less and less" moments. Go on about your business.

    Love, Me.

  66. Re:Proof that RSA was never secure in the first pl by ssimpson · · Score: 1

    "TWINKLE is just proof that there *ARE* fast ways to factor composites into their primes."

    TWINKLE is no such proof. TWINKLE was estimated to be able to crack 512-bit, maybe 768-bit keys but even Adi said it wouldn't scale to 1,204-bit keys....I can break 5 bit RSA keys in my head, that doesn't make RSA insecure, it just means that parameters need careful selection.

    "The McEliese cryptosystem seems to be secure and it is based on a NP-complete problem"

    I assume you mean McEliece? Your confusing NP-completeness with strength - look at the number of PK ciphers built upon NP-Complete problems (e.g. the knapsack ciphers etc) and you'll soon see that NP-Complete doesn't secure automatically imply secure

    People need to, still, chose their algorithms and parameters carefully. Use DH or Elgamal with 2,048-bit keys for strategic data.

    --
    "Mary had a crypto key, she kept it in escrow, and everything that Mary said, the Feds were sure to know."
  67. Gimme A Break! by _Neurotic · · Score: 0

    Are 1024-bit RSA Keys Unsafe?

    1024-bit RSA keys can be completed in less than a year by a $10M device.

    Ooh, I'm shaking in my boots now... C'mon folks get a grip. Who gives a rat's fart if a 1024-bit key can be compromised with a $10 million dollar device?

    Run for the hills Velma! The govmn't will be able to read our bank statements, after they dedicate a $10 million dollar device to cracking our RSA key for a year!

    Can you say paranoid?

    1. Re:Gimme A Break! by Anonymous Coward · · Score: 0

      Yeah, yeah. Can you say "I don't get it?" You should.

      No one's gonna use TWIRL to see your bank statement. What they might do is crack Verisigns CA-cert. and go fake some certificates for the major banks. Then they will transfer a thousand bucks from your account, and from yours and from yours and so on... Easy. Then on the other hand it might be easier to just find a nice bug in some well known and exploit that...

  68. Re:Proof that RSA was never secure in the first pl by Anonymous Coward · · Score: 0

    What the fuck? Are you on crack? Shimura-Taniyama-Weil is true, yes, but WTF does that have to do with factoring and NP-completeness? Do you even know the statement of Shimura-Taniyama-Weil? Stupid Slashbots will probably still mod you up, idiot.

  69. So? I've written software for that! by Dthoma · · Score: 1

    #!/bin/bash echo "What prime number do you need factorised?" read prime echo echo "The factors of $prime are 1 and $prime."

    See? You don't even have to use a new processor!

    --

    Note to M1-ers: a curt but otherwise insightful message is not "Flamebait" or "Troll".

  70. Quantum Computing and the Multiple Universes by diggitzz · · Score: 3, Informative

    As pointed out in David Deutsche's The Fabric of Reality , no encryption based on large primes is ever indefinitely secure.

    While the factorization of large prime numbers is currently an intractable task, quantum computing is very likely to make it as tractable as multiplication.

    For instance, Shor's Algorithm, first discovered in 1994, has already been implemented to factor the number 15 -- to 3 and 5 with 80% accuracy. (If anyone knows what it got the other 20% of the time, I'm interested!)

    Now certainly 15 isn't comparable to a 1024-bit RSA key, but it's only a start for quantum computers. Using entanglement and interference, one can have very large primes factored in a matter of minutes! All we have left to do is actually build a device that does it ... and currently decoherence is the largest obstacle to overcome.

    So, if you really want information to be secure, and remain secure indefinitely, a better method of encryption which does not rely on the factorization of large primes needs to be implemented.

    Peter Shor even wrote a poem about it. =P

    -------
    If you don't take responsibility
    for what goes into your mind ...
    Someone Else Will!

    --
    -=[You cannot consistently judge this statement to be true.]=-
    1. Re:Quantum Computing and the Multiple Universes by Anonymous Coward · · Score: 0


      Given that Quantum Computers can factor large numbers relatively easily and given the inability (as of now) to solve any NP-hard problem efficiently using a Quantum computer, it seems very likely that factoring may after all be easy.
      In fact, it is widely believed that the techniques for factoring are still in their infancy.

      As the difficulty of many other problems (Quadratic Residuosity etc.) are directly related to the difficulty of factoring, abandoning factoring might not be particularly productive.

  71. What about the PlayStation 2 by Anonymous Coward · · Score: 0

    It will be able to do teraflop right? Well then all we need is a cluster of these baby's and we'll be set.

  72. The six BILLION dollar computer room... by Alomex · · Score: 1

    Clifford Stoll in "cuckoos egg" writes about a computer room full of rows of Crays "as far as the eye can see" at the NSA.

    I've heard other people describe this room using a football field as unit of reference (something like 1/2 a football field size).

    Lastly, publicly traded companies are legally allowed to hide their sales to top secret organizations. Remember this the next time you wonder why would SGI ever purchase and continue production of Cray's when they are only selling, supposedlty 5 a year...

  73. Re:How secure is PGP if you possess the private ke by rjh · · Score: 1

    PGP 6.5.8 uses CAST5-128 to encrypt the private key, and uses SHA-160 to redact the passphrase into a cryptographic key; the last 32 bits are discarded.

    According to Shannon, Schneier, etc., English has about 1.5 bits of entropy per glyph. You'd be looking at much higher entropy per glyph if your passphrase was random, had alphanumerics, etc.--still, for simplicity's sake, let's take the 1.5 bits per glyph as canonical.

    70 * 1.5 = 105 bits of entropy

    I would be thirty-one flavors of not worried.

  74. Re:How secure is PGP if you possess the private ke by rjh · · Score: 2, Informative

    Schneier, page 234:

    "The rate of normal English takes various values between 1.0 bits per letter and 1.5 bits per letter... [Shannon] indicated a rate of 2.3 bits/letter for 8-bit chunks, but the rate drops to between 1.3 and 1.5 for 16-letter chunks. Thomas Cover used a gambling estimating technique and found an entropy of 1.3 bits/character."

    I like to use 1.5 for my ballpark figures, since it makes the math easier; but assuming the most conservative value of 1.3, that still means a 70-character passphrase in plain English has 91 bits of entropy.

    That's a freaking lot, incidentally.

    How long did it take the RC5-64 challenge to succeed? Multiply that by 128 million. That's how long it would take them, on average, to break a 91-bit passphrase.

    Would you care to revise your statement about not very long, since your passphrase is probably just a text sentence type string, and language has extremely low entropy ... it's vulnerable to an elaborate dictionary attack?

  75. Re:The answer seems to be ... decimal . by Anonymous Coward · · Score: 0

    Why can't you just say 400h-bit RSA? Why is it so damn hard to do this? Isn't 400h beautiful and elegant, while 1024 is ugly and gross? Why must you do this? PLEASE PLEASE PLEASE try to use hexadecimal, especially when it's clearly aligned to it. Don't ignore me.

  76. Re:1024 bits - dodgy against ... decimal . by Anonymous Coward · · Score: 0

    Why can't you just give your figures in hexadecimal? It makes more sense there. Hexadecimal is beautiful and elegant--decimal is UGLY. Does anybody else feel like me? Am I the only one? Stop using decimal.

  77. Re:How secure is PGP if you possess the private ke by Anonymous Coward · · Score: 0

    PGP 6.5.8 uses for its passphrases by default an iterated salted SHA-1, which is roughly 2^160 chosen collision, 2^80 birthday collision, strong random salt and no known patterning through successive iterations.

    I will assume that an attack requiring you to use a key that has been tampered with is impractical in this case.

    I can't really give any accurate figures because it purely depends on how strong the passphrase is - how easy it is to guess - and that's not information you really want to give us.

    At that size, it could be very secure indeed, up to the limit of a hash break (160 bits). It probably isn't even close to that good, because you can remember it. If you used, say, Diceware to generate your password, you're probably cool. It's a known wordlist, yes, but the randomness provided by the dice gives real, measurable entropy - if you can remember it, it's good.

    We only really know the rough length here - if you picked a quote from anything, a word or phrase from any language, or a host of other things, it could be much less than you thought, possibly 2^40 or less. If you haven't been such a moron, then it could be 2^70 or even up to 2^90 depending on how ninja you've been.

    This may not be as high as you were hoping for but if you have chosen a good passphrase, then you are safe unless you have a heavy, serious threat model trying to get your communications the dumb way (or if there was a keylogger on your machine).

    It's not all that insecure - Hushmail uses this principle. But you have to choose a really good passphrase for that - it's critical, and it's something most people are bad at (hence the Diceware link).

    At the end of the day, you have more security if your private keys stay private. If you are able to revoke that key and make another, do it, but don't use the same passphrase, or any part of it, ever again.

  78. Re:The answer seems to be ... decimal . by Maniakes · · Score: 1

    Why can't you just say 400h-bit RSA?

    Because I'm a C++ programmer, and I say 0x400 bit RSA.

    --
    A legparnasom tele van angolnaval.
  79. Someone should point out... by Anonymous Coward · · Score: 0

    that it all depends on how lucky you are. You can crack any key of any length in mere seconds if you are lucky enough :)

  80. I have an idea... by Anonymous Coward · · Score: 0

    why not change the 1024-bit key every day? Then it would probably take a $3.6 billion dollar device to crack it, so if it is ever cracked, we can probably convince some judge to sign a search warrant for Bill Gates' place.

  81. Re:How secure is PGP if you possess the private ke by Blue+Stone · · Score: 1

    Say I was some nasty terrorist (which I'm not, better stress that one!)...

    "No, I'm sorry, Sir, we have to take your first answer.
    "Boys! Come and take Mr. White to the car.
    "Have you tried Cuban cuisine before, Mr White?" ~shark grin~

    ps. You really shouldn't store your private key on your harddrive.

    --
    Corporation, n. An ingenious device for obtaining individual profit without individual responsibility. - Ambrose Bierce
  82. The attacker must know the method of encryption. by Futurepower(R) · · Score: 1

    Remember, this story applies only when the attacker knows the method of encryption, and there is only one method of encryption.

  83. Re:How secure is PGP if you possess the private ke by ottffssent · · Score: 1

    70+ characters is a bit insane. A huge bit insane.

    26 lowercase letters
    26 uppercase letters
    10 digits
    32 other characters
    94 total.

    My longest passwords are under 20 characters long, but even if I told you that a given password were exactly 12 characters long, you would have 94^12 = 4.75x10^23 possible passwords. Checking a trillion passwords per second, you'd burn through the problem in a mere 15,000 years.

    There's no need for a 70+ character password. Security is only as strong as the weakest link, and if the password is stronger than the encryption, you're golden.

  84. Mine are... by Ignominious+Cow+Herd · · Score: 1

    I keep them in a shoebox under my bed.

    Oops! I mean, they're in the closet. Yeah, in an old coffee can. Forget what I said about the shoebox. I was just kidding.

    --
    Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
  85. Beowulf Cluster ! by red-beard's · · Score: 3, Funny

    Imagine a beowulf cluster of these . Hmmmm you could crack God's answering machine remote . Think of the messages "Hello God this is Satan you think i could be someone else besides Bill Gates for awhile . I hate being so damn nerdy. Oh an i was thinking we could give the DOJ the plague or maybe just the antitrust section . Gotta get back to my new version of windows for life support machines ....muhahahaha "

  86. RSA prize by dtaczalski · · Score: 1
    On the page 14 of twirl.pdf we read:
    4.4 Cost of Sieving for 768-bit composits.

    To obtain the sieving parameters for 768-bit composits, we extrapolate [...]
    [...] Thus the device from a single [silicon] wafer can complete the sieving task in 95 days. This would cost $5000, which incidentaly is one tenth of the RSA-768 challenge prize.
    So, guys ?
    READY, 3, 2, 1, GOOOO !
  87. At most a year by Anonymous Coward · · Score: 0

    It could do it in a day. That is why it is called brute force.

  88. Well, my answer is by Anonymous Coward · · Score: 0

    Because I'm not a 16-fingered mutant.

  89. oversight in paper by bunnie · · Score: 2, Informative
    One thing that is not mentioned in the paper, as far as I can see, is that the NRE cost of making a 0.13u ASIC is almost a half million dollars these days, I think. This doesn't count the other two or three million dollars for cadence licenses, backend tools, verification, server farms, and engineers necessary to produce a chip of such complexity. It also does not account for the cost of test and package, which can be quite high for such a high performance chip.

    There are a few other technical errors in the paper, at first glance. The large stations seem to call for 2000 banks of tiny DRAMs. Unfortunately, DRAM on an ASIC is not available at such a fine granularity. He would have to use SRAMs to implement this memory, and lose quite a bit on area. One could argue for a custom DRAM implementation, but DRAMs are black magic in the process industry and you really don't want to get into that business if you can avoid it, especially at half a million bucks per spin of the chip!

    otoh, the architecture looks pretty systolic and repeated, so yield can be made near-perfect if some kind of fault-detecting bank-switching scheme is designed into the chip.

    These ancillary costs start to grow in comparison to the 10 million dollar figure to crack RSA-1024, and it is enormous in comparison to the numbers quoted for cracking RSA-512 and RSA-768. In particular, the observation about how the cost of the machine would be smaller than the prize money awarded for breaking RSA-768 should include the non-recurring costs, since presumably the only reason for someone to build such a cracking machine would either be to break a challenge such as this (public awareness), or to perform real espionage (you're funded elsewhere). In the case of real espionage, you probably wouldn't publicize the power of your machine by claiming the RSA-768 prize, anyways, so the cost of the machine relative to the prize amount is not as relevant :-)

  90. Quantum Computing by Anonymous Coward · · Score: 0

    Given that Quantum Computers can factor large numbers relatively easily and given the inability (as of now) to solve any NP-hard problem efficiently using a Quantum computer, it seems very likely that factoring may after all be easy. In fact, it is widely believed that the techniques for factoring are still in their infancy.

    As the difficulty of many other problems (Quadratic Residuosity etc.) are directly related to the difficulty of factoring, abandoning factoring might not be particularly productive.

  91. You don't have to factor RSA by thogard · · Score: 2, Informative

    RSA is a pain to decypher because the assumed 1:1 for public and private keys. That isn't true. Its 1:N where N is a very larage number and may be N:M.

    this code shows a simple 10 bit RSA in perl (its too slow to do much more) and it will generage one public key and several private keys. Doing it for 1024 bit is left as an exercise for the reader.

    RSA's 1:1 is based on a short cut of a nasty operation via the Euclidian algorithm and it turns out the math works quite well if you do things the hard way but it takes a long time even on a modern computer.

  92. Re:How secure is PGP if you possess the private ke by prizog · · Score: 1

    A 70-character passphrase *is* better than a 32-character passphrase, because your passphrase is likely not random characters -- it's an English phrase, and English has low entropy.

  93. Re:The answer seems to be ... decimal . by Anonymous Coward · · Score: 0

    No you're not. You're saying 1024 bit, not 0x400 bit. Stop lying and start using hexadecimal.

  94. Not to sound paranoid... by beef3k · · Score: 1

    ...but don't you think the NSA has had the means to crack common cryptosystems for quite some time? They usually make an objection when they can't (ref. the NSA intervening and reducing the security in IBM's suggested DES standard back in the days).

  95. Re:How secure is PGP if you possess the private ke by billstewart · · Score: 1

    If you're only using your passphrase for one key, then an attacker who has your private key doesn't need your passphrase. If you're using your passphrase for more than one key, then it makes a lot more difference how they got your private key... A more likely threat is that somebody got your private keyring file, which is encrypted, and they're running pgpcrack to see if you've got a wimpy passphrase so they can get your private keys. If your passphrase is in /usr/dict/words it won't take them long to crack it; if you've picked a really high-entropy passphrase that people who know lots of information about you aren't likely to guess then you're fine (unless they've got continuing access to your machine and can watch you type in your passphrase, in which case you're toast anyway...)

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks