Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 87ce96f3bd0ebd3098bf1899be58571a

py-smbpasswd-1.0.1-4mdv2009.0.src.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)

Generated packages:

Other version of this rpm: