MD5
openssl dgst -md5 123.bin
or
openssl md5 123.bin
or
md5 123.bin
or
md5 -s "text"
SHA1
openssl dgst -sha1 123.bin
or
openssl sha1 123.bin
HmacMD5
openssl md5 -hmac "replace_hmac_key_string_here" 123.bin
sha256
openssl sha256 filename