Windows 10 內建 checksum (Hash) 工具

Checksum Tool 用途:

下載檔案後為了查驗完整性都需要透過 Checksum Tools 確認 MD5 or SHA 的值是否正確。

Linux Checksum Tools:

  • Linux 預設提供 md5sum、shasum 工具查驗 checksum values.

Windows Checksum Tool:

  • Windows 10 以前需要透過第三方工具進行 Checksum
  • Windows 10 以後提供內建工具 certutil 進行 Checksum

    使用方式如下:

    1. 開啟 cmd.exe
    2. 輸入以下指令
      certutil -hashfile (FileName) (Hash Method)
    3. Example:
      certutil -hashfile TestFile.txt md5

      備註:

       Hash Method,預設為 SHA1,若需其他方法 ex. MD5 須指定.