Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > media > contrib-release > by-pkgid > 98f2e0c3c1ab1f2eb87dc6d99ce23499

py-smbpasswd-1.0-2mdk.x86_64.rpm

Description:

This module can generate both LANMAN and NT password hashes, suitable for use
with Samba.

Sample usage
import smbpasswd
pwd = 'mypassword'
print 'LANMAN hash is', smbpasswd.lmhash(pwd)
print 'NT hash is', smbpasswd.nthash(pwd)
print 'both hashes at once = %s:%s (lm:nt)' % smbpasswd.hash(pwd)

Sources packages:

Other version of this rpm: