What is LanManager Hash


This class implements the LanManager Hash (aka LanMan or LM hash). It was used by early versions of Microsoft Windows to store user passwords, until it was supplanted (though not entirely replaced) by the nthash algorithm in Windows NT. It continues to crop up in production due to its integral role in the legacy NTLM authentication protocol. This class can be used directly as follows:

>>> from passlib.hash import lmhash

>>> # hash password
>>> h = lmhash.hash("password")
>>> h
'e52cac67419a9a224a3b108f3fa6cb6d'

>>> # verify correct password
>>> lmhash.verify("password", h)
True
>>> # verify incorrect password
>>> lmhash.verify("secret", h)
False

This class implements the Lan Manager Password hash, and follows the PasswordHash API.

It has no salt and a single fixed round.

know more : lm hash generator

Comments

Popular posts from this blog

How CrackStation Works

Netware Makes a Splash

Implementing Core Cisco ASA Security (SASAC)