# Use Windows command certutil to view the MD5 value of a file using the method:
CertUtil [Options]-hashfile InFile [HashAlgorithm]
Generate and display cryptographic hash over a file
Options:
* -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 algorithm flag: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
Example:
- Certutil-hashfile D:\file.extension MD5
- Certutil-hashfile D:\file.extension SHA1
- Certutil-hashfile D:\file.extension SHA256
Introduction to Commands:
Certutil.exe is a command-line program, which is installed as part of the 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.
Specific reference to Windows technical documentation----Click to jump
Windows command line view md5.md of files