Checksum Calculator
Checksum Calculator
How to verify the checksum of an installer file One method of knowing if a downloaded program file is safe to install is to compare the file checksum (also called a hash) before running the executable.
Verifying the checksum of a file helps ensure the file was not corrupted during download, or modified by a malicious third party before you downloaded it. If it was infected with malware or other malicious software after the checksum was originally calculated, you will discover the change when you calculate the new checksum.
The checksum is a long string of numbers that looks like this:
6fa92dd2ca691c11dfbfc0a239e34369897a7fab
This hexadecimal number is unique to the installer .exe file created by the author. If anyone has altered or tampered with the file that you downloaded, the checksum will be different on your computer.
Note
For maximum system security, always verify the checksum of any software you download from the Internet, before you run it.
How to check the checksum of a file in Windows
Windows 10
Many utilities that can be used to verify the checksum of a file in Windows. Below are our favorite options, the Checksum Calculator, an easy to use and compare checksum utility and the FCIV command line utility from Microsoft.
Checksum calculator
The Checksum Calculator is a free file checksum calculation utility that supports the most commonly used file checksum algorithms, such as md5, crc32, and sha1. The Checksum Calculator can also batch process multiple files and is an easy to understand and use Windows program.
Downloading and installing the checksum calculator
Download the Checksum Calculator.
Run the executable, checksumcalculator_setup.exe.
Follow the prompts to install the program.
Using the calculator
Open the Checksum Calculator if not already opened after the install.
Click the Browse next to the file box and browse to the file you want to check. In our example, we are checking the checksum of the windirstat1_1_2_setup.exe file.
Select the type of Checksum you are calculating. By default, the Checksum is set to MD5, in our example below we've set the value to SHA1.
Click the Calculate button.
After clicking Calculate, a result is shown in the Result box. To compare the values with what's shown on the web page or documentation, copy and paste the checksum into the Compare box and click the Verify button. If both values match, you'll see a message box indicating that the values are the same.
Using the Microsoft FCIV utility
Unfortunately, no version of Microsoft Windows comes pre-installed with a checksum utility, but Microsoft has released a command line command that can be used to checksum. In our example, we'll be downloading, installing, and using the Microsoft FCIV (File Checksum Integrity Verifier) to check the WinDirStat installer file. WinDirStat is a great free utility for checking what files and folders are occupying space on your hard drive.
Downloading and installing Microsoft FCIV
Download FCIV from Microsoft.
Run the executable, Windows-KB841290-x86-ENU.exe.
Click Yes to accept the license agreement.
The installer asks where you would like to extract the files. It would be convenient to have it in the same place as the WinDirStat installer,
so we recommend you extract it to your Downloads folder. Click Browse, highlight Downloads, and click OK.
Installing FCIV to verify the WinDirStat installer checksum
Click OK to extract the files.
Click OK to close the installer
Tip
If you copy the fciv.exe file into your C:\Windows directory, the command works from any directory or drive in the command prompt.
Using FCIV
FCIV is a command-line utility, so you need to run it from the Windows command prompt. Open a new command prompt window now. In Windows 10, you can find it under Start menu → Windows System → Command Prompt. You can also open it from the Run box if you press Win+R (hold down the Windows key on your keyboard and press R), type cmd, and press Enter.
Change to your Downloads directory or the directory containing fciv and the file you want to compare. At the command prompt, run:
cd Downloads
The checksums provided on the WinDirStat use the SHA1 algorithm, so we need to use the -sha1 option when we run FCIV. For example, to verify windirstat1_1_2_setup.exe, use this command:
fciv -sha1 windirstat1_1_2_setup.exe
FCIV will spend a few moments calculating, and then provide output like this:
Running FCIV to calculate the SHA1 hash of the WinDirStat installer
The checksum is the long hexadecimal number on the last line:
6fa92dd2ca691c11dfbfc0a239e34369897a7fab windirstat1_1_2_setup.exe
That hexadecimal number is the SHA1 checksum for your file. Check to make sure it matches the checksum on the WinDirStat website:
Checking your SHA1 sum against the value listed on the download page at WinDirStat.net, to verify that your installer is genuine
How to check the checksum of a file in Linux
In Linux, the checksum of a file can be checked using one of the following command line commands depending on the checksum the author used for comparison.
The MD5 checksum can be verified using the md5sum command.
An SHA224 checksum can be checked using the sha224sum command.
An SHA256 checksum can be seen using the sha256sum command.
An SHA384 checksum can be shown using the sha384sum command.
An SHA512 checksum can be verified using the sha512sum command.
What is an Operating System? » Computer Shortcut Keys and their Functions » Keyboard Function Keys » Computer Basics - Hardware - Software - Parts
Short Stories for Kids - Moral Stories – English Short Stories for Children - Moral Stories for Kids - Stories for Kids - Funny Story for Kids - Scary Stories for Kids - Really Funny Short Stories - Bedtime Stories
Proverb Stories
Powerful Motivational Quotes for Students » Success Quotes » English Short Stories for Kids
Cabin Crew Jobs & Career Advice » Secretary Job Description » Receptionist Job Description » Top 100 Interview Questions and Answers » How to Prepare for an Interview » How to Write a CV » How to Choose a Career » Computer Shortcut Keys and their Functions
Scholarships in Australia » Scholarships in Austria » Scholarships in Belgium » Scholarships in Canada » Scholarships in Germany » Scholarships in Ireland » Scholarships in Italy » Scholarships in Japan » Scholarships in Korea » Scholarships in Netherlands »Scholarships in Switzerland
Click here to post comments
Join in and write your own page! It's easy to do. How? Simply click here to return to Computer Basics FAQ.