Slashdot Mirror


A Mighty Number Falls

space_in_your_face writes "An international team has broken a long-standing record in an impressive feat of calculation. On March 6, computer clusters from three institutions (the EPFL, the University of Bonn, and NTT in Japan) reached the end of eleven months of strenuous calculation, churning out the prime factors of a well-known, hard-to-factor number — 2^1039 - 1 — that is 307 digits long." The lead researcher believes "the writing is on the wall" for 1024-bit encryption. "Last time, it took nine years for us to generalize from a special to a non-special hard-to factor number (155 digits). I won't make predictions, but let's just say it might be a good idea to stay tuned."

88 of 348 comments (clear)

  1. What are they? by Hatta · · Score: 4, Funny

    I read TFA, it didn't say what the factors were. Does anyone know?

    --
    Give me Classic Slashdot or give me death!
    1. Re:What are they? by jfengel · · Score: 5, Funny

      Hang on, I'm working on it. I'll get back to you.

    2. Re:What are they? by IthnkImParanoid · · Score: 4, Funny

      They were about to write them down when the computer was destroyed to make way for a hyperspace bypass. I guess we'll find out in 11 months or so.

      On the plus side, the staff has quicker access to the nearest janitorial supply closet.

      --
      It's nothing but crumpled porno and Ayn Rand.
    3. Re:What are they? by Hatta · · Score: 4, Funny

      Hang on, I'm working on it. I'll get back to you.

      It's not going to take 11 months is it?

      --
      Give me Classic Slashdot or give me death!
    4. Re:What are they? by Anonymous Coward · · Score: 5, Informative

      2^1039-1=
      1159420574 0725730643698071 48876894640753899791 70201772498686835353882248385
      9966756608 0006095408005179 47205399326123020487 44028604353028619141014409345
      3512334712 7396798885022630 75752809379166028555 10550042581077117617761009413
      7970787973 8061870084377771 86828680889844712822 00293520180607475545154137071
      1023817

      factors:

      5585366661 9936291260 7492046583 1594496864
      6527018488 6376480100 5234631985 3288374753
      ×
      2075818194 6442382764 5704813703 5946951629
      3970800739 5209881208 3870379272 9090324679
      3823431438 8414483488 2534053344 7691122230
      2815832769 6525376091 4101891052 4199389933
      4109711624 3589620659 7216748116 1749004803
      6597355734 0925320542 5523689

      (spaces added because of lameness filter)

    5. Re:What are they? by VAXcat · · Score: 4, Funny

      I know them, but I can't tell you, since they are also copyrighted AACS keys...

      --
      There is no God, and Dirac is his prophet.
    6. Re:What are they? by brunascle · · Score: 5, Funny

      for the love of god, please tell me you got those numbers from the results of the project

    7. Re:What are they? by fbjon · · Score: 2, Informative

      If you mean 0x09F911029D74E35BD84156C5635688C0, it's not very difficult to factorise actually.

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
    8. Re:What are they? by Anonymous Coward · · Score: 2, Informative

      2^1039-1=
      1159420574 0725730643698071 48876894640753899791 70201772498686835353882248385
      9966756608 0006095408005179 47205399326123020487 44028604353028619141014409345
      3512334712 7396798885022630 75752809379166028555 10550042581077117617761009413
      7970787973 8061870084377771 86828680889844712822 00293520180607475545154137071
      1023817
      Um, no it's not - that's somewhere between 2^1016 and 2^1017. Your factorisation is otherwise correct, but these aren't the numbers we're looking for.
    9. Re:What are they? by Hatta · · Score: 2, Informative

      Odd, the factors you give do multiply to give the product you say, but according to bc: 2^1039-1=

      58906808643168367664473872491774762471193869645981 501775357568993765\
      84320794655559932591384900650140340063891615625817 543763223144510803\
      88584562460719428810761069833174599222153387113189 363201210623862217\
      39214690332885215589978237001371848062018269073686 695341125238207265\
      91354912103343876844956209126576528293887

      --
      Give me Classic Slashdot or give me death!
    10. Re:What are they? by Anonymous Coward · · Score: 5, Funny

      Hey, that's the same combination I have on my luggage!

    11. Re:What are they? by sanimalp · · Score: 5, Funny

      No, he just works for the NSA.

    12. Re:What are they? by Deanalator · · Score: 2, Informative

      Someone correct me if I'm wrong, but isn't one of those factors only 80 digits long? (80/3)*10~= about 267 bits. From what I understand, factoring a number is just as complex as pulling out the smallest factor. That would make this feat roughly equal to factoring the RSA 512, which was done a few years back. 1024 bit RSA uses two 512 bit primes. This is significantly harder than what these guys have done.

    13. Re:What are they? by phasm42 · · Score: 3, Funny

      In binary: 2^1039-1=11111111111...11111111 (1039 '1' bits)

      --
      "No one likes working in a hamster wheel, and your shop smells of cedar shavings from here." - TaleSpinner
    14. Re:What are they? by fatphil · · Score: 2, Informative

      You are missing the fact that there are two types of factoring algorithms.

      Firstly there are factor-finding algorithms, whose difficulty is dependent on properties of the individual factors of the composite. Examples of these are trial-division, Pollard/Brent Rho, Pollard P-1, someone else's P+1, and Lenstra's ECM algorithms.

      Secondly there are splitting algorithms, whose difficulty is dependent on the properties of the composite itself, not its factors.

      The difficulty of finding an 80-digit factor using the first type of algorithm is more or less impossibility. It's never been done. The record is something like 70 digits just last year. Only about half a dozen people have ever even found 60+ digit factors.

      So with that in mind, when you're pretty sure there are no <60-digit factors (by running Lenstra's ECM many thousand times), you have pretty much no option but hitting the second type of algorithm.

      (If you're looking at a 100-digit composite, you would only run ECM until you were fairly sure there were no <30-digit factors, if looking at a 130-digit composite, you'd run ECM until sure there were no 40-digit factors. Approximately - I pulled those figures out of my arse.)

      --
      Also FatPhil on SoylentNews, id 863
    15. Re:What are they? by dvice_null · · Score: 3, Funny

      You too?!

    16. Re:What are they? by Anonymous+Custard · · Score: 2, Funny

      Oh, big deal. He was only off by a multiple of 5 million or so. ...

  2. Next step: FPGA cracking by Raul654 · · Score: 3, Interesting

    For an embarrassingly parallel, strictly integer application like this, I think the logical next step is to attack it with FPGAs. For such an application, it wouldn't surprise me if a large Alterera FPGA could give you at least the same computation power as a large cluster, for a fraction of the price (both for the hardware and the electricity to power the thing).

    --


    To make laws that man cannot, and will not obey, serves to bring all law into contempt.
    --E.C. Stanton
    1. Re:Next step: FPGA cracking by shofutex · · Score: 5, Informative

      Adi Shamir designed one already. Instead of 11 months, it takes 12--but it could (in theory) factor any 1024-bit number.

    2. Re:Next step: FPGA cracking by 2short · · Score: 4, Funny

      Quantum computers have that one nagging flaw: they don't actually exist.

    3. Re:Next step: FPGA cracking by StarfishOne · · Score: 4, Funny

      Is that before or after looking at the machine? ;-)

      (forgive me, I love quantum-related jokes... ^_~)

    4. Re:Next step: FPGA cracking by maxwell+demon · · Score: 5, Funny

      Is that before or after looking at the machine? ;-)

      (forgive me, I love quantum-related jokes... ^_~) Yes.

      (forgive me, I love logic-related jokes ... :-))
      --
      The Tao of math: The numbers you can count are not the real numbers.
    5. Re:Next step: FPGA cracking by moosesocks · · Score: 4, Funny

      Quantum computers have that one nagging flaw: they don't actually exist.

      Quantum computers have that one nagging flaw: they actually exist.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
  3. Security by morgan_greywolf · · Score: 2, Insightful

    "Security is about risk management. If you have something to protect that's valuable enough for someone to steal, and the only protection you have on it is 1,024-bit crypto, you deserve to have it stolen." -- Forgot who said it, but it was on /.

  4. They better hurry and copyright that number by vortoxin · · Score: 2, Funny

    I can see the RIAA filing the lawsuit on a DMCA violation now....."That's our prime number/integer"

    --
    When I was your age we didn't have music file sharing utilities. We had to go out to a store and shoplift the CD.
  5. Re:How many people have the computing power ... by tomstdenis · · Score: 4, Informative

    That's not even the point. The algorithm used to factor 2^k - 1, is generally the SNFS which is a highly optimized variant of the NFS, even faster than the GNFS. To factor RSA numbers you need the GNFS.

    That said, not all 1024-bit numbers are hard to factor, in fact you have about a 1 in 300 chance of pulling 1024-bit prime out of your ass. The trick here is that RSA numbers are random and have less algebraic structure than Mersenne numbers.

    Of course, with all that said, people should be using ECC anyways.

    Tom

    --
    Someday, I'll have a real sig.
  6. An NSA spokesperson disagrees by Anonymous Coward · · Score: 4, Funny

    NSA research indicates that 1024-bit encryption is unbreakable and everyone should be using it.

  7. this too by Himring · · Score: 4, Funny

    Knowing this, too, will not help you pick up chicks in a bar....

    --
    "All great things are simple & expressed in a single word: freedom, justice, honor, duty, mercy, hope." --Churchill
    1. Re:this too by IthnkImParanoid · · Score: 3, Funny

      So if you integrate this into your lines it could be a factor in your chance to multiply?

      Why yes, I am a big hit at parties.

      --
      It's nothing but crumpled porno and Ayn Rand.
  8. The real sticky point... by JohnA · · Score: 3, Interesting

    ...is that most Certificate Authorities who have trusted certs in the major browsers / e-mail programs will NOT sign a certificate for any keysize greater than 1024 bits.

    This artificial limitation is going to become more and more glaringly obvious as time goes on.

    1. Re:The real sticky point... by Kadin2048 · · Score: 3, Interesting

      I hate to be the guy who pulls out the tinfoil, but why not.

      A few weeks ago I was reading Steven Levy's Crypto (not a bad book, although a little out-of-date now, but it brings back the dot-com nostalgia), in which he spends a lot of time describing the NSA's objections to strong civilian crypto in the U.S. in the 80s and early 90s. They went from absolutely opposing civilian crypto (particularly public-key stuff) tooth and nail, to suddenly just throwing in the towel. While I'm sure that much of that was just political pragmatism -- with the Cold War over, they were having a harder and harder time maintaining their objections in the face of 'progress' (in the form of a lot of pressure on Congress from business and the tech sector) -- but I can't help but wondering if they didn't figure something out that made them withdraw their objections to bigger key sizes.

      Particularly since it's now known that some people on the government side knew about public-key crypto before it became public (the early-70s GCHQ paper, and I find it hard to believe that at its peak during the Cold War, someone at the NSA didn't find the same thing), they've had a long time to work on the problem -- though it's possible that they just totally squandered whatever lead they had, and are now at the same point that the unclassified world is, that just seems unlikely to me.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
  9. -1 author stupidity by tomstdenis · · Score: 4, Informative

    SNFS != GNFS. Factoring specific 1024-bit numbers of that form isn't always super hard.

    That they pulled off a SNFS on a 1024 bit number is cool, but not the same amount of work for a GNFS against an 1024-bit RSA key.

    Tom

    --
    Someday, I'll have a real sig.
  10. Re:How many people have the computing power ... by Anonymous+Cowpat · · Score: 5, Insightful

    governments. Who, incidentally, are the prime targets for using encryption against.

    --
    FGD 135
  11. on the wall, eh? by Lord+Ender · · Score: 3, Insightful

    Considering RSA Inc. sells X.509 token/smart card devices which support ONLY 1024-bit keys, I don't think it's going anywhere for a while.

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
  12. Three years isn't a whole lot. by Kadin2048 · · Score: 5, Insightful

    I understand that they'll be able to crack 1024, but still, 3 years to see my e-mails. It's not worth it for them. Now when they got it down to 3 hours I'll be worried, but by then we'll probably be using 4096.

    True, but what you need to think about is forward secrecy.

    There are lots of things being transmitted today that are still going to be in use three years from now. For example, think of financial information: if you use an encryption standard that's acceptable right now, but can be broken in three years (or, is trivially breakable in three years due to increases in computer power or techniques), then you're in trouble, because some of that information is still going to be sensitive/valuable in three years. The fact that you'll be using 4096 bits then doesn't matter, if someone grabs it now and crunches on it for a while. Same with identification numbers (SSNs, etc); if I grab a batch of numbers today, most of them will probably still be good in ten or fifteen years, and some of them will still be good in 30 or 40. That's how far out you need to be thinking when choosing an encryption standard for that data.

    There are some things where only immediate security matters (transmitting big session keys that get thrown away a few hours or minutes later), but many other things -- and I think general file encryption falls into this category -- where it's hard to predict for how long the encrypted information might be sensitive or valuable.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    1. Re:Three years isn't a whole lot. by kju · · Score: 2, Informative

      Even worse: When your key can be cracked in 10 years, someone can create false signatures in your name dated 10 years back. Think about long-running contracts etc....

      We have in germany some really brain-fucked law about the requirement of digital signatures (s/mime based) on electronic invoices, but one idea they actually got right: You will get an invoice which is signed by the vendor. If you are required to keep incoming invoices (businesses) every once in a while you need to take the current file and sign it again with your own (current) key. So document+signature becomes (document+signature)+signature, then (((document+signature)+signature)+signature. So you will sign repeatedly an older signature with your newer key. This builds a chain of signatures and still proves integrity of the document and the signature when the original signature key length is long broken required you have done this "renew" regularly.

  13. One down, by seaturnip · · Score: 4, Funny

    infinity left to go!

  14. Re:Why Does Encryption Need to "Scramble" Informat by AKAImBatman · · Score: 4, Informative

    Rather than just digesting using some key, It seems to me that you could set up two 'encryption' agents which talk to each other and form a random proprietary "language" that only each other can understand.

    You mean, like generating a analogous OTP out of a pseudo-random number generator? Not only has that been done before, but you're still left with a key: The seed which produced the pseudo-random sequence.

    The Navajo code-talkers worked because the encoding was extremely obscure (security through obscurity at its finest!) and cryptography was still in its infancy. I sincerely doubt that the Navajo codes would stand up to a modern cryptographic analysis.

    http://en.wikipedia.org/wiki/Navajo_Code_Talkers
  15. "the writing is on the wall" for 1024-bit by blantonl · · Score: 2, Interesting

    What exactly do they mean by the "the writing is on the wall" for 1024-bit encryption? Does the 307 digit long set of prime factors have some bearing on the ability to break encryption, or is it just a reference to the amount of sheer computing power out in the industry today?

    I'm having a hard time making the coorelation.

    --
    Lindsay Blanton
    RadioReference.com
    1. Re:"the writing is on the wall" for 1024-bit by Palmyst · · Score: 5, Informative

      Yes, The RSA Algorithm for public key encryption is based on the difficulty of factoring very large numbers. The key size is the number of bits in the number that has to be factored to break the encryption. Many of the modern security systems, including Verisign certificates for secure websites are based on RSA encryption and 1024 is a very common key size in use. Thus the ease of factoring 1024 bit numbers would indeed be a matter of concern.

      RSA 101.

  16. That's nothing! by iamacat · · Score: 2, Funny

    I just factored 2^2048 in a few milliseconds on a single computer. Your bank account balance was just donated to support world peace. RSA is doomed? Oh, wait? Are you saying RSA is based on numbers which are products of two large primes, not just some numbers with lots of small factors? Bummer!

  17. You may also be interested to know by p3d0 · · Score: 3, Funny

    85% of all statistics are made up.

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
  18. Re:Why Does Encryption Need to "Scramble" Informat by goddidit · · Score: 5, Funny

    http://xkcd.com/c257.html
    Navajo code is pretty easy to crack.

    --
    This .sig is exactly 120 characters long.
  19. Re:distributed network computing? by CastrTroy · · Score: 4, Interesting

    But with this kind of computation time, you just have to send lots of junk traffic to make them waste all their computing resources. If you send out 500 messages a day, only 1 of which has actual usable information in it, then they are going to be wasting a lot of computing resources just to find out which messages actually have usable information. With computation times this high, it would be easy to flood them with data so that they wouldn't have enough time to decrypt everything.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  20. Some details of the computation size. by Palmyst · · Score: 3, Informative

    From http://www.ddj.com/blog/portal/archives/2007/05/wo rld_record_fo.html Using the sieve program developed at the University of Bonn, NTT, EPFL, and the University of Bonn respectively provided 84.1 percent, 8.3 percent, and 7.6 percent of the calculation resources, and the calculation amount equivalent to 95 years of operation on a 3-Ghz Pentium D. PC clusters at NTT and EPFL, consisting of 110 and 36 PCs, respectively, were run in parallel for more than two months for the calculations. The results were 47 non-trivial solutions of the simultaneous equations defined by an approximate 70,000,000 x 70,000,000 large sparse linear matrix.

  21. Quadruple AES? by W2k · · Score: 2, Interesting

    I'm hoping there are some crypto geeks in the audience who can answer this. I know that back in the days when DES (with 56-bit keys) was the best there was, some genius invented TDES, which was simply three passes of DES, for a total key length of 168 bits. However, running DES thrice does not triple the "security" (resistance to brute-force cracking) of the cipher, rather the 168 bit key provides security equal to that of a 112 bit key due to some mathematical technicality that I've forgotten.

    Now for my actual question. There isn't a symmetric crypto algorithm that I know of that can use 1024 bit keys (except for stream ciphers, maybe RC4?); the best block cipher is AES (Rijndael) which supports 256 bit keys. If one would "invent" QAES, i e quadruple QAES, for a total key length of 1024 bits, what would the "effective" key length be?

    --
    Quality, performance, value; you get only two, and you don't always get to pick.
    1. Re:Quadruple AES? by Meostro · · Score: 3, Informative

      It depends entirely on how you're doing your QAES.

      The standard 3DES process is 3DES-EDE which uses 2 keys, thus giving you 112 bits.
      ENCRYPT data with key1
      DECRYPT output with key2
      ENCRYPT output with key1

      Since DES is symmetric, any paired combination of encrypt and decrypt will give you the same result. You can do E(D(data)) to get your result, or you can use D(E(data)) for the same thing. If you used the same key for key1 and key2, this would be the same as doing regular DES, and would just take 3x as long.

      If you used three different keys for your 3DES instead, you would have the 168-bit key length. Thus, you can apply the same concept to 4AES, and depending on which way you do it you will end up with 256-, 512-, 768- or 1024-bit key strength.

  22. in related news by circletimessquare · · Score: 2, Funny

    any security measure built by a man can also be broken by a man

    there is absolutely no such thing as 100% security

    and there never will be

    for most of us, 99.9999999999999999999999% security will do

    for the rest, sweaty heart palpitations and paranoid schizophrenia will do

    --
    intellectual property law is philosophically incoherent. it is your moral duty to ignore it or sabotage it
  23. Damn, beaten, somewhat. by DemonThing · · Score: 5, Informative

    There are actually three prime factors; the two you listed, and the small factor 5080711. Thus:

    2^1039-1 = 5080711 * 55853666619936291260749204658315944968646527018488 637648010052346319853288374753 * 20758181946442382764570481370359469516293970800739 52098812083870379272909032467938234314388414483488 25340533447691122230281583276965253760914101891052 41993899334109711624358962065972167481161749004803 659735573409253205425523689

    is the correct factorization, as can be readily verified.

    Also:
    http://www.heise.de/english/newsticker/news/90031

    1. Re:Damn, beaten, somewhat. by Michael+Woodhams · · Score: 2, Informative

      I've put these into Mathematica and confirmed they are correct.

      --
      Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
    2. Re:Damn, beaten, somewhat. by Anonymous Coward · · Score: 3, Funny

      Well, I verified them in Emacs using 'calc'. That definitively settles this matter.

    3. Re:Damn, beaten, somewhat. by Michael+Woodhams · · Score: 2, Informative

      Interestingly, the first factor is quite small, and trivially easy to find. The following Mathematica code finds it in less then 3.5 seconds on my 4 year old computer:

      With[{x = 2^1039 - 1}, Prime[Select[Range[1, 360000], (Mod[x, Prime[#]] == 0) &]]]

      Finding the next factor like this (by trial division) should take a mere 10^70 or so times longer.

      --
      Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
    4. Re:Damn, beaten, somewhat. by morcego · · Score: 4, Funny

      I just checked with Netcraft, and they also confirmed it.

      --
      morcego
  24. Re:distributed network computing? by Dancindan84 · · Score: 3, Funny

    So that's what the spammers are doing. Does that mean that 1/500 v1agra messages is really sekret US intelligence?

    --
    "Always forgive your enemies; nothing annoys them so much." - Oscar Wilde
  25. Re:How about no encryption? by fishbowl · · Score: 3, Insightful

    >Think hard about this. How can we have privacy in the digital age?

    By and large, "we" don't even use *mild* crypto, even in places where we really should be using *hard* crypto.

    Do we actually *want* privacy? Seems not.

    --
    -fb Everything not expressly forbidden is now mandatory.
  26. Re:Why Does Encryption Need to "Scramble" Informat by wfberg · · Score: 5, Interesting

    The Navajo language basically served as a one time pad in WWII

    No, they served as code-talkers. A one-time pad is a system whereby every bit of the encryption key is independent of the others (never reused, unlike codewords) and entropy is maximal. Simply translating stuff from one word to another is simple substitution, a simple code.

    The reason Navajo Code Talkers were succesful wasn't because the scheme was particularly advanced. In fact, it would have been computationally trivial to break. However the messages relayed were only ever "tactical" in nature; i.e. communications in the field, of use during a fight, but old news in about 10 minutes. Had Navajo code talking been used to relay top-secret messages, it would have been broken fairly quickly. The reason for its success was that is was extremely cheap to implement for the US, and the secrets protected weren't valuable enough to spend huge effort on breaking. Economics, rather than mathematics.

    Navajo wasn't used in Europe, because Germany had sent anthropologists to the US to learn native languages, anticipating precisely this scheme.

    --
    SCO employee? Check out the bounty
  27. Better than a slide rule by goombah99 · · Score: 4, Insightful
    While your first post was a joke, it's actually on topic and unkowingly insightful

    It's simply insane to use general purpose computer clusters to factor prime numbers when specialized devices built for factoring prime numbers can do the job thousands of times faster per node. These stunts are meaningless. All money funds for those waste of times should be put into developing better purpose built devices and more clever algorithms.

    here's an example pdf of one such device. It's a tin can with single chip that has LED's integrated onto a shift register and a light detector at one end. costs about the same as one super computer node and is faster than a large cluster. Note that it's designed by the S in RSA so this is not baloney. it's not perfect and it needs technology refinement to scale to numbers larger than about 512 bits. That's where money wasted on this stunt should have been spent.

    What's even stupider is that the calculations themselves serve no purpose. Anyone with an napkin and a pencil can tell you whether or not the calculation is feasible on a given size computer cluster. The expected time to crack in a brute force application of a seive is entirely predictable. So what does cracking one prove?

    People who do this are more than harmless idiots. They waste money.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Better than a slide rule by kabocox · · Score: 2, Interesting

      What's even stupider is that the calculations themselves serve no purpose. Anyone with an napkin and a pencil can tell you whether or not the calculation is feasible on a given size computer cluster. The expected time to crack in a brute force application of a seive is entirely predictable. So what does cracking one prove?

      People who do this are more than harmless idiots. They waste money.


      I thought it was for the entertainment value. It reminds me of the slashdot stories of DES getting broken "quickly."
      http://en.wikipedia.org/wiki/Data_Encryption_Stand ard
      http://en.wikipedia.org/wiki/EFF_DES_cracker

      I wonder if there is an open source hardware project devoted to building purpose built encryption crackers. I'd think that most governments would spend atleast a million on encryption breaking per year. Heck, most large corporations could afford million dollar encryption breaking projects if they could see a ROI. I could see industrial espionage units privately having this tech.

  28. Re:distributed network computing? by CastrTroy · · Score: 5, Interesting

    Really it's not that bad of an idea. Create something that looks like image spam. Hide the encrypted information using stenography in the image, and send it out to millions of people, including the intended recipient. Everybody except the intended recipient deletes the message. It makes it harder to track down who you are communicating with, and harder to find out which messages actually contain useful information. It's similar to in olden days when they used to put a secret message in the classifieds of the newspaper. Only the people who know that it was supposed to be there could actually get the hidden message, but it was there for everyone to see.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  29. fixed link by goombah99 · · Score: 2, Informative

    oops here's a working link

    --
    Some drink at the fountain of knowledge. Others just gargle.
  30. another good link by goombah99 · · Score: 2, Informative

    Twinkle, an older version of twirl, has a better wikipedia entry

    --
    Some drink at the fountain of knowledge. Others just gargle.
  31. What about dynamic encryption algortithms? by wamatt · · Score: 5, Interesting

    Not sure if this is a new idea, but this topic got me thinking. Decrypting something means is really just a mathematical transform. We say its "decrypted" if the end result "makes sense". But what if we didn't know what the final data should look like? How would we ever know it was decrypted?

    Decryption itself only makes sense once we know what method was used, ie RSA, DES, Blowfish etc. However what if that algorithm itself was dynamic and formed part of the encryption? Sort of like a more generalised version of onion encryption, ie encrpyting the same content a number of times using different algorithms. So that the algorithms used and the sequence in which they are used form a sort of "meta-key"

    1. Re:What about dynamic encryption algortithms? by Detritus · · Score: 2, Insightful

      Unless your opponent is encrypting white-noise for kicks, the result of a successful decryption is going to have statistical properties that are significantly different from those of an unsuccessful decryption. Of course, it's helpful if you have more information, such as the source material is ASCII text, or every file starts with a known magic number.

      --
      Mea navis aericumbens anguillis abundat
    2. Re:What about dynamic encryption algortithms? by wamatt · · Score: 2, Interesting

      But with layered or onion encryption if you decrypt an outer encryption the result still looks like white noise. So you don't know to whether continue looking or start decrypting the result. Whith TripleDES the "meta key" is easy: Decode the contents 3 times using DES in succession.

  32. Exactly...it proves nothing.... by Joce640k · · Score: 2, Insightful

    If you know how many calculations a second a given program can do then the rest is pointless. You just divide total seconds by number of PCs in the cluster.

    With climate change looming, pointless waste of electricity like this should be discouraged.

    PS: It's well known that RSA will fall. Number factoring is one of the half-dozen-or-so tasks a quantum computer can actually do. It's just a matter of time before a working quantum computer renders the whole public-key system unsafe.

    --
    No sig today...
    1. Re:Exactly...it proves nothing.... by andy_t_roo · · Score: 2, Interesting

      actually, although quantum computers can theoretically factor huge numbers trivially, quantum computers are _extremely_ sensitive to error, and as such the result is statistical, with the chance of a right answer decreasing with the size of the problem. To factor a RSA prime would need about a 1 million qbit computer (the extra bits are needed for error correction), and at the moment a 10 qbit quantum computer hasn't been constructed, and current design principles don't scale well beyond about 1k qbits. as the hardness of building a quantum computer is proportional to the number of qbits it has to process (due to having to shield it from all outside interference) it is still quite feasible to increase the size of the prime to a length where it is still 'hard' to break, although increases in technology would mearly give you years of security, rather than the "practically forever" security that RSA currently has.

  33. How long is long-enough? by Podcaster · · Score: 3, Interesting

    From TFA:

    Is the writing on the wall for 1024-bit encryption?"The answer to that question is an unqualified yes," says Lenstra. For the moment the standard is still secure, because it is much more difficult to factor a number made up of two huge prime numbers, such as an RSA number, than it is to factor a number like this one that has a special mathematical form. But the clock is definitely ticking."Last time, it took nine years for us to generalize from a special to a non-special hard-to factor number (155 digits). I won't make predictions, but let's just say it might be a good idea to stay tuned."

    Reading Lestra's comments, I get the feeling that he has a fairly high degree of confidence that they will succeed in making the leap to a mathematical generalization within a modest time frame.

    Can any security researchers tell me what GPG key length I should be using in the real world to give me a good trade-off between computational simplicity and future security please? I'm only using crypto for email and secure file storage.

    -P

    --
    Be my friend.
  34. Re:How many people have the computing power ... by Abcd1234 · · Score: 5, Funny

    in fact you have about a 1 in 300 chance of pulling 1024-bit prime out of your ass

    Wow, now *that* is a cool trick!

  35. Wrong number, in both the GP and the summary! by YA_Python_dev · · Score: 3, Informative

    I don't know where she/he got her/his number, but it's wrong.

    Use Python, Luke:

    Python 2.5.1 (r251:54863, Apr 19 2007, 19:11:47) [GCC 3.3.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> print 2**1039-1
    589068086431683676644738724917747624711 93869645981501775357568993765843207946555599325913 84900650140340063891615625817543763223144510803885 84562460719428810761069833174599222153387113189363 20121062386221739214690332885215589978237001371848 06201826907368669534112523820726591354912103343876 844956209126576528293887
    >>> len(str(2**1039-1))
    313

    So the summary is wrong too: the number is 313, not 307 digits long. At least in base 10.

    --
    There's a hidden treasure in Python 3.x: __prepare__()
    1. Re:Wrong number, in both the GP and the summary! by realscrappy · · Score: 2, Informative

      I see 4 spaces plus two newlines and 307+4+2 = 313.

    2. Re:Wrong number, in both the GP and the summary! by AshNazg · · Score: 4, Funny

      Use bc instead.
      The factors are correct. Just checked.

      And don't doubt me, I'm a 3 digits UID

    3. Re:Wrong number, in both the GP and the summary! by blank+axolotl · · Score: 2, Informative

      nope, your parent is right. The number starts 589068086... and is 313 digits. The spaces are from slashdot filtering. A post below gives the correct 3 factors, which give 589068086... when multiplied.

    4. Re:Wrong number, in both the GP and the summary! by Anonymous Coward · · Score: 2, Informative

      The 307 digit number is the correct target of the story. It is one of two cofactors of 2^1039 - 1. The other cofactor, 5080711, was found trivially. So the challenge of factoring the 313 digit number became the challenge of factoring the 307 digit number.

    5. Re:Wrong number, in both the GP and the summary! by RudeDude · · Score: 3, Funny

      Does that make me even "better"?

      --
      RudeDude
      Perl/Linux/PHP hacker
  36. The god question and quantum computing by goombah99 · · Score: 2, Interesting

    An old theology joke goes like this: "if god is omnipotent, can he make a rock so heavy he can't lift it?"

    But for quantum computers the question has a resonance. Can a quantum computer create prime numbers so large that another quantum computer could not factor the composite?

    I realize that there's always quantum crypto. But for most folks we need to be able to use RSA not some new scheme for the privileged.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:The god question and quantum computing by Jarjarthejedi · · Score: 2, Insightful

      Psh...paradox? That's one's not worthy of the title, it only sounds reasonable until you realize Omni = Infinite. It's like asking if a Mathematician can make an Infinite number larger than another Mathematician's. To put it simply God can create a rock of infinite mass, so heavy that no one can lift it...and he can lift it. And btw in Christianity God didn't create the need for forgiveness, so your other complaint is a little off as well.

      --
      There are two kinds of fool One says 'This is old therefore good' Another says 'This is new therefore better'- Dean Ing
  37. Re:How many people have the computing power ... by nasor · · Score: 2, Insightful

    Then I suppose I won't expect my 1024 bit encryption to keep my data safe from the NSA, in the same way that I won't expect my home alarm system to protect me from a strike team of navy SEALS.

  38. Re:How many people have the computing power ... by ArsonSmith · · Score: 2, Insightful

    Wow, I thought the prime target to use encryption against where the people trying to break into my bank account. You learn something every day.

    --
    Paying taxes to buy civilization is like paying a hooker to buy love.
  39. Re:distributed network computing? by Jeff+Carr · · Score: 5, Interesting

    This has already been done as early as 10 years ago.

    I was working in Eastern Europe on a now unclassified project, working against a low budget illegal foreign intelligence agency. They were selling and distributing porn CD's and DVD's with thousands of pictures, one or more of which would contain an encrypted stenographic message. Their contact would purchase the DVD at one of hundreds of little markets, and decrypt the proper image(s).

    It was really quite a good plan. Not only were there many possible valid messages to one or more agents, but there were also an unknown number of false messages, they even may have even been all false messages that could only be put together by inference. However, since they were encrypted with PGP, we never were able to break that particular system before I left the project.

    The real genius of the plan was that it brought them in some much needed cash as well.

    --
    The television will not be revolutionized.
  40. Re:distributed network computing? by ArsonSmith · · Score: 3, Funny

    It's not a machine for making a wormhole. You have to have a small wormhole available to you. What the machine does is expand a wormhole to enormous sizes. It is hinted at in the picture if you look closely.

    --
    Paying taxes to buy civilization is like paying a hooker to buy love.
  41. Re:NSA computing power vs. EPFL+UofB+NTT? by Kadin2048 · · Score: 3, Interesting

    I don't think there are any good estimates of the computing power of the NSA. I suspect everything, up to and including their power bill, is classified; you'd just be getting somebody's conjecture.

    I'm not even sure that it's really raw 'computing power' that you'd want to try and assess, anyway; I was thinking about something like a novel way of factoring general numbers very quickly, something that could be implemented in specialized hardware. That doesn't seem too outside the NSA's traditional forte -- they have some good mathematicians and probably have relationships with hardware companies that would let them source a lot of (odd) stuff without anyone noticing.

    I do think it's interesting to note that of the algorithms listed as part of the NSA's "Suite B" Good-Housekeeping-seal-of-approval list, all the PK systems are based on elliptic curves, and not prime factorization, for the trapdoor function.

    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
  42. Before someone starts panicking by trifish · · Score: 2, Informative

    The lead researcher believes "the writing is on the wall" for 1024-bit encryption.

    It should be noted (before people start panicking) that the 1024-bit key size refers to asymmetric or public-key cryptography (software like PGP, GPG, algorithms like DH/DSS, RSA), not to symmetric cryptography (software like TrueCrypt, algorithms like AES, Blowfish, Twofish, etc.).

    A 256-bit symmetric key is completely infeasible to brute force and even if quantum computers become available, the complexity of brute force attack will still be 2^128 (which is again infeasible to brute force).

  43. Quadruple AES would be effectively 512 bits by swillden · · Score: 4, Informative

    The reason 3DES provides an effective key length of 112 bits, not 168, isn't because only two keys are used instead of three. We only bother using two keys because the effective length of three-key 3DES is still only 112 bits, so there's little reason to bother storing and managing a third.

    The reason the effective length is only 112 bits is something called the "Meet in The Middle" attack. Suppose three keys were used and that the attacker has plaintext and ciphertext to mount a known-plaintext attack. An attacker can apply the first encryption step to the plaintext message using all possible 56-bit keys and then store the results in a big dictionary. Then, the attacker picks a 112-bit key and performs the first two decryption steps on the ciphertext. If the result is in the dictionary, then the attacker has probably found all three keys. If not, he picks another 112-bit key and tries again. So the attacker's work is (a) the effort required to create the dictionary plus (b) the effort required to brute force search a 112-bit keyspace. Since (b) completely dominates (a) we can ignore (a) and use (b) as our estimate of the attack complexity.

    In the case of any quadruple encryption, then, the Meet in the Middle attack would require building a dictionary of all possible encryptions using the first two keys, then brute forcing the space of the last two keys. So, the effective strength is equivalent to the size of two of the four keys. Quintuple encryption is equivalent to three keys. Double encryption is equivalent to one key, which is why 2DES was never used.

    What does all of this have to do with 1024-bit RSA keys? Not a thing. 1024-bit RSA keys consist of numbers that are the product of two 512-bit prime numbers. That means they're pretty sparse among the set of all possible 1024-bit numbers, and it means they have a particular mathematical structure that can be exploited.

    Symmetric ciphers, like AES, are different. Unless there's something wrong with them, their keyspaces are flat, meaning that if they use n-bit keys, every possible n-bit value is a legitimate key. They have no particular mathematical properties, and there is no way to identify the right one except by trying them all.

    So, assuming that AES doesn't have some weakness that allows attacks faster than brute force to succeed, how long until we need to use keys bigger than 256 bits?

    Forever, basically. Barring weaknesses in the algorithm, 256-bit symmetric keys are safe until, as Bruce Schneier put it "computers are built from something other than matter and occupy something other than space."

    In Applied Cryptography he outlines an interesting little computation to demonstrate why this is. Suppose you had a computer that contained a 256-bit register that was maximally efficient, meaning that toggling a bit required exactly one quantum of energy. Since smaller units of energy don't exist, you can't do better than that[*]. With that assumption, you can calculate how much energy it would take to cycle your 256-bit counter through all possible states. Schneier calculates that if you could capture all of the energy from a typical supernova and run your counter on that, you could count from 0 all the way up through about 2^219. So you'd need about 130 billion supernovas to run your counter through all of its 2^256 possible states.

    That completely ignores the energy you'd need to perform a trial encryption with each of those values, and it also completely ignores how long it would take to perform all of these operations.

    Quantum computers that can somehow handle the complex structures of symmetric ciphers, or some other radical change in computing technology would be required to make 256-bit keys accessible to brute force. A flaw in AES is far more likely, IMO.

    [*] Just because someone will call me on it, I should point out that reversible computing means that in theory you might be able to do better than the theorized maximally-efficient computer. In practice, that probably isn't going to make your energy budget small enough to be reachable, and it certainly isn't going to help with the time factor.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  44. Re:How many people have the computing power ... by rpresser · · Score: 5, Funny

    Perhaps you should see the Prime Number Shitting Bear.

    Originally at http://www.primenumbershittingbear.com/ but that's long dead, so I dug it out of the Wayback Machine and put it up at http://rpresser.googlepages.com/primenumbershittin gbear.html . Enjoy.

  45. AI encryption? by caller9 · · Score: 2, Interesting

    http://science.slashdot.org/article.pl?sid=07/02/0 8/1355255

    Halfway down UbuntuDupe says:
    "No. If I needed to give someone in China the new encryption key, I'd simply put my own lock -- which only I have the key to -- on the suitcase. Then I'd ship it to him. Then he'd put his own lock on it (i.e., now it has my and his lock), and ship it back. Then I'd remove my lock and ship it to him. Then he'd remove his lock and open it."

    Replace "new encryption key" with data. Replace later references to key and lock with OTP.

    Works No?

  46. Re:How many people have the computing power ... by Zebedeu · · Score: 2, Funny

    It appears that you're out of bandwidth.
    Google to the rescue (hope it holds): http://alpha61.com/primenumbershittingbear

  47. Re:How many people have the computing power ... by ChiefNX · · Score: 2, Funny

    Right. Someone leave the site open until this bear shits out an undiscovered prime and we'll be rich.

  48. I don't expect much of an AC, but really. by Kadin2048 · · Score: 3, Informative
    Um, AES is elliptic curve? News to me...

    For christsakes, at least read the list; I linked to it. And I did say only the public key algorithms, so AES isn't even relevant.

    NSA Suite B:

    * Advanced Encryption Standard (AES) with keys sizes of 128 and 256 bits -- symmetric encryption
    * Secure Hash Algorithm (SHA-256 and SHA-384) -- message digest
    * Elliptic-Curve Menezes-Qu-Vanstone (ECMQV) -- key agreement
    * Elliptic-Curve Diffie-Hellman (ECDH) -- key agreement
    * Elliptic-Curve Digital Signature Algorithm (ECDSA) -- digital signatures


    What I said:
    "...all the PK [public key] systems are based on elliptic curves, and not prime factorization, for the trapdoor function."

    Of the algorithms in Suite B, AES and SHA aren't public-key algorithms; they're a symmetric block cipher and a hash function. The three relevant PK algorithms are ECMQV, ECDH, and ECDSA, and all of those are specifically noted as being "elliptic curve" variants, rather than the more common RSA-style prime-factorization-based algorithms.

    PK algorithms which use elliptic curves use an entirely different set of mathematical functions as the basis for their 'trapdoor' or 'puzzle' (the function that's easy to compute but difficult to run backwards) from RSA. They're based on a variation of the discrete logarithm problem. (From what I understand, the purest form of the discrete logarithm problem isn't reversible at all -- you can run it in one direction, but from the output you can't figure out all of the input parameters were with certainty -- so specific variations of the general problem are used, of which elliptic curves are one.)

    Given the popularity of RSA, I think its absence from the list is notable at the very least, and it's furthermore interesting that the NSA seems to really like elliptic curve systems as a basis for PK crypto. At least according to Wikipedia, nobody has ever published a proof of the mathematical hardness of elliptic curve systems...maybe they're even better than is currently realized. (Although, the real tinfoil hat response is, 'maybe they're really flawed somehow, and that's why the NSA wants you to use them!' However, I think this is doubtful for any number of reasons.)
    --
    "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."