The current way to do this is:

brew install md5sha1sum