使用 certutil.exe 获取文件 SHA256SUM 哈希值的方法 C:\Windows\System32\certutil.exe 是Windows自带的工具。 使用方法如下: 1)开始菜单打开“命令提示符”(C:\Windows\System32\cmd.exe) 2)输入以下命令: certutil.exe -hashfile <替换成真实的文件完整路径> sha256 例如:target.tar 文件 certutil.exe -hashfile target.tar sha256 输出为: SHA256 的 target.tar 哈希: 5b887a5271be33ecfdd32d7137eb6c89171420d6befb45e4f2c1dc8fe465620d CertUtil: -hashfile 命令成功完成。