Calculate or check common message digests. More information: https://rhash.sourceforge.net/manpage.php.
rhash path/to/file
rhash --sha1 --recursive path/to/folder > path/to/output.sfv
rhash --check path/to/file.sfv
rhash --sha3-256 --message 'message'
rhash --base64 --bsd path/to/file
rhash --printf '{{%p\t%s\t%{mtime}\t%m\n}}' path/to/file