MD2 Hash Generator
Type or paste any text and instantly get its MD2 hash digest — computed locally in your browser.
0 characters
About MD2
MD2 is a legacy 128-bit hash function defined in RFC 1319 (1992), designed by Ronald Rivest for 8-bit machines. It is no longer considered secure — use it only for forensics, legacy compatibility, or educational purposes. Modern alternatives include SHA-256 or SHA-3.
32 hex characters (128-bit)
Enter text on the left to generate the hash
Input Bytes
—
UTF-8
Digest Size
128
bits
Hex Length
32
characters
RFC 1319 Test Vectors
| Input | MD2 Digest |
|---|---|
| (empty) | 8350e5a3e24c153df2275c9f80692773 |
| "a" | 32ec01ec4a6dac72c0ab96fb34c0b5d1 |
| "abc" | da853b0d3f88d99b30283a69e6ded6bb |
| "message digest" | ab4f496bfb2a530b219ff33031fe06b0 |
Click any row to load the input and verify against the expected digest.
Summary
Type or paste any text and instantly get its MD2 hash digest — computed locally in your browser.
How it works
- Type or paste your input text into the text area.
- The MD2 digest is computed live in your browser using a pure JavaScript RFC 1319 implementation.
- The result is displayed as 32 lowercase hexadecimal characters (128-bit output).
- Use the Copy button to copy the hash to your clipboard.
- Toggle uppercase output using the checkbox option.
- No data leaves your device — all computation happens client-side.
Use cases
- Verify legacy checksums from old software distributions that used MD2.
- Forensic analysis of archived files or documents that include MD2 digests.
- Study and compare the MD2 algorithm against modern hash functions.
- Test legacy systems or code paths that depend on MD2 output.
- Academic and research purposes related to cryptographic history.
- Confirm interoperability with old protocols that required MD2.
- Generate test vectors for implementing RFC 1319 in other languages.
- Cross-check MD2 output from command-line tools against this browser tool.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu