Skip to main content

Legacy Hash Generator

Generate MD2, MD4, MD5, Whirlpool, NTLM, and WordPress password hashes

Generate MD5, MD4, MD2, Whirlpool, and NTLM hashes. Deprecated algorithms with known collisions — useful for forensic analysis and legacy compatibility.


How to generate a legacy hash?

Generating a legacy hash is straightforward: Type or paste your text into the input box, or upload a file if you need to compute its hash digest. Select the hash algorithm from the dropdown menu. Available options include MD2, MD4, MD5, Whirlpool, NTLM, and WordPress (MD5-based). Each algorithm serves different legacy compatibility needs — MD5 for file checksums and older databases, NTLM for Windows authentication analysis, WordPress for password hash inspection. Click Generate to compute the hash. The result appears instantly in the output box as a hexadecimal string or formatted hash. Copy it and use it wherever needed — whether that's analyzing a captured Windows SAM database, verifying an old file download, or reverse-engineering a legacy system's authentication mechanism.

Related Tools

You May Also Need

MD5 collision attacks and why it's broken

MD5's collapse began in 2004 when Wang et al. published the first practical collision attack, reducing the complexity from 2^64 to roughly 2^24 operations. By 2007, researchers could generate chosen-prefix collisions — two files with different content but identical MD5 hashes. In 2008, a fraudulent SSL certificate was created with an MD5 collision, impersonating RapidSSL. The Flame malware (2012) used MD5 collisions to forge a Microsoft signature, infecting Windows systems. Today, MD5 collisions can be generated in seconds on consumer hardware. RFC 6151 formally deprecated MD5 in 2011. Despite this, MD5 persists everywhere — Ubuntu still publishes MD5 checksums alongside SHA-256, many legacy databases store MD5 password hashes, and some API integrations still require MD5 signatures. For any new security-sensitive application, MD5 must not be used. For legacy data inspection and forensic analysis, MD5 remains useful as a quick fingerprint.

NTLM hashing: Windows authentication anatomy

NTLM (NT LAN Manager) hashes are the NT hash (MD4) of the Unicode-encoded Windows password. When a user sets a password in Windows, the system computes MD4(password_unicode) and stores the 128-bit result in the SAM database or Active Directory. This means cracking an NTLM hash is equivalent to cracking the plaintext password — there's no salt, no iteration, and no key stretching. The lack of salting means identical passwords produce identical hashes across all accounts. NTLMv1 uses LM-compatible challenge-response, while NTLMv2 (introduced in Windows 2000) uses HMAC-MD5 with a timestamp and nonce, making offline cracking harder but still feasible with modern GPU clusters. Tools like Hashcat support NTLM cracking with rockyou.txt and custom wordlists. The security weakness of NTLM is well-known — Microsoft recommends Kerberos for domain authentication and has disabled NTLMv1 by default in modern Windows Server versions.

Whirlpool: The overlooked cryptographic hash

Whirlpool was designed by Vincent Rijmen and Paulo Barreto in 2000 as part of the NESSIE project. It uses a modified version of the AES block cipher (Whirlpool-B) operating in Miyaguchi-Preneel mode, producing a 512-bit hash. Whirlpool was submitted to the SHA-3 competition but didn't win — Keccak was selected instead. Despite this, Whirlpool remains secure with no known practical attacks. It's included in ISO/IEC 10118-2:2004 as an international standard. Whirlpool's main advantage is its 512-bit output with a fundamentally different construction from SHA-2 (block cipher-based vs Merkle-Damgård), making it valuable for cryptographic diversity. It's used in TrueCrypt/VeraCrypt volume headers, some PGP implementations, and the GNU Privacy Guard. Whirlpool is slower than SHA-512 on most platforms because it performs 10 rounds of AES-like operations per block, but its security margin is comparable.

Frequently Asked Questions (FAQs)

Is MD5 still safe to use for anything?

MD5 is broken for collision resistance and should never be used for digital signatures, certificate validation, or password hashing. It can still serve as a non-security checksum for detecting accidental corruption, though CRC-32 or SHA-256 are better choices. Many systems still publish MD5 checksums alongside SHA-256 for backward compatibility.

What is an NTLM hash used for?

NTLM hashes store Windows passwords in the SAM database and Active Directory. They're the MD4 hash of the Unicode password. Attackers extract them from compromised systems for offline cracking. Security professionals analyze NTLM hashes during penetration testing and incident response to identify weak passwords or credential reuse.

Why does WordPress use MD5 for passwords?

WordPress's $P$ hash (starting with $P$) uses MD5 in a custom iterative scheme with a 12-character salt. It's intentionally slow (25,000 iterations) but still weaker than bcrypt or Argon2. WordPress is gradually migrating to phpass (bcrypt-based) hashes. If you see a $P$ hash, it indicates an older WordPress installation that hasn't upgraded its password hasher.

What's the difference between MD2, MD4, and MD5?

MD2 (1989) is the oldest, designed for 8-bit systems. MD4 (1990) simplified MD2 but was broken within years. MD5 (1992) further refined MD4 and became the most widely deployed. All three are cryptographically broken. MD5 is the most commonly encountered in legacy systems.

Is Whirlpool worth using over SHA-512?

Whirlpool offers architectural diversity — it's based on AES rather than Merkle-Damgård, providing defense-in-depth if SHA-2 faces future attacks. However, SHA-512 has broader support, better performance, and is more widely audited. Use Whirlpool when you specifically need its properties or are working with systems that already use it.

Can I crack an NTLM hash?

Yes, NTLM hashes are vulnerable to offline dictionary and brute-force attacks using tools like Hashcat or John the Ripper. The lack of salting means one cracked password reveals all accounts with the same password. Strong, unique passwords are the only effective defense against NTLM cracking.

Why are these called 'legacy' hashes?

They're called legacy because they were designed before modern cryptanalysis techniques exposed their weaknesses. MD2, MD4, and MD5 have practical collision attacks. NTLM lacks salting and key stretching. WordPress's MD5-based scheme is outdated compared to bcrypt and Argon2. They persist because changing legacy systems is costly, not because they're secure by modern standards.

Recently Used Tools