Running the program
You can run the program from command line as described below:
HashCodes [/A] [/S] [/T | /V] [/LOG] [/H[:| ]HASH1,HASH2,...] [Data]
/A - show all hash functions.
/S - hash values are shown in small caps.
/T - [Data] is text (not a path). In other way [Data] point to path of file.
[Data] can but need not be placed in quote mark.
/V - show all available CD/DVD drives.
/LOG - all hash codes will be saved in a log of the Log subdirectory.
If you do not have permissions to save in this folder
logs will be saved in the system folder 'AppData' of the current user.
/LANG - allows to force the language
de - German
en - English
es - Spanish
it - Italian
pl - Polish
sl - Slovenian
zh-CHS or zh-cn or zh-Hans - Chinese (Simplified)
zh-CHT or zh-ct or zh-Hant - Chinese (Traditional)
To force a specific language run the program from command line.
For example: "HashCodes_x86.exe /lang:de" runs program with German interface.
This option does not work on Windows XP.
/H - allows to display desired hash functions on the list e.g. /H:CRC32,SHA-1
You have additional options in case of MD6 function (see:
http://people.csail.mit.edu/rivest/md6_report.pdf). Here, example:
HashCodes [/S] [/T | /V] /H[:]MD6 [d[:]256] [/K[:]Key] [/L[:]64] [/r[:]104] [Data]
/d - number of bits in the MD6 final output (1 <= d <= 512)
(Default value: 256).
/K - the key (max length: 64 chars) (Default value: "" (empty string)).
/L - mode parameter (maximum level number) (Default value: 64).
/r - number of 16-step rounds in the compression function computation
(Default value: 40 + [d/4]).
NOTE: There are allowed three ways of passing an option with parameter:
/d:256, /d256, /d 256 .
In the options you can use small caps as well as uppercase. Does not have any meaning.
The program can be used as standalone application as well i.e. it is possible
to copy it on optional storage media such as pendrive and run from it directly.
Hashing a code
Click on 'Show all functions' and check one or more items to create hash code.
Drag and drop or click 'Browse' to choose file for hash computing or check 'Hash text'
option and enter any text from keyboard (max 256 chars). The entered text will be
read in ANSI standard. For hashing CD/DVD media check 'Hash CD/DVD' option
and select proper drive.
For generating hash code click 'Hash'. Notice that for more than 3 functions
or large files the total time of hashing process can take several minutes.
It is recommended to check at most 2 or 3 functions to hash simultaneously.
Although a function is checked on the hash list, it will not be calculated again
when you click 'Hash' button. If you want to generate the hash code once again
hold Shift key and click 'Hash' button.
Running hashing process can be suspended and resumed or interrupted at any time.
When finished, the time of hashing will be displayed on title bar.
If you want to log the hashing process and you don't run the program with /LOG command
you may do this by holding Ctrl key and click 'Hash' button.
Copying to clipboard
To copy calculated hash code, select it on the list and press Ctrl+C shortcut or click
'Copy' command from context menu. If there are more hashes on the list you can copy
all at once using 'Copy all' command from context menu.
To compare calculated hash code with file, select it on the list then select 'Copy to compare'
command from context menu. It will cause automatic copying hash code to proper edit control
for later verification with new hash code.
Saving the hash code
To save calculated hash code, select it on the list and press Ctrl+S shortcut or click
'Save' command from context menu. The file will be saved in the same location as hashing file,
with the same name extended by hash function name extension. If you wish to save file with
other name and/or location use 'Save as...' command. If there are more hash codes on the list
you can save these all by 'Save all' command from context menu.
Comparing hash codes
If you paste a hash code in proper edit control in bottom part of dialog will be
automaticly compared with all hash codes which are in the list. In case of positive comparing result
the name of hash function will appear if the same is on the list.
If there is a hash code on the list you will use to compare in the future, in the next computing,
you can quickly copy it by choosing 'Copy to compare' command from the context menu.
If you intend to hash the file again and you've saved its hash code on the disk
the hash code will be automaticly loaded for comparison. The hash file must be located in
the same folder as the file to be hashed. To hash the same file but with other
hash function you can load a proper hash code file to compare by holding Ctrl key and clicking 'Browse'.
It will load automaticly if exists.
The program saves any information neither in the system registry nor in folders (except this described above).
Checking for updates
To force download the current version hold down the Shift key while clicking the Check for updates button on the About dialog.
To check if a new beta version is available hold down the Ctrl key while clicking the Check for updates button on the About dialog.
By default it's always downloading the same platform version of application you are using.
To change the platform of a portable version for download from 32-bit to 64-bit or from 64-bit to 32-bit
hold down the Shift key while clicking the Download button on the Update dialog.