We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Generate MD2 hashes online with support for multiple input formats, salting, and iteration settings for data integrity verification.
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
MD2 is a legacy message-digest algorithm. It maps input bytes to a fixed 128-bit digest, often displayed as 32 hexadecimal characters. A digest is a fingerprint for comparison, not encrypted text: it cannot be decrypted to recover the original message. The same exact text produces the same digest, while a changed character, space, or line break changes the input.
This page calculates a digest from text and displays lowercase hexadecimal, uppercase hexadecimal, and Base64 representations. Hex letter case changes only the written form. Base64 encodes the digest bytes in a different text representation; it is not a second digest or an encryption method.
RFC 1319 gives the MD2 test vector for abc: da853b0d3f88d99b30283a69e6ded6bb. Use it to check that your input is exactly three lowercase letters, with no leading or trailing spaces or newline. Text is processed as bytes; different characters that look alike, or different whitespace, are different inputs.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Type or paste the text into the input area. The calculation is for text, not a file upload. Include any spaces, punctuation, or line breaks that are part of the value you need to compare.
The page updates the digest as you enter text. Choose lowercase hex, uppercase hex, or Base64 according to the format used by the record you are checking. Copy the corresponding result when needed.
Try abc and compare the lowercase hexadecimal output with the RFC test vector. If your target output differs, inspect whitespace, capitalization in the input, Unicode characters, and line endings before concluding that the implementation is wrong.
Hexadecimal and Base64 encode the same fixed digest bytes using different alphabets. Uppercase versus lowercase hex is also just display casing. Normalize the representation before comparing two records; do not alter the input to make the output look similar.
Use cases
See how the tool fits into real work and everyday tasks.
When a legacy specification explicitly calls for MD2, hash the exact text and compare the output in the same representation used by the stored record.
Use a short example to see that a fixed-size digest differs from reversible encoding and from encryption that uses a key.
Enter the RFC example abc to check basic output formatting and spot accidental whitespace in your test input.
Q&A
Find concise answers to common questions and confusing cases.
No. MD2 produces a one-way message digest, not ciphertext. It has no decryption operation.
No. Hex letter case is a text-formatting difference; both spellings represent the same digest bytes.
Check that the input contains exactly abc, with no spaces, newline, or other characters, and compare the hexadecimal output. RFC 1319 lists da853b0d3f88d99b30283a69e6ded6bb.
Notes
Review scope, result limitations, and important precautions before use.
The IETF moved MD2 to Historic status in RFC 6149. Do not use it for password storage, new integrity protections, signatures, or security-sensitive design. For new systems, choose a currently approved design appropriate to the use case.
A digest match alone does not establish who created a message or whether it came from a trusted source. Use this page for legacy format checks, test vectors, or learning the behavior of an older algorithm.
Related
Discover related tools, collections, and available API capabilities.