mac生成md5,sha-1

计算 MD5 校验和
md5 /tmp/hello.txt

计算 SHA-1 校验和
shasum -a 1 /tmp/hello.txt

计算 SHA-256 校验和
shasum -a 256 /tmp/hello.txt

posted @ 2020-03-20 19:36  姚狗蛋  阅读(235)  评论(0编辑  收藏  举报