cmd basis CertUtil -hashfile view the file MD5

  •        OS : Windows 10 Version 1909
  •        blog : blog.csdn.net/shiwanwu
  •  typesetting : Markdown

code

C:\Users\Student\Desktop>CertUtil -hashfile test.txt md5
MD5 的 test.txt 哈希:
202cb962ac59075b964b07152d234b70
CertUtil: -hashfile 命令成功完成。

C:\Users\Student\Desktop>

more knowledge

C:\Users\Student\Desktop>CertUtil -hashfile /?
用法:
  CertUtil [选项] -hashfile InFile [HashAlgorithm]
  通过文件生成并显示加密哈希

选项:
  -Unicode          -- 以 Unicode 编写重定向输出
  -gmt              -- 将时间显示为 GMT
  -seconds          -- 用秒和毫秒显示时间
  -v                -- 详细操作
  -privatekey       -- 显示密码和私钥数据
  -pin PIN                  -- 智能卡 PIN
  -sid WELL_KNOWN_SID_TYPE  -- 数字 SID
            22 -- 本地系统
            23 -- 本地服务
            24 -- 网络服务

哈希算法: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

CertUtil -?              -- 显示动词列表(命名列表)
CertUtil -hashfile -?    -- 显示 "hashfile" 动词的帮助文本
CertUtil -v -?           -- 显示所有动词的所有帮助文本


C:\Users\Student\Desktop>

resource

  • [ doc - cmd ] docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/windows-commands
  • [Doc - OS] docs.microsoft.com/zh-cn/windows
  • [ msdn ] msdn.microsoft.com/zh-cn
  • [Platform] www.csdn.net


Thanksgiving has helped people over the division of all things.
cmd can perform common tasks, simple and fast start command, the proposed study.
There is spare capacity, you can look at PowerShell, PowerShell Core and Linux Shell.

Published 126 original articles · won praise 16 · views 60000 +

Guess you like

Origin blog.csdn.net/shiwanwu/article/details/104199815