4 ms·
Does it? I'm not disputing you, I'm curious why you think so.
by samdoesnothing 10mo ago
Does it? I'm not disputing you, I'm curious why you think so.
- pants2 10mo agoNot OP, but Go has some major advantages in cryptography: 1. Well-supported standard libraries generally written by Google 2. Major projects like Vault and K8s that use those implementations and publish new stuff 3. Primary client language for many blockchains, bringing cryptography contributions from the likes of Ethereum Foundation, Tendermint, Algorand, ZK rollups, etc
- adastra22 10mo agoDo you mean “best support for cryptography in the standard library”? Because there is tremendous support for cryptography in, say, the C/C++ ecosystem, which has traditionally been the default language of cryptographers.
- fsmv 10mo agoYeah the standard library crypto package is really good and so is the tls package. There's also golang.org/x/crypto which is.seprate because it doesn't fall under the go compatibility guarantee. You can do all kinds of hashes and generate certs and check signatures and do aes encryption all built in and accessible. There's even lower level constant time compare functions and everything. I'm a big fan of the go standard library + /x/ packages.
- Mawr 10mo agoAnd since any language can call those C/C++ libraries, all languages are equally good at cryptography! Thanks for the "insight".
- int_19h 10mo ago"The best" is still a strong claim. How does it stack up against Java or C#, for example?
- drowsspa 10mo ago4. The community seems to have realized that untangling the mess that is building C/C++ stuff is a fool's errand and seems to mostly prefer to reimplement it in Go