Actually c++ is also excellent if you use modern c++20 and greater. Crypto algos tend to be fairly small compared to a lot of other software and if you can't keep your coders disciplined enough to use memory safe code there then the company or project should probably go under because of skills issues.