Windows

certutil -hashfile <文件名> <hash类型>
certutil支持的算法有:MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

macOS

md5 /works/Hello.txt
openssl dgst -sha1 /works/Hello.txt
openssl dgst -sha256 /works/Hello.txt

Linux

md5sum /works/Hello.txt
sha1sum /works/Hello.txt
sha256sum /works/Hello.txt

作者 Assaultcore

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注