MD2 File Hash

Calculate a legacy MD2 file hash or HMAC from a local file or URL without uploading local files. Read more

What is MD2?

MD2 is the legacy 128-bit digest specified in RFC 1319. This tool hashes raw file bytes to help inspect old checksums, certificates, or archival formats. MD2 is discouraged for new applications by RFC 3279 and should not be selected for modern file integrity or security protocols.

How to use this file hash calculator

Choose a local file or URL and select the output encoding. Keep HMAC disabled for an ordinary MD2 field; enable it only for legacy HMAC-MD2 data. Local file bytes and keys remain in your browser. Remote URLs require CORS.

Result example

A file containing exactly the three bytes abc produces da853b0d3f88d99b30283a69e6ded6bb in Hex. The filename and file metadata are not hashed.

Important limitations

MD2 is cryptographically obsolete. A matching MD2 value may help identify unchanged legacy bytes, but it is not suitable evidence against a deliberate attacker. Do not publish new MD2 checksums or use MD2 for signatures, authentication, or passwords.

Frequently asked questions

Why does my result differ from another tool?

Confirm that both tools read the same raw bytes and use the same MD2 or HMAC-MD2 mode. For HMAC, key bytes must also match.

Can I use the result to verify a download?

Use it only to reproduce a legacy MD2 value, not as a new security control. For encoded text, use the MD2 calculator.

Input
File
Drag and drop the file here or click to select a file. It will process locally and won't be uploaded.
Output
Settings