Encoders / Escapers / Crypto
Message Digester
Compute MD5, SHA-1, SHA-256, and SHA-512 hashes.
Message 0 chars
MD5—
SHA-1—
SHA-256—
SHA-384—
SHA-512—
Guide & explanation
The Message Digester computes a cryptographic hash of text or a file. A hash is a fixed-size fingerprint: the same input always produces the same output, and the tiniest change alters it completely.
Algorithms
| Algorithm | Length | Notes |
|---|---|---|
| MD5 | 128-bit | Fast, not secure (collisions are easy). Checksums only. |
| SHA-1 | 160-bit | Considered weak. |
| SHA-256 | 256-bit | The common modern standard. |
| SHA-512 | 512-bit | Larger security margin. |
Example
SHA-256("abc") =
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
Uses
- Verify a downloaded file was not corrupted or altered (checksum).
- Store a fingerprint of data. Do not use a bare hash for passwords — use bcrypt/argon2.
SHA uses the browser's Web Crypto; MD5 is computed client-side. Nothing is uploaded.