libmd

Message digest cryptographic functions library from BSD systems.

brewmacoslinux
Try with needOr install directly
Source

About

Message Digest functions from BSD systems

Examples

compute MD5 hash of a file$ md5 myfile.txt
compute SHA1 checksum of a file$ sha1 myfile.txt
compute SHA256 hash of a file$ sha256 myfile.txt
verify file integrity with MD5 checksums$ md5 -c checksums.md5
hash multiple files and compare results$ sha1 file1.txt file2.txt file3.txt