Developer · 29 October 2026

MD5, SHA-256 and Hashes: What They Are Actually For

Checksums, file verification and password storage: where hashes help and where they do not.

A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and a tiny change gives a completely different one. You cannot run it backwards to recover the input.

Checking a download

The most common use is verifying that a file was not corrupted or tampered with. The publisher posts a SHA-256 value. You compute your own and compare. If a single bit differs, the hashes will not match. Our SHA-256 generator works on text you paste.

Why MD5 still shows up

MD5 is fast and fine for spotting accidental changes, such as finding duplicate files. It is not safe against someone deliberately crafting a collision, so do not use it for security. The MD5 generator is for compatibility and quick checks. For simple error detection, a CRC32 checksum is lighter still.

Hashes and passwords

Never store passwords as a plain SHA-256 or MD5. Both are too fast, so attackers can test billions of guesses per second. Use a slow, salted algorithm such as bcrypt, scrypt or Argon2.

HMAC: a hash with a key

When you need to prove that a message came from someone who knows a secret, such as a webhook signature, you use an HMAC. Try it in the HMAC generator. Avoid pasting production secrets into any website, and use test keys instead.

Tools mentioned in this article