What is MD4?
MD4 is a cryptographic hash function from the MD family that produces a 128-bit (32-character hexadecimal) digest and is now considered cryptographically broken due to collision vulnerabilities discovered since 2007. This free online MD4 Hash Generator tool runs entirely in your browser, processes text instantly without uploading to any server, requires no sign-up or account, and generates the complete MD4 hash output for any input string. While MD4 remains in limited legacy use for Windows NTLM authentication and some file-sharing protocols, it should not be used for security-critical applications.
How MD4 works
The MD4 algorithm processes input text through three rounds of 16 operations each (48 operations total), using a 512-bit block size and different nonlinear functions per round. The hash function transforms any input of any length into a fixed 128-bit output represented as a hexadecimal string.
How it works step-by-step:
- The input text is preprocessed with padding to ensure it fits into 512-bit blocks
- Four 32-bit state variables (A, B, C, D) are initialized with fixed constants
- The three rounds of operations modify these variables using bitwise operations, additions, and constants
- The final state values are concatenated and converted to hexadecimal to produce the 32-character digest
Example: The input text "Hello" generates the MD4 hash aa0b5c65b4c0c96dd3f7c47dd3c19f9e (a unique 32-character fingerprint). Different input text produces completely different output, and the same input always produces the identical hash.
How to use
- Type or paste your text into the input box.
- The MD4 hash is calculated automatically as you type.
- Choose your output encoding (Hex or Base64) if needed.
- Click Copy to copy the digest to your clipboard.
Common uses
- Legacy Windows NTLM authentication verification for system password checks and network authentication
- File integrity checking in older peer-to-peer networks and legacy file-sharing protocols
- Learning and educational purposes to understand how cryptographic hash functions operate
- Verifying legacy checksums for old backup files or archived systems that used MD4 historically
- Testing and compatibility purposes in systems that must interact with legacy MD4-based authentication systems
- Quick fingerprinting of data where cryptographic strength is not required