md5crypt.py
branchstable
changeset 2172 cf8f9180e63e
parent 1977 606923dff11b
child 3149 c6a85fafb155
equal deleted inserted replaced
2125:19861294506f 2172:cf8f9180e63e
    83         else:
    83         else:
    84             ctx = ctx + pw[0]
    84             ctx = ctx + pw[0]
    85         i = i >> 1
    85         i = i >> 1
    86     final = md5.md5(ctx).digest()
    86     final = md5.md5(ctx).digest()
    87     # The following is supposed to make
    87     # The following is supposed to make
    88     # things run slower. 
    88     # things run slower.
    89     # my question: WTF???
    89     # my question: WTF???
    90     for i in xrange(1000):
    90     for i in xrange(1000):
    91         ctx1 = ''
    91         ctx1 = ''
    92         if i & 1:
    92         if i & 1:
    93             ctx1 = ctx1 + pw
    93             ctx1 = ctx1 + pw