Hash Generator
MD5 · SHA-1 · SHA-256 · SHA-384 · SHA-512
—
hash output
—
Algorithm
—
Output size
—
Input length
—
Security status
MD5 and SHA-1 are broken
MD5 collisions are craftable in seconds on commodity hardware ($0.65 of GPU time), SHA-1 since SHAttered (2017). Use only SHA-256+ for security. MD5/SHA-1 are fine for non-security uses like cache keys or checksums.
Related tools
Known-answer tests (sanity-check this calculator)
- "hello" → SHA-256 =
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 - "" (empty) → SHA-256 =
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 - "hello" → MD5 =
5d41402abc4b2a76b9719d911017c592 - "hello" → SHA-1 =
aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
Hashes are one-way — no math exists to recover input from output (only brute force). Checksum equality proves two files match (with high probability for broken algorithms, near-certainty for SHA-256+).