What is a hash generator?
A hash generator (sometimes called a hash creator) runs a cryptographic hash function on input and returns a hash value. The digest is a fingerprint of the input: same bytes in, same hex out. Change one character and the entire digest changes.
MD5 vs SHA-256 vs SHA-512
- MD5: 128-bit, 32 hex characters. Fast and still used for non-security checksums. Collision-prone. Do not use it for passwords or certificates.
- SHA-1: 160-bit. Legacy. Prefer SHA-256 for new work.
- SHA-256: 256-bit, 64 hex characters. The usual default for file integrity and fingerprints.
- SHA-384 / SHA-512: Longer SHA-2 variants when a policy asks for a larger digest.
Hash creator vs HMAC
This tool hashes public input. Anyone can recompute the same digest. HMAC adds a secret key so the digest also authenticates who produced it. Webhooks and API signatures almost always want HMAC, not a plain SHA-256 of the body.
Text vs file hashing
Text is encoded as UTF-8 before hashing. Dropping a file hashes the raw bytes, which is what you want for download checksums. Empty input is still hashed: empty MD5 is d41d8cd98f00b204e9800998ecf8427e.