有时候下载软件或文件时候需要进行 hash 校验来验证文件的完整性,虽然网络上有很多方便的小工具,但其实 Windows 也有自带类似的工具,只要在命令行输入命令即可。

格式:
certutil -hashfile < 文件路径 > <hash 类型 >
例如:
certutil -hashfile a.zip sha1
certutil -hashfile a.zip md5
有时候下载软件或文件时候需要进行 hash 校验来验证文件的完整性,虽然网络上有很多方便的小工具,但其实 Windows 也有自带类似的工具,只要在命令行输入命令即可。
格式:
certutil -hashfile < 文件路径 > <hash 类型 >
例如:
certutil -hashfile a.zip sha1
certutil -hashfile a.zip md5
本文标题:《windows 命令行对文件进行 md5/sha1sum 等哈希校验》作者:极四维博客
原文链接:http://m.cway.top/post/798.html
特别注明外均为原创,转载请注明。
扫描二维码
可在微信查看或分享至朋友圈。
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。