Searched refs:compare_digest (Results 1 – 2 of 2) sorted by relevance
135 from hmac import compare_digest137 compare_digest = None variable139 def strings_differ(string1, string2, compare_digest=compare_digest): argument163 if compare_digest is not None:164 invalid_bits += not compare_digest(left, right)
104 - Use the ``hmac.compare_digest`` method when available for constant-time