Skip to main content

certutil 备忘

hashfile

  • 功能: 获取文件的hash
  • 格式:
certutil -hashfile <file> <type>
  • 例子:
# 获取 a.txt 的 sha1 值
certutil -hashfile a.txt sha1