Hash Generator

Generate cryptographic hashes from text.

Hashing Use Cases


Hash functions help with integrity checks, quick fingerprints, and cache keys. They are one-way transforms, not reversible storage.

  • Compare hash output to detect accidental file or text changes.
  • Pick a modern algorithm such as SHA-256 for general integrity checks.
  • Keep normalization consistent before hashing to avoid false mismatches.

Algorithm Reference


MD5 — 128-bit · 32 hex chars

Designed by Ron Rivest in 1991. MD5 produces a 128-bit digest and is very fast, but it is cryptographically broken since 2004. Suitable for non-adversarial checksums, but must not be used for passwords or digital signatures.

Wikipedia — MD5

SHA-1 — 160-bit · 40 hex chars

Developed by the NSA and published by NIST in 1995. SHA-1 was deprecated after SHAttered (2017). It remains in use in Git but should not be used for new security-sensitive work.

Wikipedia — SHA-1

SHA-256 — 256-bit · 64 hex chars

Part of the SHA-2 family, published by NIST in 2001. SHA-256 is the most widely deployed secure hash algorithm today, used in TLS, code-signing, and Bitcoin. No practical attack is known.

Wikipedia — SHA-2

SHA-384 — 384-bit · 96 hex chars

A truncated variant of SHA-512 with different constants, producing a 384-bit digest. SHA-384 offers a higher security margin than SHA-256 and is recommended by NIST for 192-bit security applications.

Wikipedia — SHA-2

SHA-512 — 512-bit · 128 hex chars

The full-width member of the SHA-2 family, producing a 512-bit digest. SHA-512 provides the highest security margin of the algorithms listed here.

Wikipedia — SHA-2