What Does the Hash Generator Do?
The Hash Generator computes six widely used digests of any text or file: MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32. A hash is a fixed-length fingerprint โ the same input always yields the same output, but even a one-character change produces a completely different hash, and the process cannot be reversed to recover the input.
Everything runs in your browser. Nothing you type and no file you choose is uploaded anywhere: the SHA family is computed with the browser's built-in Web Crypto engine, and MD5 and CRC32 in JavaScript alongside it. Results are identical to command-line tools like md5sum and sha256sum โ which matters, because people paste passwords, API keys and private documents into hash tools, and none of that should ever leave your machine.
How to Generate Hashes
- Type or paste your text โ all six digests update as you type.
- Or switch to Hash a file and drop in any file, of any size, to get its checksum.
- Copy any digest with its button.
- To check a download, paste the publisher's checksum into Verify against a known hash โ it tells you which algorithm matched, or that none did.
What Each Algorithm Is For
- MD5 (128-bit) โ checksums, cache keys and deduplication. Broken for security, still ubiquitous for integrity checks.
- SHA-1 (160-bit) โ legacy signatures and Git object IDs. Deprecated for new security uses since practical collisions were demonstrated in 2017.
- SHA-256 / SHA-512 โ the current standard family for digital signatures, certificates, blockchain and file verification.
- CRC32 โ a fast error-detection checksum used inside ZIP and PNG files; not cryptographic at all.
Developers verify downloaded files against published checksums, generate deterministic cache keys, compare configs across servers, and produce test vectors for their own hashing code.