What is a checksum and how to verify a downloaded file
Software download pages often show a long string of letters and digits next to the file, called a checksum or hash. Most people ignore it, but it is a quick way to confirm that the file you received is exactly the one the publisher intended.
What a hash is
A hash function reads any amount of data, from a short sentence to a multi-gigabyte installer, and produces a fixed-length fingerprint. Change a single byte of the input and the fingerprint changes completely. The same input always gives the same result, and you cannot rebuild the original data from the hash.
Common algorithms are MD5, SHA-1 and the SHA-2 family, which includes SHA-256, SHA-384 and SHA-512.
Why verifying a download matters
Files can be damaged during a download, or replaced by something malicious on a compromised mirror. A published checksum lets you compute the fingerprint of your copy and compare it with the one on the official page. If they match, the file is identical to what the publisher listed. If they do not, delete it and download again from a trusted source.
The check is only as trustworthy as the place where you got the published value. Take it from the official site over a secure connection, not from the same untrusted mirror that hosts the file.
How to check a file, step by step
Open the Zipnify hash generator, switch to file mode and choose the downloaded file. The calculation happens in your browser, so large installers or private documents are not uploaded. Copy the expected checksum from the publisher into the compare box, and the tool tells you whether it matches. Make sure you compare the same algorithm: a SHA-256 value will never match an MD5 value.
Which algorithm to use
Prefer SHA-256 whenever the publisher offers it. MD5 and SHA-1 still detect accidental corruption well, but researchers have shown how to create different files with the same MD5 or SHA-1 value on purpose. That means they are not suitable for proving that a file has not been tampered with by a determined attacker.
Hashes and passwords
Websites should not store your password as plain text, but a plain fast hash like SHA-256 is also not enough for passwords. Proper systems use slow, salted algorithms designed for the purpose. Do not use this kind of tool to protect passwords or sign data; use it for comparing files and text.
Other everyday uses
Hashes help you find duplicate files, confirm that a backup copy is identical to the original, or check that two long texts are the same without reading them. Developers also use them as cache keys and to detect changes.
Frequently asked questions
What is the difference between MD5 and SHA-256?
SHA-256 produces a longer fingerprint and has no known practical collisions, while MD5 is broken for security purposes. Use SHA-256 when you can.
Can I recover a file from its hash?
No. A hash is a one-way fingerprint and does not contain the data.
Why does my checksum not match?
The download may be damaged or altered, or you may be comparing different algorithms or a different version of the file.
Does the hash tool upload my file?
Not in Zipnify. The calculation is done locally in your browser.