码迷,mamicode.com
首页 > Windows程序 > 详细

Windows命令行查看文件的MD5.md

时间:2018-01-07 17:31:16      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:command   one   ica   exe   body   hash   sys   文件   tps   

# 使用Windows命令certutil查看文件的MD5值

使用方法:

CertUtil [Options] -hashfile InFile [HashAlgorithm]
Generate and display cryptographic hash over a file

选项:

* -Unicode                                     -- Write redirected output in Unicode
* -gmt                                            -- Display times as GMT
* -seconds                                    -- Display times with seconds and milliseconds
* -v                                                -- Verbose operation
* -privatekey                                 -- Display password and private key data
* -pin PIN                                      -- Smart Card PIN
* -sid WELL_KNOWN_SID_TYPE  -- Numeric SID
    1. 22 -- Local System
    2. 23 -- Local Service
    3. 24 -- Network Service

Hash 算法标志: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512

例子:

  • certutil -hashfile D:\file.extension MD5
  • certutil -hashfile D:\file.extension SHA1
  • certutil -hashfile D:\file.extension SHA256

命令简介:

Certutil.exe is a command-line program that is installed as part of Certificate Services. You can use Certutil.exe to dump and display certification authority (CA) configuration information, configure Certificate Services, backup and restore CA components, and verify certificates, key pairs, and certificate chains.

具体参考windows技术文档 - - - - 点击跳转

Windows命令行查看文件的MD5.md

标签:command   one   ica   exe   body   hash   sys   文件   tps   

原文地址:https://www.cnblogs.com/lichsh/p/8227999.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!