News for hackers. Stuff that matters.
Re:Rolling Your Own Crypto by neaden on Tuesday December 20, 2016 @12:58PM (#13222203)
I'm glad he put that up at the top instead of trying to hide it. The moral of the story appears to be indeed: Don't roll your own crypto.
Re:Rolling Your Own Crypto by inetsee on Tuesday December 20, 2016 @01:04PM (#13222269)
I think rolling your own crypto, as a learning exercise, can be very helpful when choosing which trusted crypto solutions to use for a particular use case.
Re:Rolling Your Own Crypto by lvh on Tuesday December 20, 2016 @02:19PM (#13222974)
Breaking crypto is certainly an excellent way to learn many kinds of crypto. The problem is that writing your own typically isn't enough by itself -- a lot of horribly broken crypto looks fine after casual inspection. You probably won't find bugs like CBC padding oracles or Bleichenbacher attacks all by yourself. You can, however, absolutely _implement_ them yourself. I recommend cryptopals, together with my own free book, Crypto 101 if you prefer a little prose versus trying to figure it out yourself.
Re:Rolling Your Own Crypto by loup-vaillant on Thursday December 22, 2016 @07:37AM (#13236841)
I draw a different conclusion: don't roll crypto on your own. https://www.reddit.com/r/programming/comments/5iv1ti/rolling...

I have updated my article since, and also made clear you can still screw up even if you had help.