Checksum Calculator
Introduction |
Quick References |
How Do I ... Topics |
Built-in Tools |
Scripting and Programming
A checksum value is an integer, typically one, two, four, or eight-byte long.
To compute the checksum, adjacent bytes in the file (starting with the first
byte of the file) are united to form one, two, four, or eight-byte integers,
each is called a unit. If the last one is an incomplete unit, it will be
padded with one or more padding bytes. The one's
complement sum of all the integers is the checksum.
The Checksum Calculator can be used to apply the checksum algorithms to a file.
To activate the tool, you can choose Checksum Calculator... item From
the Tools menu.
You can explicitly exclude certain byte ranges by selecting
Ignore Ranges check box and enter the ranges in
the associated edit box. This feature is useful to calculate the checksum for
file in which the actual checksum is stored and thus should be excluded from
the calculation.
What do you want to do?
To see options
- Browse File:
Click it to browse a file as the source of input bytes.
- Input File:
This space shows the file path specified as the source of input bytes.
- Ignore Ranges:
Select it to enable explicitly excluding centain byte ranges and enter the
byte ranges in the associated edit box. Multiple addresses can be indicated
using commas or semicolon, and a range of addresses can be indicated
using ".." between two addresses. For example, enter the string
"1024..2048, 0x4096, 512" will exclude the 1024 bytes starting at address
1024, the single byte at 0x4096, and the single byte at 512.
- One Byte:
Select it to specify a one-byte width checksum algorithm.
- Two Bytes:
Select it to specify a two-bytes width checksum algorithm.
- Four Bytes:
Select it to specify a four-bytes width checksum algorithm.
- Eight Bytes:
Select it to specify a eight-bytes width checksum algorithm.
- Swap Byte:
Check it to swap the bytes of the each checksum unit before summing it.
- Padding Value:
Enter a byte in hex to be padded in the last incomplete checksum unit.
- Final XOR Value:
Enter a value in hex to be XORed with the final value of the checksum algorithm.
- Hex Checksum:
Displays the checksum of your input file before XORed with
Final XOR Value.
- After Final XOR:
Displays the checksum of your input file after XORed with
Final XOR Value.
To see commands
- Calculate:
Calculate the checksum of your input file based on the parameters you specified.