3 ms·
Cryptography is like civil engineering or surgery. If you're going to do it in production, you need to do it right. I think it's akin to a family physician say
by Waterluvian 8y ago
Cryptography is like civil engineering or surgery. If you're going to do it in production, you need to do it right.
I think it's akin to a family physician saying, "this is best left to the surgeons."
Don't be fooled that just because you can write code, you can do crypto. But also, you can learn and you can also completely mess around in a safe, non-production environment.
Maybe my analogy is a bit weak.
- nicoburns 8y agoI think your analogy is pretty spot on. Cryptography is an additional skill on top of general programming, and it's a difficult one to master. And if you haven't mastered it, then you shouldn't be trying to do it in important situations (assuming there is an alternative).
- andy_ppp 8y agoI disagree, cryptography is like any programming; make sure it’s correct with tests, peer review and validation and check the warnings (this warning should be an error). The fact that a small example gets this badly wrong and the API allows this is probably down to the ecosystem, not down to only cryptographers being “allowed” to used crypto. The surgery idea is wrong; surgery is the implementation of the encryption which no one is advocating - this is more like a pharmacist giving you the wrong pills and you not reading the instructions/warnings before taking them.