Windows

命令:

  1. certutil -hashfile path md5

其中path为文件的绝对路径。除了MD5之外还支持SHA1、SHA256。
image.png

Linux

命令

  1. md5sum path