What a hash is for
A cryptographic hash turns any input into a fixed-length fingerprint. The same input always gives the same hash, a one-character change gives a completely different one, and you cannot get the input back from the hash. Hashes verify downloads (compare the published SHA-256), detect changed files, build cache keys and ETags, and sign data together with a key (HMAC).
Which algorithm
- SHA-256: the default choice for integrity checks and signatures.
- SHA-384 / SHA-512: longer outputs; SHA-512 can be faster on 64-bit machines.
- SHA-1: broken for collision resistance; use only to match legacy systems such as old Git object IDs.
- MD5: broken; not offered here.
Never store passwords with a plain hash: use a slow, salted algorithm such as Argon2, bcrypt or scrypt.
Verifying a download
Download the file, compute its SHA-256 (shasum -a 256 file on macOS and Linux, Get-FileHash file in PowerShell) and compare it with the value the publisher lists. VitalRix publishes SHA-256 sums for its on-premises releases for exactly this reason.
Using it safely at work
Online developer tools are a common way secrets leak: people paste production tokens, customer records or private keys into a website that quietly logs them. This page does all its work in your browser with standard Web APIs, makes no network request with your input, and stores nothing, so it is safe to use with real data, and you can confirm that in your browser’s network panel. Even so, treat anything you paste as you would treat a screenshot: rotate a token that was exposed, never share links that contain it, and prefer command-line tools on the server itself for very sensitive material.