3 ms·
>> This shows crypto is much too hard. Crypto is hard, and you shouldn't really be making these choices. >> I shouldn't have to know about the chinese remaind
by Nursie 13y ago
>> This shows crypto is much too hard.
Crypto is hard, and you shouldn't really be making these choices.
>> I shouldn't have to know about the chinese remainder theorem to use crypto properly.
Then stay out of it. Choose a library/framework that is popular, well tested and high level enough that you don't have to make these choices.
- norswap 13y agoAny pointers? And I don't something that will take care of everything for me, but simply a pair of encrypt / decrypt functions.
- Nursie 13y agoThe usual ones to recommend here are KeyCzar and NaCl (apparently pronounced salt, not related to saltstack AFAICT). NaCl in particular provides simple Public/Private and Symmetric modes. The Authenticated Encryption Symmetric mode here is good - http://nacl.cr.yp.to/secretbox.html http://nacl.cr.yp.to/secretbox.html
- kevinpet 13y agoHis complaint is that crypto is to hard to use. This is a valid complaint and "don't do it" isn't a valid solution. Too many "libraries" consist only of implementations of the crypto algorithms, but don't give any help with the proper use.
- Nursie 13y ago>> His complaint is that crypto is to hard to use. Yes, and if you're going to use low level constructions he's right, and that will never change. >> This is a valid complaint and "don't do it" isn't a valid solution. Except that's not what I said, I said find a higher level library. When he asked I gave examples. >> Too many "libraries" consist only of implementations of the crypto algorithms, but don't give any help with the proper use. Then these may be the wrong libraries to use to secure your application. Great libs to poke around in the lower levels for a variety of other purposes of course.