Cryptographic Hash Output Lengths: MD5 vs SHA-1 vs SHA-256 vs SHA-512
Compare digest bit widths across legacy and modern hash functions.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.0.0
| Item | Measurement | Notes |
|---|---|---|
| MD5 (Broken) | 128 bits | Do not use for security |
| SHA-1 (Deprecated) | 160 bits | Legacy Git/checksums |
| SHA-256 | 256 bits | Modern standard |
| SHA-512 | 512 bits | 64-bit optimized |
Technical Explanation
Compare digest bit widths across legacy and modern hash functions. Switch between side-by-side and overlay views, zoom, export vector SVG, or inspect exact values in the accessible table.
Worked Examples
- Toggle Proportional Overlay or Export SVG above for clean technical documentation graphics.
Limitations & Assumptions
- Proportional ratios are exact; physical millimeter size on screen depends on display PPI and zoom level.
Source References & Verification
Resource ID: cmp-hash-digest-bits · Independently verified: 2026-11-25