Security
Hash Checksums Explained for Developers
SHA-256 next to a download isn’t encryption - it’s a “did this file change?” check. Here’s when hashes help and when they don’t.
A hash takes any input and spits out a fixed-length digest. Same input → same digest. One flipped bit → totally different digest. That’s why release pages publish SHA-256 next to the zip: so you can confirm you got the intended bits.
What a hash is not: encryption. And it’s not how you should store passwords either - use a slow, salted password KDF for that.
Integrity isn’t secrecy
Checksums answer one question: “did this change?” Anyone can read the file; the digest just proves it matches (or doesn’t). Useful for downloads, backups, and spotting accidental corruption. Useless for hiding content.
Try it without uploading the file
- Hash a string in Hash Generator.
- Need PEM details? Decode locally with Certificate Decoder.
- Playing with webhook-style signing? HMAC Generator builds keyed digests - walkthrough in verify webhook signatures.
Quick algorithm notes
- New integrity checks: prefer SHA-256 or stronger.
- MD5: legacy compatibility only. Don’t lean on it for security.
- Raw SHA-256 of a password is still a bad password store. Use a proper KDF.