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.
[ Parent
| on HN ]
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.
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.