Difference between revisions of "Windows Batch Script to Calculate MD5 and SHA1 Digest"

From LentoMan
Jump to navigation Jump to search
(Created page with "== Windows Batch Script to Calculate MD5 and SHA1 Digest == Create a text file called '''hash.bat''' with the contents below and put on your desktop, you can then drop files...")
 
Line 2: Line 2:
Create a text file called '''hash.bat''' with the contents below and put on your desktop, you can then drop files on the shortcut to calculate hash digests:
Create a text file called '''hash.bat''' with the contents below and put on your desktop, you can then drop files on the shortcut to calculate hash digests:


@echo off
  certutil -hashfile %1 SHA1
  certutil -hashfile %1 SHA1
@echo.
  certutil -hashfile %1 MD5
  certutil -hashfile %1 MD5
  pause
  pause

Revision as of 11:40, 21 November 2017

Windows Batch Script to Calculate MD5 and SHA1 Digest

Create a text file called hash.bat with the contents below and put on your desktop, you can then drop files on the shortcut to calculate hash digests:

@echo off
certutil -hashfile %1 SHA1
@echo.
certutil -hashfile %1 MD5
pause