<< Click to Display Table of Contents >> Navigation: File System Tools > checksum > Usage |
Command Line Parameters
checksum /s /a:ENTROPY|CRC32|MD5|SHA1|SHA256|SHA384|SHA512 <filename>
/a |
algorithm to use, can be one of the following (case sensitive): ENTROPY, CRC32, MD5, SHA1, SHA256, SHA384 or SHA512. Default is SHA256.
Note: Entropy is neither a cryptographic algorithm nor will it produce a checksum |
/c |
comparison checksum, affects %ERRORLEVEL% (match=0, no match=1) |
/e |
calculate the "Shannon" entropy of the specified file |
/s |
Verify the digital signature of the file and display its digital signature information (if available) |
/b |
Brief output, only displays checksum |
/t |
Display/guess file type regardless of extension |
filename |
path to the filename to generate the checksum from |
The file entropy is only calculated for files with a file size of less than 512Mb . |
Examples
Example 1: Create a SHA 512 checksum of file C:\Windows\notepad.exe
checksum /a:SHA512 c:\windows\notepad.exe
Example 2: Create a SHA 512 checksum and calculate the entropy of file C:\Windows\notepad.exe
checksum /e /a:SHA512 c:\windows\notepad.exe