Slashdot Mirror


Schneier On the US Crypto Competition

Bruce Schneier has a commentary in Wired titled An American Idol for Crypto Geeks on the US government's competition for a new cryptographic hash function to become the national standard, covered here recently. He talks about how much the competition, slated to wrap up by 2011, will advance the cryptographic state of the art. And how much fun he expects to have.

58 comments

  1. Terrorists?? by MrShaggy · · Score: 5, Funny

    But I though that it was only terrorists that use encryption??

    --
    I have mod points and I am not afraid to use them.
    1. Re:Terrorists?? by Anonymous Coward · · Score: 1, Funny

      Don't worry son. I'm sure they'll get to him anytime now.

    2. Re:Terrorists?? by Anonymous Coward · · Score: 0

      "US government's competition for a new cryptographic hash function to become the national standard"

      you are correct :)

    3. Re:Terrorists?? by darkhitman · · Score: 1, Informative

      Encryption is not the same as hashing.

      Damn terrorists!

      --
      Tell me something...it's still "We, the people"... right?
    4. Re:Terrorists?? by skintigh2 · · Score: 1

      Back in my day, it was only pedophiles and drug runners that used encryption. Oh, how times and emotionally munipulative FUD have changd.

  2. Well... by tomstdenis · · Score: 0, Redundant

    I'm glad that Bruce has an opinion about this. Good lord, I don't know how I would make it through monday without hearing what Bruce thinks about something.

    NEXT!

    Tom

    --
    Someday, I'll have a real sig.
  3. Donald Rumsfeld is the early favourite by Timesprout · · Score: 2, Funny

    After submitting some of his more cryptic speeches.

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
    1. Re:Donald Rumsfeld is the early favourite by ErikTheRed · · Score: 1

      After submitting some of his more cryptic speeches.
      Well, SHA's not a cipher... but considering the hash (see def #7) Rumsfeld & co made in Iraq....
      --

      Help save the critically endangered Blue Iguana
  4. tasty by qwertphobia · · Score: 1, Funny

    mmm.... hash browns

    --
    Never ask for directions from a two-headed tourist! -Big Bird
  5. American Idol? by CerebusUS · · Score: 3, Funny

    Please, oh please oh please don't let there be a William Hung to spring from this.

    1. Re:American Idol? by Darth_brooks · · Score: 1

      C'mon, You know you wanna hear someone do "She !'s, She !'s"

      --
      There are some people that if they don't know, you can't tell 'em.
    2. Re:American Idol? by forkazoo · · Score: 2, Funny

      Please, oh please oh please don't let there be a William Hung to spring from this.


      Maybe this guy should submit his work. He'd be right about on William Hung's level of competetiveness....
      http://xkcd.com/c153.html
    3. Re:American Idol? by Anonymous Coward · · Score: 0
      oh come on the Hung Algorithm:

      byte *HungEncrypt(byte *data, int len)
      {
      byte *output = new byte[len];

      for(int x=0; x < len; x++)
      output[x] = data[x] + 256;

      return output;
      }
    4. Re:American Idol? by CerebusUS · · Score: 1

      Ha! I love that guy.

    5. Re:American Idol? by Anonymous Coward · · Score: 0

      Please, oh please oh please don't let there be a William Hung to spring from this.
      Rot13 Rot13, oh baby.
      Rot13 Rot13, drive me crazy.
    6. Re:American Idol? by Anonymous Coward · · Score: 0

      C'mon, You know you wanna hear someone do "She !'s, She !'s"

      Oh baby and she mv's! She mv's!

    7. Re:American Idol? by h4rm0ny · · Score: 1


      Wow! Thank you. I'd never seen that series before. I love it! It's mathematical and yet so sweet!

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    8. Re:American Idol? by strider44 · · Score: 1

      Alright, I love XKCD but I've got to ask someone for an explanation for that specific comic - I've never listened to Missy Elliot.

    9. Re:American Idol? by CerebusUS · · Score: 1

      Missy Elliot's Work It lyrics:

      This is a Missy Elliott one-time exclusive (Come on)

      Is it worth it, let me work it
      I put my thang down, flip it and reverse it
      I put my thang down, flip it and reverse it


      I'm not a huge rap fan, but I generally dig her stuff.

  6. Fun ??? by jfbus · · Score: 3, Funny

    And how much fun he expects to have. Sometimes, I wonder whether we live in the same world...
    1. Re:Fun ??? by realnowhereman · · Score: 4, Funny

      Repeat after me. It's okay. This is a site for geeks. I don't have to pretend to be cool here. Being interested in encryption does not make me a bad person. I am not in high school any more.

      --
      Carpe Daemon
    2. Re:Fun ??? by Goaway · · Score: 1

      Yes, obviously intellectual exercise is always dull and boring. Who the hell wants to THINK when you could WATCH TV?

    3. Re:Fun ??? by gkhan1 · · Score: 1

      You just gave me a flashback of me studying the DES standard during breaks and people looking weirdly at me. You know, "Look, these S-boxes are so cool!".

      It was nice to impress people by cracking some simple ciphers though. That didn't last long, however....

    4. Re:Fun ??? by An+ominous+Cow+art · · Score: 1

      Don't think of it as 'American Idol', think of it as 'American 0x000001D0L'.

  7. SHA-256? by Bromskloss · · Score: 2, Interesting

    What about SHA-512?

    --
    Swedish plasma phys. PhD student; MSc EE; knows maths, programming, electronics; finance interest; seeks opportunities
    1. Re:SHA-256? by Phleg · · Score: 3, Interesting

      It uses a word size of 64 bits, so is not as fast on 32-bit computers. Also, I believe it's received less scrutiny than SHA-256. IANAC.

      --
      No comment.
    2. Re:SHA-256? by Anonymous Coward · · Score: 0

      There should be a SHA-8196.

    3. Re:SHA-256? by Anonymous Coward · · Score: 0, Funny

      LOL! No you newb there should be a SHA-1337 cuz I'm so 313373 lolz rolfm!

      AC FTW!

    4. Re:SHA-256? by archen · · Score: 5, Insightful

      If your algorithm is showing weaknesses, then throwing more bits at the problem is best reserved as a temporary solution. At the worst this competition will just give us an alternative hash algorithm, and that is probably reason enough to have it.

    5. Re:SHA-256? by kestasjk · · Score: 2, Insightful

      Also it's still based on the SHA-1 algorithm that was "broken".
      For practical purposes even SHA-1 is still reasonably safe, but it'd be best to learn from the cryptanalysis and research of almost two decades if we're going to make everyone change their hashing algorithm anyway.

      --
      // MD_Update(&m,buf,j);
    6. Re:SHA-256? by Library+Spoff · · Score: 1

      off topic(ish) but...

      So what option should I be using in Truecrypt for my partition that i've got encrypted?
      I'm using the default out the box encryption -can't remember what off the top of my head, i'm at work.

      I'm not bothered about the government breaking it - it contains banking information and other stuff they could get at anyway, Just yer average cr/hacker.

      My pc is a dualcore Athlon64 with 2 gig of ram if that makes a difference.

      --
      Acid House saves Souls
    7. Re:SHA-256? by draziw · · Score: 1

      Select Tools->Benchmark, and run with one that is fastest on your system. :) - For protection from citizens, any of them will do fine for many years.

    8. Re:SHA-256? by DarthTaco · · Score: 1

      "If your algorithm is showing weaknesses, then throwing more bits at the problem is best reserved as a temporary solution."

      All cryptographic solutions are temporary.

    9. Re:SHA-256? by Chandon+Seldon · · Score: 1

      All cryptographic solutions are temporary.

      I'm not sure where this idea comes from, but it's largely false.

      You hear a lot about cryptographic breaks because they make good news on Slashdot, but the fact of the matter is that if you encrypted something in 1978 using 3-DES it'd still be 100% secure today. If you encrypt something today using a secure 256-bit symmetric key encryption algorithm it will remain secure forever unless something really unexpected happens in computing (and no, quantum computers aren't unexpected enough).

      Now, we don't yet have a good enough understanding of the math behind encryption to prove that a given algorithm is secure, so someone could always discover a serious design fuckup and crack an algorithm. That happens pretty rarely with major algorithms. We understand cryptographic hash algorithms even less than symmetric key encryption algorithms... that's why MD5 and SHA1 got cracked, and why this hash contest is really valuable.

      I can't say that our crypto is secure, but I can say that it's not "temporarily secure". If it's broken, it will be because of a design flaw, not because computers got faster.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    10. Re:SHA-256? by Chandon+Seldon · · Score: 1

      For practical purposes even SHA-1 is still reasonably safe.

      That's a very dangerous statement. It can be much easier to extend theoretical attacks into practical attacks than you might think. Cryptographic algorithms only provide any security at all because they are supposed to have specific mathematical properties. SHA-1 doesn't have the ones it's supposed to.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
  8. That man gets everywhere by hawkinspeter · · Score: 4, Funny
    --
    You're a temporary arrangement of matter sliding towards oblivion in a cold, uncaring universe
    1. Re:That man gets everywhere by Anonymous Coward · · Score: 0

      Bruce Schneier knows you are reading this.

  9. Whirlpool by rumplet · · Score: 1

    But I guess that's out since it's patent free.

    1. Re:Whirlpool by MostAwesomeDude · · Score: 3, Informative

      The patents (or lack thereof) have not had effects on cryptography endorsements before. One of the more popular AES candidates in use is the 384-bit key-based cipher, Blowfish, which has a public domain specification and is very useful in slow key-rescheduling conditions. One common use is for LUKS or Truecrypt hard drive encryption, and another is in BSD password hashes (the idea being that it takes the cipher about two seconds to reset itself internally each time a password is guessed, and so even with the ciphertext, the password takes a longer time to crack.)

      --
      ~ C.
    2. Re:Whirlpool by Anonymous Coward · · Score: 0

      Blowfish wasn't ever an AES candidate, it's not compliant with much of the AES criteria. Twofish was the AES candidate from that group.

    3. Re:Whirlpool by Ckwop · · Score: 2, Informative

      The patents (or lack thereof) have not had effects on cryptography endorsements before.

      Yes they have. In particular the AES competition required that submitters adhere to certain restrictions regarding patents.

      One of the more popular AES candidates in use is the 384-bit key-based cipher, Blowfish, which has a public domain specification and is very useful in slow key-rescheduling conditions.

      Blowfish was never an AES candiate

      .. Blowfish, which has a public domain specification and is very useful in slow key-rescheduling conditions.

      I'm not even sure what you mean here. On the whole, a slow key-schedule is a bad idea. You want your key schedule to be as fast as possible. The reason for this is that a fast key-schedule means you can target more platforms with the cipher (such as smart cards et al).

      If you want to slow down dictionary attacks there are better ways to do this. Repeatedly hashing the passphrase is more sensible since the number of hashes can be scaled to the platform speed. Stopping a brute-force of a smart card is a world different to brute-force of a PGP disk.

      Blowfish on the whole is a poor design. Now that we have AES I would recommend that over anything else.

      Simon

    4. Re:Whirlpool by iabervon · · Score: 1

      IIRC, the algorithm the same group chose for AES was patent-free. This was despite some people wanting them to choose a patented algorithm because the contest requirements included that the winner would have to license any necessary patents to everyone for free. So choosing a patented algorithm would have meant that you and I could use one more AES-finalist-quality algorithm.

  10. I Win! by lottameez · · Score: 2, Funny

    73 32 76 105 110 33

    --
    Yeah? Well I think you're overrated too.
    1. Re:I Win! by LordP · · Score: 2

      Nooo... 4 8 15 16 23 42

      --
      Nothing is so smiple that it can't be screwed up.
    2. Re:I Win! by Anonymous Coward · · Score: 0

      'I Lin!' ? I don't get it.

    3. Re:I Win! by gkhan1 · · Score: 1

      447564652C207468617420776F756C64206861766520626565 6E207761792066756E6E69657220696620796F75206861646E 2774206D65737365642075702074686520617363696900

  11. I've got the solution!! by JimXugle · · Score: 1

    [ASCII text in Binary string] + 1

    It's so simple that it might just work!

    --
    -jX

    Don't you just love politics? It's like a comedy of errors.
    1. Re:I've got the solution!! by Anonymous Coward · · Score: 0

      That's amazing! I've got the same combination on my luggage!

    2. Re:I've got the solution!! by fuego451 · · Score: 1

      Funny. I was thinking md5sum-1.

    3. Re:I've got the solution!! by DamnStupidElf · · Score: 1

      [ASCII text in Binary string] + 1

      It's so simple that it might just work!


      J think you're right! (this message hashed)

  12. Theyre sking to find unSHA func or bigger word bit by rogtioko · · Score: 3, Interesting
    NIST is either looking for an entirely revolutionary function to the SHA series, considering the emphasis that SHA-1 has been around since 1995, or seeking a function that supplies words greater than 64bits and also but albeit distantly 256bit and higher to counter higher chunk rate processors. If they're looking for something different than SHA, here are factors they are considering: the fact that all the SHA hashes after SHA-1 use part, maybe all, of SHA-1's 4 functions and vary only by the function's output word bit size, which SHA-256 and SHA-384-512 change with summation functions into the mix. For example, here is SHA-1's functions

    f subscript t (x,y,z) =

    Ch(x,y,z)=(x^y) xor (complement x^z) 0 less than or = t less than or = 19

    Parity (x,y,z)=x xor y xor z 20 less than or = t less than or = 39

    Maj (x,y,z)=(x^y) xor (x^z) xor (y^z) 40 less than or = t less than or = 59

    Parity (x,y,z)=x xor y xor z 60 less than or = t less than or = 79

    (4.1)

    and SHA-384 and SHA-512 functions

    Ch( x,y,z) = ( x^y) xor (complement x^z) (4.8)

    Maj(x,y,z) = (x^y) xor (x^z) xor (y^z) (4.9)

    (big sigma subscript 0) (superscript {512}) (x) = ROTR (superscript 28) (x) xor ROTR (superscript 34) (x) xor ROTR (superscript 39)(x) (4.10)

    (big sigma subscript 1) (superscript {512}) (x) = ROTR (superscript 14) (x) xor ROTR (superscript 18) (x) xor ROTR (superscript 41) (x) (4.11)

    (small sigma subscript 0) (superscript {512}) x = ROTR (superscript 1) (x) xor ROTR (superscript 8)(x) xor SHR (superscript 7) (x) (4.12)

    (small sigma subscript 1) (superscript {512}) x = ROTR (superscript 19) (x) xor ROTR (superscript 61) (x) xor SHR (superscript 6) (x) (4.13)

  13. Bruce could take the Simon Cowell role... by mutterc · · Score: 2, Funny

    ... insulting the inferior entries.

    (Search his site for "The Doghouse" for some smackdowns of snake-oil crypto products.)

  14. The NSA's entry.... by slcdb · · Score: 1

    I heard the NSA is entering a new hash algorithm, named AYBABTU, into the competition. Interestingly, reverse engineering of the algorithm has shown it to be very similar to an algorithm, tentatively named Eksore, that was submitted to the contest by a local Junior High cryptography team.

    --
    Despite what EULAs say, most software is sold, not licensed.
  15. Fine. So where is sha2sum ? by Anonymous Coward · · Score: 0

    Just did a quick search on google and I couldn't find anything regarding sha2sum... it ain't part of coreutils... So, how do we use SHA-256/512 on Linux ?

  16. i for one, by stupidsocialscientis · · Score: 1

    cpx up pvs fodszqujpo pwfsmpstet!

    --
    Well, as far as Sig's go, Freud was a doozy.
    1. Re:i for one, by mbessey · · Score: 1

      QNS-27 dmbqxoshnm, dg? H khjd hs. Ax sgd vzx, xnt lhrodkkdc "Nudqknqcr"