AccuHash 2.0 has the document-oriented interface and the document for processing is the Checksum file.
Checksum file usually is the special file containing the list of names of controllable files and value of their checksums. There are some popular formats of checksum files - for example, MD5SUM, SFV and BSD-style. But AccuHash 2.0 works with the own format, based on XML, though allows to import and export the data from/to other formats. The use of XML-based checksums file format allows to easily bypass the portability and scalability restrictions of other formats, and also allows to use the standard XSLT scripts to transform the checksum files.
Every checksum file consist from two parts. First part is the default values for updating and verification operations. This part is intended only for convenience and not so important as second part.
The second part is most important and contains list of items for every controlled file. Every item consist from the name of controlled file, its size and time of modification, the hash type, encoding, hash value itself and also field for notes.
Main program window contains (from top to bottom): the Menubar, the Toolbar, the Listview with content of checksum file and the StatusBar.
In every row of Listview the data from one item of checksum file is displayed: name of file, its status, hash value, size, date and time of modification, comments, hash type and encoding. To sort the items by specified field, simply click on the header of this column. To reverse sort order click again. To change columns order simply drag-and-drop the columns header. To change column width simply drag the separator between headers and double-click on this separator to auto-adjust the column size.
After verifying, every processed item will marked with appropriated status code and the mismatched attributes will be highlighted with different color:
Listview after verifying
Sort the items by status column, to easily discover the changed items:
Listview after ordering by status
If necessary possibly to see the hash values with different encoding:
Hash values in hexadecimal encoding
The same hash values in Base64 encoding
Main menu bar contains 6 menus. The standard operations related to checksum file is located in "File" and "Edit" menus. The "File" menu contains operations related to whole file and the "Edit" menu contain commands to manipulate with file content. The program settings can be adjusted with options located in "View" and "Options". The "View" menu contains options to change the program appearance and the "Options" menu contains other program settings. The "Tools" menu contains main program functions - updating and verification of checksum file and also allows access to checksum calculator. And the last, but not least menu "Help" marked with "?" sign.
The set of "File" menu operations is standard for programs with document-oriented interface and contain functions for: creating empty checksum file ("New"); opening existing checksum file ("Open..."); saving current checksum file ("Save"); saving current checksum file with another name ("Save as..."); importing from another checksum file formats ("Import..."); exporting to another checksum file formats ("Export..."); changing the checksum file properties ("Properties..."); and closing the program ("Exit");
The "Edit" menu commands allows to modify the content of checksum file. The "Edit..." command allow to change properties of single (currently selected) item. The "Copy" command copy selected items into clipboard and "Delete" command delete selected items from checksum file. The "Select all" command make selected all items of checksum file and "Hash Type" and "Hash Encoding" submenus allows to quickly change corresponding attributes of selected items. Both last two submenus contains list of implemented checksum types and encoding methods. Currently available checksum types is: CRC32, MD5, SHA1*. Currently implemented encoding methods: Hexadecimal, MIME Base 64, UU-encoding and XX-encoding.
The "View" menu contains options affecting to appearance of the program. Currently there is only two options: when the "Abbreviated file size" options is checked, the files size in items list will shown as "10M", "120K" or "17 458", when unchecked - as "10 485 760", "122 880" and "17 458" accordingly. The "Show buttons labels" determine appearing tool buttons names in toolbar.
The "Tools" menu contains the most important functions - "Update..." and "Verify..." which accordingly update and verify the currently opened checksum file. Also this menu contains "Hash calc..." item to call standalone hash value calculator. For more details about items of this menu see below.
The "Options" menu contains options for settings of the behavior of program. The checked "Autocheck on start" option mean that if program find file named "accuhash.#ml" in the own folder, then this file will be automatically loaded and run to verify. "Prompt for charset on import" option determine the program behavior when currently imported checksum file has non-ASCII chars in names of controlled files. When this option is checked the dialog with prompt to select the proper charset will appear. When unchecked, the last selected charset will be used without any notifications. When "Auto save settings" option is checked, all current settings will be saved into current user profile in system registry. "Save settings now..." command allows to immediately save current settings.
The "Help" menu commands allows to: entering registration information ("Register..." item), calling the "Tip of day..." dialog and viewing the copyright, version and support information about program ("About..." item)
Toolbar contains buttons for most frequently used functions: creating new checksum file, opening existing checksum file, saving changes of current checksum file, importing and exporting checksum files, editing checksum file properties, editing properties of selected item, copying to clipboard the selected items, deleting the selected items, updating and verifying opened checksum file, calling the checksum calculator and viewing information about program.
Creating or updating the checksum file is process, during that the specified folder will scanned for files matching with specified mask. The founded files will added into current checksum file and marked as "New file". After this the program will walk through checksum file and when find file matching with update mode, calculate the checksum value for this file.
Update dialog window
When you execute the "Update..." command, the update dialog window will appear. This window contains following controls:
- "Folder to update" - bundled with "Folders tree" control and allow to specify root folder with your data files.
- "File mask" - specify the mask for files to scan. When empty the "*.*" mask will be applied and all files in specified folder will be added into checksum file.
- "Recursive processing subfolders" - when checked, all subfolders of specified folder also will scanned for files.
- "Hash type" - set the hash type for newly added files. Currently implemented following hash types: CRC32, MD5, SHA1*.
- "Hash encoding" - set the hash encoding for newly added files. Currently available encodings: Hexadecimal, MIME Base 64, UU-encoding and XX-encoding.
- "Update mode" - specify for which files the checksum values will be calculated. Available options:
- "All files" - calculate for all files listed in checksum file. Mutually exclusive with other options.
- "if New files" - calculate if this file just added into list.
- "if Size changed" - calculate if this file size changed after last updating.
- "if Time chagned" - calculate if this file time changed after last updating.
- "if has Empty hash" - calculate if the item for this file has empty hash value.
Verifying the checksum file is process, during that the program calculate the checksum value of file for every item in the checksum file and compare with old value stored in item.
Verify dialog window
When you execute the "Verify..." command, the verify dialog window will appear. This window contains following controls:
- "Folder to verify" - bundled with "Folders tree" control and allow to specify root folder with your data files.
- "Mark file as changed, if size is different" - if the file size has been changed after last updating the checksum file, this file will marked as changed immediately, without calculating and checking checksum values. This allows to save time of verifying.
- "Mark file as changed, if time is different" - same as previous, but related to file last modification time.
Checksum calculator allows to quickly calculate checksum value for single file, without creating checksum file.
Checksum calculator window
When you execute the "Hash calc..." command, the Checksum calculator window will appear. Simply click on "Browse" button, select the file to calculate, set appropriate "Hash type" and "Encoding" and press the "Calculate" button. The checksum value of selected file will be calculated and shown in "Calculated hash value" field.
* - not available for Personal License.