====== Windows 10 內建 md5 / sha256 工具 ====== 下載檔案後會透過計算檔案 hash 值來判別檔案的完整性, 在 linux 幾乎都有內建 md5sum sha256sum 這些 hash 計算的命令, 但在 Windows 7 之前都需要額外下載安裝 [[https://www.winmd5.com/|WinMD5]] 才能計算檔案的 md5 hash 值, 現在 Windows 10 已經有內建計算檔案 hash 值工具 **certutil** 使用方式如下: certutil -hashfile 例如計算 C:\Users\jonathan\Downloads\demo1.2.ova 這個檔案的 md5 hash 值 C:\Users\jonathan>certutil -hashfile "Downloads\demo1.2.ova" md5 MD5 的 Downloads\demo1.2.ova 雜湊: 5cd3c5aa3d417f048a4cb29ee8f23d2d CertUtil: -hashfile 命令成功完成。 ===== 參考網址 ===== * https://tkunlin.medium.com/windows-10%E4%B8%8B%E7%9A%84-checksum-%E6%AA%A2%E6%9F%A5%E7%A2%BC-%E6%9F%A5%E9%A9%97%E6%AA%94%E6%A1%88%E7%9A%84%E6%AD%A3%E7%A2%BA%E6%80%A7-69ce4824e0a5 {{tag>win10 hash md5 sha256}}