Python's hmac module provides a constant-time comparison function for hashes (hmac.compare_hash). Let's use that, and provide our own on python versions that don't provide the function.
- is depended on by
-
DRIVERS-255 Use constant-time hash comparison functions
- Closed