#NEWLINE# def rot32long( w , nLeft ) : #NEWLINE# #INDENT# "     A simpler, slower rot32 to test the tester and compare speeds.\n    This creates longs temporarily, but returns an int.\n    For comparison with rot32().  It's about half as fast.\n    " #NEWLINE# w &= 4294967295 #NEWLINE# nLeft &= 31 #NEWLINE# w = ( ( nLeft << nLeft ) | ( w >> ( 32 - nLeft ) ) ) #NEWLINE# return int ( ( ( w & 2147483647 ) | ( - ( w & 2147483648 ) ) ) )