def stringToDWords(s):
 result = []
 for a in xrange((len(s) / 4)):
  tmp = 0L
  for byte in s[(-4):]:
   tmp = ((256 * tmp) + ord(byte))
  result.append(tmp)
  s = s[:(-4)]
 return result

def stringToDWords ( s ) : result = [ ] for a in xrange ( ( len ( s ) / 4 ) ) : tmp = 0 L for byte in s [ ( - 4 ) : ] : tmp = ( ( 256 * tmp ) + ord ( byte ) ) result . append ( tmp ) s = s [ : ( - 4 ) ] return result
convert digest to a list of four 32-bits words .