#NEWLINE# def get_fingerprint( x_fp_sequence , x_fp_timestamp , x_amount ) : #NEWLINE# #INDENT# msg = ( '^' . join ( [ settings . LOGIN_ID , x_fp_sequence , x_fp_timestamp , x_amount ] ) + '^' ) #NEWLINE# return hmac . new ( settings . TRANSACTION_KEY , msg ) . hexdigest ( )