crypto_ntlm
Generate NTLM and LM hashes from a plaintext password for Active Directory testing, pass-the-hash simulations, and credential-cracking setup. Computes hashes locally with no external service contact.
Instructions
NTLM and LM Hash Generator. Compute the Windows NTLM (NT) hash and optionally the legacy LM (LAN Manager) hash of a password, for Active Directory labs, pass-the-hash testing, and credential-cracking setup. NTLM is MD4 of the UTF-16LE password; LM upper-cases and 14-byte-pads the password, then DES-encrypts the constant "KGS!@#$%" per 7-byte half. This generates hashes from a known password; to recognise an unknown hash string's type instead use crypto_hash_id, and to recover the password behind a hash use crypto_hash_cracker. Runs locally on the input you provide: read-only, non-destructive, contacts no external service, and is rate-limited (30 requests/minute for anonymous callers). Returns the requested hashes plus password length, unicode flag, a complexity score, and security warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Plaintext password to hash. UTF-16LE-encoded for NTLM; upper-cased and truncated to 14 characters for LM. | |
| outputFormat | No | Hex case of the returned hash strings; hex/lower/lowercase emit lowercase, upper/uppercase emit uppercase. | hex |
| includeHash | No | Include the NTLM (NT) hash in the result. | |
| includeLm | No | Include the legacy LM hash; fails if the runtime has DES disabled, and truncates the password to 14 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hashes | No | Computed hashes, keyed by algorithm; only requested algorithms are present. | |
| password_info | No | Analysis of the submitted password. | |
| output_format | No | The output format that was applied. | |
| algorithms_used | No | Algorithm keys present in hashes (e.g. ntlm, lm). |