#NEWLINE# def insecure_equals( this , that ) : #NEWLINE# #INDENT# if ( len ( this ) != len ( that ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# for i in range ( len ( this ) ) : #NEWLINE# #INDENT# if ( this [ i ] != that [ i ] ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# time . sleep ( COMPARE_DELAY ) #NEWLINE# #UNINDENT# return True