"Don't roll your own crypto" - an advice with a muddy purpose and a clear outcome:
- people treating cryptography like an arcane magic and a scarce pool of experts
- no pressure to make standards that are secure _and_ easy to implement
I guess the point is that cryptography is both difficult and dangerous, but you two are making the excellent point that popular vendors are not obviously reliable at succeeding to do a better job than an expert's bespoke one.
At the industrial scale, I suppose openbsd's funding exists because Theo is personally infinitely more reliable than any major trillion dollar company, or an industry consortium of rich companies.
jd do you know context about sharplispers ironclad?
@screwlisp @kirtai @jackdaniel i guess a better saying would be "know when rolling your own is ok"?
and often you shouldnt, but sometimes its the right choice?
Many complex domains require experience that is gathered by "rolling your own", preferably by adhering to existing standard - and then fixing it.
I think that emphasizing challenges like Crypto Pals and working on intelligible standards is the way to make rolling your own crypto more secure, and raising the bar of security universally.
To rephrase: "if it is interesting to you, go ahead and roll your own - but mind these gotchas. If you are not interested, then here are off-the-shelf known solutions." -- less arrogant with better outcome.
EDIT and there are of course use cases, where failures are critical. And that applies to cryptography and, say, databases -- you'd use known battle-proof crypto and database engines in these projects. But nobody says without any context "don't roll your own database".
Edit2:
1. make educational challenges like Crypto Pals
2. work on intelligible standards
3. work on adversarial test suites