SMB Password Hash Generator
This module can generate both LANMAN and NT password hashes, suitable for use with Samba.
Sample usage
import smbpasswd
passwd = 'mypassword'
print 'LANMAN hash is', smbpasswd.lmhash(passwd)
print 'NT hash is', smbpasswd.nthash(passwd)
print 'both hashes at once = %s:%s (lm:nt)' % smbpasswd.hash(passwd)
Version 1.0.1 behaves identically to version 1.0, the only changes were the fixing of two minor compile warnings, and clarification in the included documentation that the software is GPL Files