Windows cmd 命令提示符之 certutil 命令

70 阅读1分钟

Windows cmd 命令提示符之 certutil 命令

hashfile

  • 计算 SHA-1
//sha1 可以省略
certutil -hashfile test.txt sha1
  • 计算 SHA-256
certutil -hashfile test.txt sha256
  • 计算 SHA-512
certutil -hashfile test.txt sha512
  • 计算 MD5
certutil -hashfile test.txt md5