Using HashOnClick (2024)

Using HashOnClick (1)

A Guide to Using HashOnClick

HashOnClick is very simple to use, and can be used via a context menu item in Windows File Explorer, via the Property Sheet for a file or via the command prompt. First we’ll explain the simplest way to use it: via Windows File Explorer.

Brief Explanation (Windows File Explorer)

In Windows File Explorer select the files you want the hash values calculated for, click the right mouse button, and select Calculate Hash Value, then select the appropriate hash type from the pop-up sub-menu (e.g. MD5). The values will then be calculated and displayed. You can then copy the data to the clipboard, for pasting in another application, or save the results to a file.

Detailed Explanation (Windows File Explorer)

Windows File Explorer lets you browse and select any file or folder on your local computer, as well as showing the files and folders on connected devices like CD, DVD, USB External Drives, Memory Sticks etc.

Open Windows File Explorer by right clicking the Windows logo (previously the Start button). A pop-up menu will appear. Select File Explorer:

Using HashOnClick (2)

Using HashOnClick (3)Alternatively you may wish to quickly open Windows File Explorer by pressing the Windows and E keys:

Using HashOnClick (4)

Windows File Explorer will now open showing your folders, files, and connected drives etc.

The example below shows how Windows File Explorer has been used to browse the Documents folder. On the right panel a text file called Example has been right clicked with the mouse button, and the menu item Calculate Hash Value has been selected from the pop-up menu. A sub-menu also appears showing the types of Hash Values that can be calculated. In this example we select MD5:

Using HashOnClick (5)

Using HashOnClick (6)Note that different hash values will have different probabilities of confirming an exact match. Sometimes external sources like websites may only provide a particular hash value to compare against.

An MD5 hash value is a 32-character string that identifies the contents of a file. If two files have the same contents then it is extremely probable they will have the same MD5 hash value. Here's the resulting window for the MD5 Hash Value:

Using HashOnClick (7)

You may alternatively select the SHA-1 hash value from the 'Calculate Hash Value' sub-menu:

Using HashOnClick (8)

An SHA-1 hash value is a 40-character string that identifies the contents of a file. If two files have the same contents then it is guaranteed they will have the same SHA-1 hash value. Here's the result for the SHA-1 Hash Value:

Using HashOnClick (9)

Finally, you might select the CRC32 Hash Value. A CRC32 hash value is an 8-character string that identifies the contents of a file. If two files have the same contents then they will probably have the same CRC32 hash value. The Zip format uses CRC32 values to verify the contents of files. Here's the CRC32 Hash Value for the same file:

Using HashOnClick (10)

You can now save the value to a file. Clicking the Save All to File button will open an Explorer type window. Using the left navigational buttons and drop-down menu, browse to the location to where you would like to save the hash value and click Save:

Using HashOnClick (11)

You may also copy the hash value to the clipboard using the Copy All to Clipboard button:

Using HashOnClick (12)

Click the OK button to exit HashOnClick.

Property Sheet

By using the Property Sheet extension you can calculate multiple hash values at the same time for a single file. To do this, open Windows File Explorer, right-click on a file and select Properties from the pop-up menu. Then go to the HashOnClick tab:

Using HashOnClick (13)

You can select the hash values you want calculated by toggling the check-box next to hash name. Click the Hash button to calculate the hash values. If you right-click on the hash list you can copy the hash values to the clipboard, change the selections, etc. Your hash selections are saved so that next time you open this tab the same hashes are automatically selected.

Command Prompt

First, please note that using HashOnClick via the command prompt is for more advanced users. You do not need to use the command prompt to calculate hash values. Using Windows File Explorer is the preferred method (see the section above for details).

HOC.exe (in the HashOnClick installation folder) is the command line version of HashOnClick.

For a list of command line parameters run HOC.exe -? (or HOC.exe –help) from the command prompt (you need to be in the HashOnClick installation folder):

HOC.exe[-timer][-test][-lower][-expecthash][-progress][-altout|-altout2|-altout3][-crc32|-crc128|-md5|-sha1|-md4|-ripemd128|-ripemd160|-sha256|-sha512|-tiger|-xx32|-xx64|-sha2_224|-sha2_256|-sha2_384|-sha2_512|-sha2_512_224|-sha2_512_256]filenames

-timer-Displaytotalruntime

-test-Testallthehashingalgorithms

-lower-Showhashvaluesinlower-case

-expecthash-Theexpectedhashvalueofthefile(s)

-progress-Displayhashingprogress

-altout-Outputresultsashashfilename(defaultisfilename:hash)

-altout2-Outputhashonly(nofilename)

-altout3-Outputfilenameandhash,withpathstrippedfromfilename

-crc32-CalculateCRC32hashvalues(default)

-crc128-CalculateCRC128hashvalues

-md4-CalculateMD4hashvalues

-md5-CalculateMD5hashvalues

-sha1-CalculateSHA-1hashvalues

-sha256-CalculateSHA-256hashvalues

-sha512-CalculateSHA-512hashvalues

-ripemd128-CalculateRIPEMD128hashvalues

-ripemd160-CalculateRIPEMD160hashvalues

-tiger-CalculateTigerhashvalues

-xx32-Calculatexxhash32hashvalues

-xx64-Calculatexxhash64hashvalues

-sha2_224-CalculateSHA-2224hashvalues

-sha2_256-CalculateSHA-2256hashvalues

-sha2_384-CalculateSHA-2384hashvalues

-sha2_512-CalculateSHA-2512hashvalues

-sha2_512_224-CalculateSHA-2512/224hashvalues

-sha2_512_256-CalculateSHA-2512/256hashvalues

-streams-IncludeNTFSalternatedatastreams

Frequently Asked Questions

FAQs about using HashOnClick follow on the next page of this help file.

All Content: 2BrightSparks Pte Ltd © 2003-2022

Using HashOnClick (2024)
Top Articles
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 6288

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.