MD4 Hash Generator

Generate 128-bit MD4 hashes of text, bytes, or files.

0 chars
MD4 · 128 bits

Result will appear here...

MD4 Hash Generator

Compute the MD4 hash of text, raw bytes, or a file right in your browser. Results appear as a 32-character hexadecimal digest (or Base64) and update as you type.

What is MD4?

MD4 is a 128-bit hash function designed by Ron Rivest in 1990 and specified in RFC 1320. It introduced the design that later hash functions — MD5, SHA-1, and the SHA-2 family — built on: the message is padded, split into 512-bit blocks, and each block is mixed into four 32-bit state words using three rounds of boolean functions, additions, and rotations.

Reference values:

  • MD4("") = 31d6cfe0d16ae931b73c59d7e0c089c0
  • MD4("abc") = a448017aaf21d8525fc10ae87aa6729d

Security status

MD4 is completely broken. Collisions can be found by hand in seconds and RFC 6150 moved it to Historic status. Do not use MD4 to protect data. It is still worth having an MD4 generator, though, because the algorithm is embedded in protocols you may need to debug or test.

Typical uses today

  • Legacy Windows components – some older Windows protocols build on MD4, which is why it still shows up in interoperability testing.
  • ed2k links – eDonkey file identifiers hash 9,500 KB chunks with MD4.
  • Legacy software and test vectors – verifying ports, CTF challenges, and university assignments.

Tips

Choose Hex bytes as the input type if you need to hash binary data exactly, for example a UTF-16 buffer copied from a debugger. Turn on Hash each line to process many values at once. For a modern alternative use the SHA256 Hash Generator, or compare with the MD5 Hash Generator.

Frequently Asked Questions

Mostly in legacy protocols and file formats, such as eDonkey/eMule ed2k file links, older rsync checksums, and some Windows components. New designs should not use it.

The input bytes differ. Many programs hash UTF-16 text or include a trailing newline. Switch the input type to Hex bytes to hash exactly the bytes you want.

OpenSSL 3 moved MD4 to its legacy provider, so many runtimes no longer offer it by default. This page uses its own JavaScript implementation, so it works in any modern browser.