利用openssl验证文件,linux, MacOS等。

SHA-1

openssl sha1 /full/path/to/file

SHA256:

openssl dgst -sha256 /full/path/to/file

MD5:

openssl md5 /full/path/to/file