How to generate the SHA-512 hash with OpenSSL from command line without using a file?
I\'ve tried this
echo \"password\" | openssl dgst -sha512
If you're using MacOS, you might stumble upon a case where the echo is ignoring the -n argument. To workaround that, call the binary directly:
echo
-n
/bin/echo -n "password" | openssl sha512