What is the best way to calculate a checksum for a file that is on my machine?

前端 未结 20 2445
夕颜
夕颜 2020-12-22 17:22

I\'m on a Windows machine and I want to run a checksum on the MySQL distribution I just got. It looks like there are products to download, an unsupported Microsoft tool, an

20条回答
  •  时光取名叫无心
    2020-12-22 17:40

    Just to add another option for Windows users, the Get-FileHash PowerShell cmdlet can be used (https://technet.microsoft.com/en-us/library/dn520872.aspx).

    Example usage: Get-FileHash MyImage.iso -Algorithm MD5

    If all you're after is just the raw hash then: (Get-FileHash MyImage.iso -Algorithm MD5).Hash

提交回复
热议问题