It doesn't encourage people to try and build commercial jet airliners in their back sheds. You can follow a tutorial and build a KitFox or whatever, which is the equivalent of coding, I dunno, a virtual Enigma machine or something. You can't follow a tutorial to learn how to design an Airbus A380.
I missed the last sentence. But I think this is also misleading. General aviation is obviously far more dangerous than commercial aviation, and home-built planes are, by a factor of 2-3x, more dangerous than the rest of general aviation.
If you're telling me that there's a mainstream part of general aviation advocating that random people build planes to take strangers for rides in (or, to complete the analogy to crypto, to give to random strangers to themselves fly), I'm going to push back on that.
You're telling me that the general aviation community is, in the mainstream, of the mind that "anyone who wants to" build airplanes to sell to other people should be doing so? With no additional qualifiers?
Not to sell. But for their own use, yes, absolutely. Anybody who wants to. It turns out not very many people want to, particularly when they find out how much work it is. But almost certainly the same is true of crypto.
Not only is that not true, it's demonstrably not true: when people write code, they actively want other people to use it. By way of example, the author of the library we're discussing here, "Monocypher", has declared it "ready for production" and has a web page selling its virtues versus libsodium and NaCl.
People who write crypto code as a rule are not doing it for their own edification, which is why so many more people spend time writing libraries and encryption tools and so few people spend time writing the code to exploit crypto vulnerabilities.
You said that it's almost certainly the case that people building their own crypto are doing it solely for their own purposes and that people won't even bother to complete their work. Obviously: no.
I wrote "almost certainly the same is true of crypto" meaning that almost certainly very few people actually want to implement crypto (just as very few people actually want to build airplanes) for any reason, and so the desire to do so serves as a pretty effective filter to eliminate "random people" doing it.
Of those few who want to do it, some will want to do it for personal reasons and some will want to do it for commercial reasons, just as in aviation.