Re:Rolling Your Own Crypto
by PeterisP on Tuesday December 20, 2016 @09:49PM
(#13226441)
Well, that's kind of the point - the default Encrypt(data,key) should also implement padding, combine blocks for arbitrary length messages, and include MAC; so that it's reasonably secure out of the box with the default settings. Key distribution is a different issue, but doing the abovementioned things would be sufficient to ensure that you can just run Encrypt/Decrypt(data, key) and expect most of the common tampering attacks to be impossible.
[ Parent
| on HN ]
There are no comments on this comment yet.