How to Generate and Verify MD5 Checksums

Why Verify MD5?

MD5 checksums help answer the question “Did I download this file correctly from whoever sent it to me?” They ensure that your download is error-free, but they do not verify the source of the file. To ensure the file's authenticity, it's better to ask: “Is this file I downloaded genuinely from the project developers, or has it been altered?” This is where MD5 files come into play.

Download the MD5 File Alongside Your Download

MD5 files are provided for each downloaded package. When you download a file, make sure to also download its accompanying MD5 file by clicking on the “MD5” link next to it on the download page. For example, to verify the file electrum-ltc-4.2.6.exe, you will need the MD5 file electrum-ltc-4.2.6.exe.md5.

Calculate the MD5 Checksum of the Downloaded File

Open a terminal (Linux/macOS) or Command Prompt (Windows) and navigate to the directory containing the downloaded file.

On Linux and macOS:

md5sum electrum-ltc-4.2.6.exe

On Windows (Command Prompt):

certutil -hashfile electrum-ltc-4.2.6.exe MD5

You should see a string of characters printed, which represents the MD5 checksum of the file.

Compare the Calculated MD5 Checksum with the Provided MD5 File

Compare the calculated MD5 checksum with the one provided in the MD5 file. If they match, the file has not been altered.

Verify the Integrity of the Downloaded File

To verify the integrity of the downloaded file, compare its MD5 checksum with the one provided in the MD5 file. If they match, the file is intact and has not been tampered with.

Thanks to Andre Mueller for writing these instructions.


Back to home