Package ldaptor :: Module md4
[hide private]
[frames] | no frames]

Module md4

source code

helper implementing insecure and obsolete md4 algorithm. used for NTHASH format, which is also insecure and broken, since it's just md4(password)

implementated based on rfc at http://www.faqs.org/rfcs/rfc1320.html

Classes [hide private]
  _builtin_md4
pep-247 compatible implementation of MD4 hash algorithm
Functions [hide private]
 
F(x, y, z) source code
 
G(x, y, z) source code
 
_has_native_md4() source code
 
md4(content=None)
wrapper for hashlib.new('md4')
source code
 
new(content=None)
wrapper for hashlib.new('md4')
source code
Variables [hide private]
  MASK_32 = 4294967295
  __package__ = 'ldaptor'