SyntaxFix
Write A Post
Hire A Developer
Questions
If you have installed openssl, you can use:
openssl
echo -n "foobar" | openssl dgst -sha256
For other algorithms you can replace -sha256 with -md4, -md5, -ripemd160, -sha, -sha1, -sha224, -sha384, -sha512 or -whirlpool.
-sha256
-md4
-md5
-ripemd160
-sha
-sha1
-sha224
-sha384
-sha512
-whirlpool