How to use the Hash Generator tool
- Text or fileEnter some text, or flip to the File tab and drag in whatever you want to fingerprint.
- See every hashAll five digests are shown at once and recalculated with each keystroke.
- Compare a checksumPut the reference value in the comparison box and whichever algorithm agrees is highlighted.
- Copy the hashPress “Copy” beside any result; options switch the output to uppercase or Base64.
Hash generator features
- Every common algorithmSide-by-side digests mean you never have to work out which algorithm a vendor published.
- File checksum verificationProve that a downloaded installer or archived backup arrived intact, however large it is.
- HMAC signingSupply a key to get keyed digests in the same form payment gateways and webhook senders use.
- Instant match checkPaste a published checksum for a clear match or mismatch verdict.
- PrivateAll computation is local; nothing you enter or drop is transmitted.
What is a cryptographic hash?
Think of a hash as a digital fingerprint. A hashing algorithm takes any input, whether a single word, a contract or a multi-gigabyte video, into a short fingerprint of fixed length. Feed it the same bytes and you always get the same output; change a single letter and the output looks totally unrelated. There’s also no route back from the digest to the input. Those properties make hashes the standard way to prove a file or message is unchanged.
Which hash algorithm should I use?
- MD5 produces 128 bits (32 hex characters). It’s broken for security, but still handy for quick checksums, cache keys and older systems.
- SHA-1 produces 160 bits (40 hex characters). Also broken for security, it remains in use for Git object IDs and backward compatibility.
- SHA-256 produces 256 bits (64 hex characters). It’s secure and the modern default for file checks and signatures.
- SHA-384 produces 384 bits (96 hex characters). Secure, and common in TLS and Subresource Integrity.
- SHA-512 produces 512 bits (128 hex characters). Secure, suited to high-security work and often quick on 64-bit processors.
The two older algorithms remain good at spotting random corruption, yet it’s now practical to engineer a pair of different files with an identical digest. If an attacker could have an interest in altering the data, rely on the SHA-2 family instead.
Checking a download step by step
- Copy the digest the publisher lists next to the download link; it’s usually marked as a checksum or SHA-256.
- Open the File tab here and add the file you received.
- Paste the publisher’s value into Compare with a hash. If it turns green, your copy is byte-for-byte the same as theirs.
Don’t use plain hashes to store passwords
Fast hashes like SHA-256 are unsuitable for password storage because attackers can test billions of guesses every second. Login systems need deliberately slow algorithms with a unique salt per user, for example Argon2, bcrypt or scrypt. For creating a hard-to-guess password in the first place, there’s our Password Generator.
What is HMAC?
HMAC mixes a hash function with a secret key, so only someone holding the key can generate the right value. That’s why payment processors and webhook services attach an HMAC-SHA256 value to each request: the receiver recomputes it with the shared key to be sure the sender is genuine and the body untouched. Enter your key in the HMAC box to produce one. For signed login tokens, open the JWT Decoder.