Data Integrity: How to Verify Files Using MD5 and SHA-256 Hashes
Learn what cryptographic hashing algorithms are and how to use them to ensure that a downloaded file has not been altered.

Data integrity: How to verify files using MD5 and SHA-256 hashes
When you download critical software from the internet (such as a Linux distribution, operating system installers, or crypto wallets), how do you know that the file wasn't tampered with by a third party or corrupted due to a poor network connection?
The standard security solution is to compare the signature or cryptographic hash of the file.
The characteristics of Hash functions
Cryptographic hashing functions (such as SHA-256) have three key properties:
- Unidirectionality: It is impossible to reconstruct the original file from its text hash.
- Determinism: The same file will always generate exactly the same hash.
- Avalanche Effect: If you change a single letter in the original file, the resulting hash will be completely different.
For this reason, companies publish the official hash of the download file on their website so that the user can validate it on their local computer.
To calculate the MD5, SHA-1 or SHA-256 checksums of your texts or files locally in your browser without uploading them to the internet, use our utility:
Drag any file into the browser to calculate its cryptographic signatures instantly, securely and privately.


