News for hackers. Stuff that matters.
Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ... by tom_b on Wednesday June 03, 2009 @10:07AM (#639774)
I enjoyed it, even if it makes my head spin. I'm several years from my last reading of 'Applied Cryptography' and have never really gone into the deep end of that pool. So what, it [edit: meaning the blog article] is a fun read of hacking away in the security code world.

[edit: Thomas, thanks for the book recommendation below, I'll definitely grab a copy]

Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ... by tptacek on Wednesday June 03, 2009 @10:14AM (#639786)
Throw that book away, and buy Ferguson and Schneier's "Practical Cryptography", which Schneier contributed to in penance for writing "Applied Cryptography". Portions of the proceeds of "Practical Cryptography" are donated to a fund that helps the people who wrote crypto based on "Applied Cryptography".
Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ... by dschobel on Wednesday June 03, 2009 @12:44PM (#639996)
What in particular is wrong with "Applied Cryptography" ?
Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ... by tptacek on Wednesday June 03, 2009 @01:15PM (#640030)
Lots of random facts about crypto trivia. Not a lot of context. Even less information about how to actually safely use crypto primitives. You'll come out of it knowing how to get CAST or IDEA into your code --- two ciphers nobody uses anymore --- but not how to properly choose an IV for CBC mode.

Everything that is wrong with "Applied" is right with "Practical". "Here are 4 modern block ciphers. We wrote one of them. Don't use it. You should use AES, but if you're a paranoid, use Serpent. But really use AES." It's great stuff, especially because if you really read it, you're going to end up not implementing crypto directly at all.

Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ... by gchpaco on Wednesday June 03, 2009 @02:09PM (#640128)
Nothing, if you know exactly what you're doing. But it's not very good about explaining why e.g. throwing error messages is bad. It's sort of like a toolbox full of really sharp, pointy things with the implicit understanding that sticking your hand in blindly will hurt, and then being surprised when there's a rash of hand injuries.