3 ms·
> Please try not to roll your own encryption. It's frightening how easy it is to get this sort of thing completely wrong. He's not rolling his own encryption.
by geofft 10y ago
> Please try not to roll your own encryption. It's frightening how easy it is to get this sort of thing completely wrong.
He's not rolling his own encryption. That advice dates from the mid-'90s when people were inventing their own block ciphers.
The state of the art in disk encryption technology is absymal, e.g, no MACs at all, just some voodoo block ciphers that maybe offer tamper-resistance. If you want to do this sort of thing properly, you must roll your own cryptosystem.
There's the significant danger that the "don't roll your own crypto" mantra has separated the crypto-implementing community into two groups: one that's too self-confident to listen to any advice, and one that's too afraid to do anything but use existing crypto code that's probably been written by group 1. That's basically the story of SSL today, for instance. Let's not let that be the case any more.