HASH

<< Click to Display Table of Contents >>

Navigation:  TCC > Commands >

HASH

Purpose:Display a hash value for the specified file(s)

 

Format:HASH [/= /[range] /A:xxx /E /L /CKSUM /CRC32 /MD5 /SHA1 /SHA256 /SHA384 /SHA512] filename ...

 

File Selection

 

Supports extended wildcards, ranges, multiple file names, and include lists.

 

Usage:

 

The HASH command generates a file's hash value using the specified algorithm. The hash value is a unique value corresponding to the content of a file. If two files have the same hash value and they're using SHA256, SHA384, or SHA512, then they have the same content (regardless of their file names or locations).

 

HASH will default to SHA256.

 

If you don't enter any arguments, HASH will display its command dialog.

 

Option:

 

/=Display the HASH command dialog to help you set the command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

/EIgnore errors (i.e., file not found)

 

/LDisplay hash in lower case

 

/CKSUMA Linux cksum-compatible CRC32 10-digit decimal number. CKSUM is not considered secure or unique.

 

/CRC32A CRC-32 hash value is an 8-digit hexadecimal number. CRC-32 is not considered secure or unique.

 

/MD5An MD-5 hash value is a 32-digit hexadecimal number. MD-5 is not considered secure.

 

/SHA1A SHA-1 hash value is a 40-digit hexadecimal number. SHA-1 is no longer considered secure.

 

/SHA256A SHA-256 hash value is a 64-digit hexadecimal number

 

/SHA384A SHA-384 hash value is a 96-digit hexadecimal number

 

/SHA512A SHA-512 hash value is a 128-digit hexadecimal number