Hash verification is the practice of comparing a file’s cryptographic fingerprint, or hash, against a trusted value published by the vendor or project. If the numbers match, the file is very likely unchanged. If they differ, the file may have been altered, corrupted, or replaced.
This matters because attackers often target the download step, not the software itself. A fake site can imitate a legitimate tool and serve a malicious installer that looks correct by name but has a different hash. Checking hashes helps defenders confirm that an executable really came from the expected release channel before they run it. It is especially useful for open-source tools, archives, and scripts shared outside a package manager. Hash verification works best when paired with signatures and official repositories, since a hash only helps if the expected value is trusted.


