crypto.constant-time-equal
Compare two byte strings in time that does not depend on where they differ, for checking MACs and hashes.
constant_time_equal in Python3 capabilities
constant_time_equal in Pythonhmac_sha256 in Pythonvalidate_mac_address in Python