---
title: "MD4"
description: "MD5's older sibling from 1990. Broken since 1996 and still inside NTLM and ed2k links. Here for those and it has HMAC"
canonical_url: "https://hashes.agntn.dev/algorithms/md4"
---
# MD4

> MD5's older sibling from 1990. Broken since 1996 and still inside NTLM and ed2k links. Here for those and it has HMAC

<algorithm-facts name="md4">



</algorithm-facts>

Rivest's hash from 1990, three rounds of sixteen steps. [MD5](https://hashes.agntn.dev/algorithms/md5) came a year later with a fourth round, because MD4 already looked thin. It was. Dobbertin found a full collision in 1996, and today one takes less work than you'd spend reading this page.

```ts
create("md4").hash("abc").digest; // "a448017aaf21d8525fc10ae87aa6729d"
create("md4").hash("").digest; // "31d6cfe0d16ae931b73c59d7e0c089c0"
```

Then why is it here? Because it never left. Windows keeps every password as MD4 of its UTF-16LE bytes, the [NT hash](https://hashes.agntn.dev/algorithms/ntlm). eDonkey links name files by MD4 of their chunks. OpenSSL 3 moved it to the legacy provider, so Node won't compute it without a flag.

That empty-input digest, `31d6cfe0…`, is worth remembering. Spot it in a Windows dump and you're looking at an account with no password.


## Sitemap

See the full [sitemap](https://hashes.agntn.dev/sitemap.md) for all pages.
