1,MacOS 校验iso sha256值、md5值

  • 1,校验iso sha256值
openssl dgst -sha256 CentOS-7-x86_64-Minimal-1611.iso 
SHA256(CentOS-7-x86_64-Minimal-1611.iso)= 27bd866242ee058b7a5754e83d8ee8403e216b93d130d800852a96f41c34d86a

  • 2,校验sha1
$ openssl sha1 jetbrains-agent.jar 
SHA1(jetbrains-agent.jar)= 7e33808be895f1020555f1a28b7ec31a37355087
  • 3,校验md5值
openssl md5 libqcocoa.dylib
MD5(libqcocoa.dylib)= 9c8fa1ec2d16bc18e326f362918b0cb9

2,linux md5值校验

# md5sum filecoin-proof-parameters-v20.tar.gz > filecoin-proof-parameters-v20.tar.gz.md5
# md5sum  -c filecoin-proof-parameters-v20.tar.gz.md5
filecoin-proof-parameters-v20.tar.gz: OK

参考:
1,Mac 下验证下载文件的 MD5/SHA1/SHA256

Logo

更多推荐