mhash

Uniform interface to a large number of hash algorithms

brewmacoslinux
Try with needOr install directly
Source

About

Uniform interface to a large number of hash algorithms

Commands

mhash

Examples

Display available hash algorithms$ mhash --help
Calculate MD5 hash of a file$ mhash -h md5 filename.txt
Calculate SHA256 hash of a string$ echo 'text' | mhash -h sha256