How to calculate SHA-2 hash on a file to generate a 256-bit result (SHA-256)?
In the old days we used the openssl tool. I have heard that after terrible security vulnerabilities with openssl, the world has moved on to alternative tools. Does macOS Sierra ship with alternatives to openssl? What is the modern approach to running a SHA-256 hash?