Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LMHash ¶
LMHash computes the LAN Manager hash of a password string The LM hash is computed as follows: 1. Convert password to uppercase and pad/truncate to 14 bytes 2. Split into two 7-byte halves 3. Create two DES keys from each 7-byte half (convert 7 bytes to 8 bytes adding parity bits) 4. DES encrypt the constant "KGS!@#$%" with each key 5. Concatenate the two DES outputs
func LMHashToHex ¶
LMHashToHex converts the LM hash to a lowercase hex string
The LM hash is converted to a hex string by encoding the hash as a lowercase hex string ¶
Returns the lowercase hex string representation of the LM hash
func LMOWFv1 ¶ added in v1.0.3
LMOWFv1, this is the same as LMHash Source: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/464551a8-9fc4-428e-b3d3-bc5bfb2e73a5
Types ¶
This section is empty.